Home
last modified time | relevance | path

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

12345678910>>...41

/linux/drivers/gpu/drm/i915/selftests/
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 …]
/linux/tools/testing/selftests/powerpc/ptrace/
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 …]
/linux/drivers/gpu/drm/xe/
A Dxe_sync.c140 sync->fence = drm_syncobj_fence_get(sync->syncobj); in xe_sync_entry_parse()
162 if (!sync->chain_fence) in xe_sync_entry_parse()
165 sync->fence = drm_syncobj_fence_get(sync->syncobj); in xe_sync_entry_parse()
210 if (sync->fence) in xe_sync_entry_add_deps()
222 if (sync->chain_fence) { in xe_sync_entry_signal()
223 drm_syncobj_add_point(sync->syncobj, sync->chain_fence, in xe_sync_entry_signal()
251 if (sync->syncobj) in xe_sync_entry_cleanup()
255 if (sync->ufence) in xe_sync_entry_cleanup()
286 if (sync[i].fence) { in xe_sync_in_fence_get()
303 if (sync[i].fence) { in xe_sync_in_fence_get()
[all …]
A Dxe_sync.h22 struct xe_sync_entry *sync,
25 int xe_sync_entry_add_deps(struct xe_sync_entry *sync,
27 void xe_sync_entry_signal(struct xe_sync_entry *sync,
29 void xe_sync_entry_cleanup(struct xe_sync_entry *sync);
31 xe_sync_in_fence_get(struct xe_sync_entry *sync, int num_sync,
34 static inline bool xe_sync_is_ufence(struct xe_sync_entry *sync) in xe_sync_is_ufence() argument
36 return !!sync->ufence; in xe_sync_is_ufence()
40 struct xe_user_fence *xe_sync_ufence_get(struct xe_sync_entry *sync);
/linux/io_uring/
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 …]
/linux/arch/powerpc/platforms/powermac/
A Dcache.S45 sync
52 sync
58 sync
60 sync
81 sync
88 sync
91 sync
96 sync
123 sync
131 sync
[all …]
/linux/arch/powerpc/kernel/
A Dl2cr_6xx.S100 sync
107 sync
118 sync
120 sync
156 sync
158 sync
182 sync
196 sync
198 sync
209 sync
[all …]
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 …]
A Dmisc_64.S47 sync
53 sync
58 sync
62 sync
68 sync
73 sync
86 sync
88 sync
94 sync
100 sync
[all …]
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 …]
/linux/drivers/clk/tegra/
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 …]
/linux/arch/powerpc/platforms/52xx/
A Dmpc52xx_sleep.S25 sync
30 sync
73 sync
77 sync
82 sync
87 sync
94 sync
109 sync
115 sync
134 sync
[all …]
A Dlite5200_sleep.S116 sync
120 sync
125 sync
138 sync
149 sync
159 sync
162 sync
164 sync
166 sync
175 sync
[all …]
/linux/drivers/gpu/drm/radeon/
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 …]
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()
/linux/tools/testing/selftests/kvm/
A Dmemslot_perf_test.c291 struct sync_area *sync; in prepare_vm() local
352 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in prepare_vm()
392 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local
405 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in _guest_should_exit() local
431 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_perform_sync() local
449 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_move() local
478 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_map() local
510 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_unmap() local
545 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_code_test_memslot_rw() local
819 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in test_execute()
[all …]
/linux/arch/parisc/kernel/
A Dperf_asm.S163 sync
199 sync
211 sync
223 sync
307 sync
331 sync
343 sync
391 sync
403 sync
415 sync
[all …]
/linux/drivers/gpu/drm/amd/amdgpu/
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()
284 r = amdgpu_sync_fence(sync, f); in amdgpu_sync_kfd()
317 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_peek_fence()
357 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_get_fence()
416 hash_for_each_safe(sync->fences, i, tmp, e, node) { in amdgpu_sync_push_to_job()
457 void amdgpu_sync_free(struct amdgpu_sync *sync) in amdgpu_sync_free() argument
[all …]
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 int amdgpu_sync_kfd(struct amdgpu_sync *sync, struct dma_resv *resv);
55 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync,
57 struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync);
59 int amdgpu_sync_push_to_job(struct amdgpu_sync *sync, struct amdgpu_job *job);
60 int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr);
61 void amdgpu_sync_free(struct amdgpu_sync *sync);
/linux/arch/powerpc/platforms/44x/
A Dmisc_44x.S18 sync
20 sync
23 sync
25 sync
32 sync
34 sync
37 sync
39 sync
/linux/arch/mips/alchemy/common/
A Dsleeper.S74 sync
76 sync
103 sync
105 sync
107 sync
129 sync
131 sync
146 sync
175 sync
181 sync
[all …]
/linux/drivers/gpu/drm/sti/
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 …]
/linux/net/caif/
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 …]
/linux/drivers/gpu/drm/nouveau/
A Dnouveau_sched.c38 job->sync = args->sync; in nouveau_job_init()
45 if (job->sync) in nouveau_job_init()
58 if (job->sync) { in nouveau_job_init()
141 struct drm_nouveau_sync *sync, in sync_find_fence() argument
153 point = sync->timeline_value; in sync_find_fence()
156 sync->handle, point, in sync_find_fence()
173 ret = sync_find_fence(job, sync, &in_fence); in nouveau_job_add_deps()
177 sync->handle); in nouveau_job_add_deps()
227 sync->handle); in nouveau_job_fence_attach_prepare()
262 sync->timeline_value); in nouveau_job_fence_attach()
[all …]
/linux/Documentation/devicetree/bindings/sound/
A Dqcom,q6dsp-lpass-ports.yaml52 qcom,tdm-sync-mode:
57 0 = Short sync bit mode
58 1 = Long sync mode
59 2 = Short sync slot mode
61 qcom,tdm-sync-src:
77 qcom,tdm-invert-sync:
81 TDM Invert the sync
99 width in case of sample bit width is 24TDM Invert the sync.
117 - qcom,tdm-sync-mode
118 - qcom,tdm-sync-src
[all …]

Completed in 46 milliseconds

12345678910>>...41