Home
last modified time | relevance | path

Searched refs:sync (Results 1 – 25 of 1338) sorted by relevance

12345678910>>...54

/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c101 static int check_syncmap_free(struct i915_syncmap **sync) in check_syncmap_free() argument
103 i915_syncmap_free(sync); in check_syncmap_free()
104 if (*sync) { in check_syncmap_free()
112 static int dump_syncmap(struct i915_syncmap *sync, int err) in dump_syncmap() argument
117 return check_syncmap_free(&sync); in dump_syncmap()
123 if (i915_syncmap_print_to_buf(sync, buf, PAGE_SIZE)) in dump_syncmap()
129 i915_syncmap_free(&sync); in dump_syncmap()
135 struct i915_syncmap *sync = (void *)~0ul; in igt_syncmap_init() local
142 i915_syncmap_init(&sync); in igt_syncmap_init()
143 return check_syncmap_free(&sync); in igt_syncmap_init()
[all …]
/openbmc/linux/tools/testing/selftests/powerpc/ptrace/
H A Dchild.h29 #define CHILD_FAIL_IF(x, sync) \ argument
34 (sync)->child_gave_up = true; \
35 prod_parent(sync); \
40 #define PARENT_FAIL_IF(x, sync) \ argument
45 (sync)->parent_gave_up = true; \
46 prod_child(sync); \
51 #define PARENT_SKIP_IF_UNSUPPORTED(x, sync, msg) \ argument
54 (sync)->parent_gave_up = true; \
55 prod_child(sync); \
60 int init_child_sync(struct child_sync *sync) in init_child_sync() argument
[all …]
/openbmc/linux/arch/powerpc/platforms/powermac/
H A Dcache.S45 sync
52 sync
58 sync
60 sync
81 sync
88 sync
91 sync
96 sync
106 3: sync
110 3: sync
[all …]
/openbmc/linux/io_uring/
H A Dsync.c27 struct io_sync *sync = io_kiocb_to_cmd(req, struct io_sync); in io_sfr_prep() local
32 sync->off = READ_ONCE(sqe->off); in io_sfr_prep()
33 sync->len = READ_ONCE(sqe->len); in io_sfr_prep()
34 sync->flags = READ_ONCE(sqe->sync_range_flags); in io_sfr_prep()
42 struct io_sync *sync = io_kiocb_to_cmd(req, struct io_sync); in io_sync_file_range() local
48 ret = sync_file_range(req->file, sync->off, sync->len, sync->flags); in io_sync_file_range()
55 struct io_sync *sync = io_kiocb_to_cmd(req, struct io_sync); in io_fsync_prep() local
60 sync->flags = READ_ONCE(sqe->fsync_flags); in io_fsync_prep()
61 if (unlikely(sync->flags & ~IORING_FSYNC_DATASYNC)) in io_fsync_prep()
64 sync->off = READ_ONCE(sqe->off); in io_fsync_prep()
[all …]
/openbmc/linux/arch/powerpc/kernel/
H A Dl2cr_6xx.S100 sync
107 sync
118 sync
120 sync
156 sync
158 sync
182 sync
196 sync
198 sync
202 21: sync
[all …]
H A Dcpu_setup_ppc970.S28 sync
31 sync
34 sync
37 sync
50 sync
104 sync
111 sync
155 sync
158 sync
162 sync
[all …]
H A Dmisc_64.S47 sync
53 sync
58 sync
62 sync
68 sync
73 sync
86 sync
88 sync
94 sync
100 sync
[all …]
H A Dcpu_setup_6xx.S102 1: sync
104 sync
106 sync
118 sync
120 sync /* on 604e/604r */
122 sync
132 sync
173 sync
175 sync
202 sync
[all …]
/openbmc/linux/drivers/clk/tegra/
H A Dclk-audio-sync.c15 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw); in clk_sync_source_recalc_rate() local
17 return sync->rate; in clk_sync_source_recalc_rate()
23 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw); in clk_sync_source_round_rate() local
25 if (rate > sync->max_rate) in clk_sync_source_round_rate()
34 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw); in clk_sync_source_set_rate() local
36 sync->rate = rate; in clk_sync_source_set_rate()
49 struct tegra_clk_sync_source *sync; in tegra_clk_register_sync_source() local
53 sync = kzalloc(sizeof(*sync), GFP_KERNEL); in tegra_clk_register_sync_source()
54 if (!sync) { in tegra_clk_register_sync_source()
59 sync->max_rate = max_rate; in tegra_clk_register_sync_source()
[all …]
/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_sleep.S16 sync; isync;
25 sync
30 sync
40 sync; isync;
42 sync; isync;
57 sync; isync;
59 sync; isync;
73 sync
77 sync
82 sync
[all …]
H A Dlite5200_sleep.S32 sync; \
99 sync; isync;
101 sync; isync;
116 sync
120 sync
125 sync
138 sync
149 sync
159 sync
162 sync
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_sync.c41 void radeon_sync_create(struct radeon_sync *sync) in radeon_sync_create() argument
46 sync->semaphores[i] = NULL; in radeon_sync_create()
49 sync->sync_to[i] = NULL; in radeon_sync_create()
51 sync->last_vm_update = NULL; in radeon_sync_create()
62 void radeon_sync_fence(struct radeon_sync *sync, in radeon_sync_fence() argument
70 other = sync->sync_to[fence->ring]; in radeon_sync_fence()
71 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); in radeon_sync_fence()
74 other = sync->last_vm_update; in radeon_sync_fence()
75 sync->last_vm_update = radeon_fence_later(fence, other); in radeon_sync_fence()
90 struct radeon_sync *sync, in radeon_sync_resv() argument
[all …]
/openbmc/linux/tools/testing/selftests/kvm/
H A Dmemslot_perf_test.c288 struct sync_area *sync; in prepare_vm() local
349 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in prepare_vm()
350 sync->guest_page_size = data->vm->page_size; in prepare_vm()
351 atomic_init(&sync->start_flag, false); in prepare_vm()
352 atomic_init(&sync->exit_flag, false); in prepare_vm()
353 atomic_init(&sync->sync_flag, false); in prepare_vm()
382 static void let_guest_run(struct sync_area *sync) in let_guest_run() argument
384 atomic_store_explicit(&sync->start_flag, true, memory_order_release); in let_guest_run()
389 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local
391 while (!atomic_load_explicit(&sync->start_flag, memory_order_acquire)) in guest_spin_until_start()
[all …]
/openbmc/linux/arch/parisc/kernel/
H A Dperf_asm.S46 sync ; follow ERS
163 sync
199 sync
211 sync
223 sync
307 sync
331 sync
343 sync
391 sync
403 sync
[all …]
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_sync.c52 void amdgpu_sync_create(struct amdgpu_sync *sync) in amdgpu_sync_create() argument
54 hash_init(sync->fences); in amdgpu_sync_create()
133 static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_add_later() argument
137 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later()
155 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_fence() argument
162 if (amdgpu_sync_add_later(sync, f)) in amdgpu_sync_fence()
169 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence()
235 int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync, in amdgpu_sync_resv() argument
252 r = amdgpu_sync_fence(sync, f); in amdgpu_sync_resv()
280 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync, in amdgpu_sync_peek_fence() argument
[all …]
H A Damdgpu_sync.h49 void amdgpu_sync_create(struct amdgpu_sync *sync);
50 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f);
51 int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync,
54 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync,
56 struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync);
58 int amdgpu_sync_push_to_job(struct amdgpu_sync *sync, struct amdgpu_job *job);
59 int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr);
60 void amdgpu_sync_free(struct amdgpu_sync *sync);
/openbmc/linux/arch/powerpc/platforms/44x/
H A Dmisc_44x.S18 sync
20 sync
23 sync
25 sync
32 sync
34 sync
37 sync
39 sync
/openbmc/u-boot/arch/powerpc/cpu/mpc86xx/
H A Drelease.S55 sync
62 sync
69 sync
85 sync
87 sync
96 sync
108 sync
110 sync
115 sync
127 sync
[all …]
H A Dcache.S86 sync /* wait for dcbst's to get to ram */
91 sync /* additional sync needed on g4 */
110 sync
114 sync /* wait for dcbst's to get to ram */
132 sync
137 sync
154 sync
191 sync
219 sync
235 sync
[all …]
/openbmc/u-boot/common/
H A Dmemsize.c18 # define sync() /* nothing */ macro
38 sync(); in get_ram_size()
40 sync(); in get_ram_size()
45 sync(); in get_ram_size()
47 sync(); in get_ram_size()
50 sync(); in get_ram_size()
53 sync(); in get_ram_size()
57 sync(); in get_ram_size()
/openbmc/linux/drivers/gpu/drm/sti/
H A Dsti_vtg.c185 static void vtg_set_hsync_vsync_pos(struct sti_vtg_sync_params *sync, in vtg_set_hsync_vsync_pos() argument
212 sync->hsync = (stop << 16) | start; in vtg_set_hsync_vsync_pos()
230 sync->vsync_line_top = (fallsync_top << 16) | risesync_top; in vtg_set_hsync_vsync_pos()
231 sync->vsync_off_top = (fallsync_offs_top << 16) | risesync_offs_top; in vtg_set_hsync_vsync_pos()
234 sync->vsync_line_bot = sync->vsync_line_top; in vtg_set_hsync_vsync_pos()
235 sync->vsync_off_bot = sync->vsync_off_top; in vtg_set_hsync_vsync_pos()
240 struct sti_vtg_sync_params *sync, in vtg_set_mode() argument
255 vtg_set_hsync_vsync_pos(&sync[VTG_SYNC_ID_HDMI - 1], HDMI_DELAY, mode); in vtg_set_mode()
258 vtg_set_hsync_vsync_pos(&sync[VTG_SYNC_ID_HDDCS - 1], 0, mode); in vtg_set_mode()
261 vtg_set_hsync_vsync_pos(&sync[VTG_SYNC_ID_HDF - 1], AWG_DELAY_HD, mode); in vtg_set_mode()
[all …]
/openbmc/linux/arch/mips/alchemy/common/
H A Dsleeper.S74 sync
76 sync
103 sync
105 sync
107 sync
129 sync
131 sync
146 sync
175 sync
181 sync
[all …]
/openbmc/linux/net/caif/
H A Dcfserl.c25 spinlock_t sync; member
49 spin_lock_init(&this->sync); in cfserl_create()
67 spin_lock(&layr->sync); in cfserl_receive()
74 spin_unlock(&layr->sync); in cfserl_receive()
94 spin_unlock(&layr->sync); in cfserl_receive()
112 spin_unlock(&layr->sync); in cfserl_receive()
131 spin_unlock(&layr->sync); in cfserl_receive()
142 spin_unlock(&layr->sync); in cfserl_receive()
156 spin_unlock(&layr->sync); in cfserl_receive()
158 spin_lock(&layr->sync); in cfserl_receive()
[all …]
/openbmc/linux/drivers/gpu/drm/nouveau/
H A Dnouveau_sched.c40 job->sync = args->sync; in nouveau_job_init()
47 if (job->sync) in nouveau_job_init()
60 if (job->sync) { in nouveau_job_init()
129 struct drm_nouveau_sync *sync, in sync_find_fence() argument
132 u32 stype = sync->flags & DRM_NOUVEAU_SYNC_TYPE_MASK; in sync_find_fence()
141 point = sync->timeline_value; in sync_find_fence()
144 sync->handle, point, in sync_find_fence()
159 struct drm_nouveau_sync *sync = &job->in_sync.data[i]; in nouveau_job_add_deps() local
161 ret = sync_find_fence(job, sync, &in_fence); in nouveau_job_add_deps()
165 sync->handle); in nouveau_job_add_deps()
[all …]
/openbmc/qemu/tests/qemu-iotests/
H A D04168 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
81 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
91 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
104 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
127 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
142 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
158 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
173 self.vm.cmd(self.qmp_cmd, device='drive0', sync='full',
205 result = self.vm.qmp(self.qmp_cmd, device='ide1-cd0', sync='full',
210 result = self.vm.qmp(self.qmp_cmd, device='drive0', sync='full',
[all …]

12345678910>>...54