Home
last modified time | relevance | path

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

12345678910>>...40

/linux-6.6.21/drivers/gpu/drm/i915/selftests/
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 …]
/linux-6.6.21/tools/testing/selftests/powerpc/ptrace/
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 …]
/linux-6.6.21/io_uring/
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 …]
/linux-6.6.21/arch/powerpc/platforms/powermac/
Dcache.S45 sync
52 sync
58 sync
60 sync
81 sync
88 sync
91 sync
96 sync
106 3: sync
110 3: sync
[all …]
/linux-6.6.21/arch/powerpc/kernel/
Dl2cr_6xx.S100 sync
107 sync
118 sync
120 sync
156 sync
158 sync
182 sync
196 sync
198 sync
202 21: sync
[all …]
Dcpu_setup_ppc970.S28 sync
31 sync
34 sync
37 sync
50 sync
104 sync
111 sync
155 sync
158 sync
162 sync
[all …]
Dmisc_64.S47 sync
53 sync
58 sync
62 sync
68 sync
73 sync
86 sync
88 sync
94 sync
100 sync
[all …]
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 …]
Dmisc_32.S121 sync
124 sync
149 sync
152 sync
168 sync
170 sync
187 sync
189 sync
192 sync
194 sync
[all …]
/linux-6.6.21/drivers/clk/tegra/
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 …]
/linux-6.6.21/arch/powerpc/platforms/52xx/
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 …]
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 …]
/linux-6.6.21/drivers/gpu/drm/radeon/
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 …]
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-6.6.21/tools/testing/selftests/kvm/
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 …]
/linux-6.6.21/arch/parisc/kernel/
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 …]
/linux-6.6.21/drivers/gpu/drm/amd/amdgpu/
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 …]
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);
/linux-6.6.21/arch/powerpc/platforms/44x/
Dmisc_44x.S18 sync
20 sync
23 sync
25 sync
32 sync
34 sync
37 sync
39 sync
/linux-6.6.21/arch/mips/alchemy/common/
Dsleeper.S74 sync
76 sync
103 sync
105 sync
107 sync
129 sync
131 sync
146 sync
175 sync
181 sync
[all …]
/linux-6.6.21/drivers/gpu/drm/sti/
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 …]
/linux-6.6.21/net/caif/
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-6.6.21/drivers/gpu/drm/nouveau/
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 …]
/linux-6.6.21/Documentation/devicetree/bindings/sound/
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 …]
/linux-6.6.21/include/trace/events/
Dcompaction.h103 unsigned long zone_end, bool sync),
105 TP_ARGS(cc, zone_start, zone_end, sync),
112 __field(bool, sync)
120 __entry->sync = sync;
128 __entry->sync ? "sync" : "async")
133 unsigned long zone_end, bool sync,
136 TP_ARGS(cc, zone_start, zone_end, sync, status),
143 __field(bool, sync)
152 __entry->sync = sync;
161 __entry->sync ? "sync" : "async",

12345678910>>...40