Home
last modified time | relevance | path

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

12345678910>>...59

/openbmc/linux/drivers/gpu/drm/i915/selftests/
H A Di915_syncmap.c104 if (*sync) { in check_syncmap_free()
173 context, (*sync)->height, (*sync)->prefix); in check_one()
185 (*sync)->bitmap, hweight32((*sync)->bitmap)); in check_one()
189 err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno); in check_one()
248 context, (*sync)->height, (*sync)->prefix); in check_leaf()
258 err = check_seqno((*sync), ilog2((*sync)->bitmap), seqno); in check_leaf()
427 context, sync->height, sync->prefix); in igt_syncmap_neighbours()
435 sync->bitmap, hweight32(sync->bitmap), in igt_syncmap_neighbours()
478 sync->height, sync->prefix); in igt_syncmap_compact()
484 sync = sync->parent; in igt_syncmap_compact()
[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); \
46 prod_child(sync); \
55 prod_child(sync); \
81 sem_destroy(&sync->sem_parent); in destroy_child_sync()
82 sem_destroy(&sync->sem_child); in destroy_child_sync()
96 return sync->child_gave_up; in wait_child()
104 ret = sem_post(&sync->sem_child); in prod_child()
118 ret = sem_wait(&sync->sem_child); in wait_parent()
[all …]
/openbmc/linux/io_uring/
H A Dsync.c32 sync->off = READ_ONCE(sqe->off); in io_sfr_prep()
33 sync->len = READ_ONCE(sqe->len); in io_sfr_prep()
48 ret = sync_file_range(req->file, sync->off, sync->len, sync->flags); in io_sync_file_range()
64 sync->off = READ_ONCE(sqe->off); in io_fsync_prep()
65 sync->len = READ_ONCE(sqe->len); in io_fsync_prep()
73 loff_t end = sync->off + sync->len; in io_fsync()
80 sync->flags & IORING_FSYNC_DATASYNC); in io_fsync()
92 sync->off = READ_ONCE(sqe->off); in io_fallocate_prep()
93 sync->len = READ_ONCE(sqe->addr); in io_fallocate_prep()
94 sync->mode = READ_ONCE(sqe->len); in io_fallocate_prep()
[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
123 sync
131 sync
[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
209 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
122 sync
132 sync
173 sync
175 sync
202 sync
286 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()
25 if (rate > sync->max_rate) in clk_sync_source_round_rate()
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()
68 sync->hw.init = &init; in tegra_clk_register_sync_source()
70 clk = clk_register(NULL, &sync->hw); in tegra_clk_register_sync_source()
[all …]
/openbmc/linux/arch/powerpc/platforms/52xx/
H A Dmpc52xx_sleep.S25 sync
30 sync
73 sync
77 sync
82 sync
87 sync
94 sync
109 sync
115 sync
134 sync
[all …]
H A Dlite5200_sleep.S116 sync
120 sync
125 sync
138 sync
149 sync
159 sync
162 sync
164 sync
166 sync
175 sync
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_sync.c46 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()
74 other = sync->last_vm_update; in radeon_sync_fence()
90 struct radeon_sync *sync, in radeon_sync_resv() argument
102 radeon_sync_fence(sync, fence); in radeon_sync_resv()
122 struct radeon_sync *sync, in radeon_sync_rings() argument
153 sync->semaphores[count++] = semaphore; in radeon_sync_rings()
[all …]
H A Drv770_dma.c48 struct radeon_sync sync; in rv770_copy_dma() local
55 radeon_sync_create(&sync); in rv770_copy_dma()
62 radeon_sync_free(rdev, &sync, NULL); in rv770_copy_dma()
66 radeon_sync_resv(rdev, &sync, resv, false); in rv770_copy_dma()
67 radeon_sync_rings(rdev, &sync, ring->idx); in rv770_copy_dma()
86 radeon_sync_free(rdev, &sync, NULL); in rv770_copy_dma()
91 radeon_sync_free(rdev, &sync, fence); in rv770_copy_dma()
/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()
389 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local
402 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in _guest_should_exit() local
428 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_perform_sync() local
446 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_move() local
475 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_map() local
507 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_unmap() local
542 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_rw() local
811 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in test_execute()
[all …]
/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/linux/arch/parisc/kernel/
H A Dperf_asm.S163 sync
199 sync
211 sync
223 sync
307 sync
331 sync
343 sync
391 sync
403 sync
415 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()
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()
252 r = amdgpu_sync_fence(sync, f); in amdgpu_sync_resv()
287 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_peek_fence()
327 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_get_fence()
386 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_push_to_job()
409 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_wait()
427 void amdgpu_sync_free(struct amdgpu_sync *sync) in amdgpu_sync_free() 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/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/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.S110 sync
132 sync
137 sync
154 sync
191 sync
219 sync
235 sync
239 sync
253 sync
261 sync
[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/drivers/gpu/drm/sti/
H A Dsti_vtg.c212 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()
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
258 vtg_set_hsync_vsync_pos(&sync[VTG_SYNC_ID_HDDCS - 1], 0, mode); in vtg_set_mode()
268 writel(sync[i].hsync, in vtg_set_mode()
270 writel(sync[i].vsync_line_top, in vtg_set_mode()
272 writel(sync[i].vsync_line_bot, in vtg_set_mode()
274 writel(sync[i].vsync_off_top, in vtg_set_mode()
[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
141 point = sync->timeline_value; in sync_find_fence()
144 sync->handle, point, in sync_find_fence()
161 ret = sync_find_fence(job, sync, &in_fence); in nouveau_job_add_deps()
165 sync->handle); in nouveau_job_add_deps()
215 sync->handle); in nouveau_job_fence_attach_prepare()
250 sync->timeline_value); in nouveau_job_fence_attach()
[all …]

12345678910>>...59