Home
last modified time | relevance | path

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

12345678910>>...39

/linux-5.19.10/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-5.19.10/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) \ 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-5.19.10/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-5.19.10/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.S46 sync
52 sync
57 sync
61 sync
67 sync
72 sync
85 sync
87 sync
93 sync
99 sync
[all …]
Dcpu_setup_6xx.S91 1: sync
93 sync
95 sync
106 sync
108 sync /* on 604e/604r */
110 sync
149 sync
151 sync
177 sync
258 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-5.19.10/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-5.19.10/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.S30 sync; \
97 sync; isync;
99 sync; isync;
114 sync
118 sync
123 sync
136 sync
147 sync
157 sync
160 sync
[all …]
/linux-5.19.10/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()
Devergreen_dma.c113 struct radeon_sync sync; in evergreen_copy_dma() local
120 radeon_sync_create(&sync); in evergreen_copy_dma()
127 radeon_sync_free(rdev, &sync, NULL); in evergreen_copy_dma()
131 radeon_sync_resv(rdev, &sync, resv, false); in evergreen_copy_dma()
132 radeon_sync_rings(rdev, &sync, ring->idx); in evergreen_copy_dma()
151 radeon_sync_free(rdev, &sync, NULL); in evergreen_copy_dma()
156 radeon_sync_free(rdev, &sync, fence); in evergreen_copy_dma()
/linux-5.19.10/tools/testing/selftests/kvm/
Dmemslot_perf_test.c255 struct sync_area *sync; in prepare_vm() local
323 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in prepare_vm()
324 atomic_init(&sync->start_flag, false); in prepare_vm()
325 atomic_init(&sync->exit_flag, false); in prepare_vm()
326 atomic_init(&sync->sync_flag, false); in prepare_vm()
355 static void let_guest_run(struct sync_area *sync) in let_guest_run() argument
357 atomic_store_explicit(&sync->start_flag, true, memory_order_release); in let_guest_run()
362 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local
364 while (!atomic_load_explicit(&sync->start_flag, memory_order_acquire)) in guest_spin_until_start()
368 static void make_guest_exit(struct sync_area *sync) in make_guest_exit() argument
[all …]
/linux-5.19.10/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-5.19.10/arch/powerpc/platforms/44x/
Dmisc_44x.S18 sync
20 sync
23 sync
25 sync
32 sync
34 sync
37 sync
39 sync
/linux-5.19.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sync.c51 void amdgpu_sync_create(struct amdgpu_sync *sync) in amdgpu_sync_create() argument
53 hash_init(sync->fences); in amdgpu_sync_create()
132 static bool amdgpu_sync_add_later(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_add_later() argument
136 hash_for_each_possible(sync->fences, e, node, f->context) { in amdgpu_sync_add_later()
154 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f) in amdgpu_sync_fence() argument
161 if (amdgpu_sync_add_later(sync, f)) in amdgpu_sync_fence()
168 hash_add(sync->fences, &e->node, f->context); in amdgpu_sync_fence()
233 int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync, in amdgpu_sync_resv() argument
250 r = amdgpu_sync_fence(sync, f); in amdgpu_sync_resv()
270 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync, in amdgpu_sync_peek_fence() argument
[all …]
Damdgpu_sync.h48 void amdgpu_sync_create(struct amdgpu_sync *sync);
49 int amdgpu_sync_fence(struct amdgpu_sync *sync, struct dma_fence *f);
50 int amdgpu_sync_resv(struct amdgpu_device *adev, struct amdgpu_sync *sync,
53 struct dma_fence *amdgpu_sync_peek_fence(struct amdgpu_sync *sync,
55 struct dma_fence *amdgpu_sync_get_fence(struct amdgpu_sync *sync);
57 int amdgpu_sync_wait(struct amdgpu_sync *sync, bool intr);
58 void amdgpu_sync_free(struct amdgpu_sync *sync);
/linux-5.19.10/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-5.19.10/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-5.19.10/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-5.19.10/include/trace/events/
Dcompaction.h92 unsigned long zone_end, bool sync),
94 TP_ARGS(cc, zone_start, zone_end, sync),
101 __field(bool, sync)
109 __entry->sync = sync;
117 __entry->sync ? "sync" : "async")
122 unsigned long zone_end, bool sync,
125 TP_ARGS(cc, zone_start, zone_end, sync, status),
132 __field(bool, sync)
141 __entry->sync = sync;
150 __entry->sync ? "sync" : "async",
/linux-5.19.10/Documentation/devicetree/bindings/sound/
Dqcom,q6dsp-lpass-ports.yaml56 qcom,tdm-sync-mode:
61 0 = Short sync bit mode
62 1 = Long sync mode
63 2 = Short sync slot mode
65 qcom,tdm-sync-src:
81 qcom,tdm-invert-sync:
85 TDM Invert the sync
103 width in case of sample bit width is 24TDM Invert the sync.
121 - qcom,tdm-sync-mode
122 - qcom,tdm-sync-src
[all …]
/linux-5.19.10/drivers/iio/imu/
Dadis16475.c84 const struct adis16475_sync *sync; member
669 .sync = adis16475_sync_mode,
684 .sync = adis16475_sync_mode,
699 .sync = adis16475_sync_mode,
714 .sync = adis16475_sync_mode,
729 .sync = adis16475_sync_mode,
744 .sync = adis16475_sync_mode,
759 .sync = adis16475_sync_mode,
774 .sync = adis16475_sync_mode,
789 .sync = adis16475_sync_mode,
[all …]

12345678910>>...39