Home
last modified time | relevance | path

Searched full:sync (Results 1 – 25 of 3689) sorted by relevance

12345678910>>...148

/linux-6.12.1/drivers/usb/serial/
Dipaq.c37 { USB_DEVICE(0x0104, 0x00BE) }, /* Socket USB Sync */
38 { USB_DEVICE(0x03F0, 0x1016) }, /* HP USB Sync */
39 { USB_DEVICE(0x03F0, 0x1116) }, /* HP USB Sync 1611 */
40 { USB_DEVICE(0x03F0, 0x1216) }, /* HP USB Sync 1612 */
41 { USB_DEVICE(0x03F0, 0x2016) }, /* HP USB Sync 1620 */
42 { USB_DEVICE(0x03F0, 0x2116) }, /* HP USB Sync 1621 */
43 { USB_DEVICE(0x03F0, 0x2216) }, /* HP USB Sync 1622 */
44 { USB_DEVICE(0x03F0, 0x3016) }, /* HP USB Sync 1630 */
45 { USB_DEVICE(0x03F0, 0x3116) }, /* HP USB Sync 1631 */
46 { USB_DEVICE(0x03F0, 0x3216) }, /* HP USB Sync 1632 */
[all …]
/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_sync.c46 * amdgpu_sync_create - zero init sync object
48 * @sync: sync object to initialize
50 * Just clear the sync object for now.
52 void amdgpu_sync_create(struct amdgpu_sync *sync) in amdgpu_sync_create() argument
54 hash_init(sync->fences); in amdgpu_sync_create()
127 * @sync: sync object to add the fence to
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()
148 * amdgpu_sync_fence - remember to sync to this fence
150 * @sync: sync object to add fence to
[all …]
Damdgpu_sync.h43 * Container for fences used to sync command submissions.
49 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-6.12.1/drivers/gpu/drm/xe/
Dxe_sync.c108 struct xe_sync_entry *sync, in xe_sync_entry_parse() argument
135 sync->syncobj = drm_syncobj_find(xef->drm, sync_in.handle); in xe_sync_entry_parse()
136 if (XE_IOCTL_DBG(xe, !sync->syncobj)) in xe_sync_entry_parse()
140 sync->fence = drm_syncobj_fence_get(sync->syncobj); in xe_sync_entry_parse()
141 if (XE_IOCTL_DBG(xe, !sync->fence)) in xe_sync_entry_parse()
156 sync->syncobj = drm_syncobj_find(xef->drm, sync_in.handle); in xe_sync_entry_parse()
157 if (XE_IOCTL_DBG(xe, !sync->syncobj)) in xe_sync_entry_parse()
161 sync->chain_fence = dma_fence_chain_alloc(); 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()
[all …]
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-6.12.1/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()
105 pr_err("sync not cleared after free\n"); 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()
[all …]
/linux-6.12.1/drivers/gpu/drm/radeon/
Dradeon_sync.c35 * radeon_sync_create - zero init sync object
37 * @sync: sync object to initialize
39 * Just clear the sync object for now.
41 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()
55 * radeon_sync_fence - use the semaphore to sync to a fence
57 * @sync: sync object to add fence to
58 * @fence: fence to sync to
[all …]
/linux-6.12.1/tools/testing/selftests/powerpc/ptrace/
Dchild.h3 * Helper functions to sync execution between parent and child processes.
29 #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); \
[all …]
/linux-6.12.1/io_uring/
Dsync.c15 #include "sync.h"
27 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()
[all …]
/linux-6.12.1/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.12.1/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.12.1/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()
55 pr_err("%s: could not allocate sync source clk\n", __func__); in tegra_clk_register_sync_source()
[all …]
/linux-6.12.1/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 …]
/linux-6.12.1/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 …]
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_64.S47 sync
53 sync
58 sync
62 sync
68 sync
73 sync
86 sync
88 sync
94 sync
100 sync
[all …]
Dio.c34 asm volatile("sync"); in _insb()
50 asm volatile("sync"); in _outsb()
54 asm volatile("sync"); in _outsb()
65 asm volatile("sync"); in _insw_ns()
81 asm volatile("sync"); in _outsw_ns()
85 asm volatile("sync"); in _outsw_ns()
96 asm volatile("sync"); in _insl_ns()
112 asm volatile("sync"); in _outsl_ns()
116 asm volatile("sync"); in _outsl_ns()
130 __asm__ __volatile__ ("sync" : : : "memory"); in _memset_io()
[all …]
/linux-6.12.1/tools/testing/selftests/kvm/
Dmemslot_perf_test.c152 "Unexpected sync ucall, got %lx", in vcpu_worker()
291 struct sync_area *sync; in prepare_vm() local
352 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in prepare_vm()
353 sync->guest_page_size = data->vm->page_size; in prepare_vm()
354 atomic_init(&sync->start_flag, false); in prepare_vm()
355 atomic_init(&sync->exit_flag, false); in prepare_vm()
356 atomic_init(&sync->sync_flag, false); in prepare_vm()
385 static void let_guest_run(struct sync_area *sync) in let_guest_run() argument
387 atomic_store_explicit(&sync->start_flag, true, memory_order_release); in let_guest_run()
392 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local
[all …]
/linux-6.12.1/arch/csky/include/asm/
Dbarrier.h69 * sync: completion barrier, all sync.xx instructions
71 * made by ld/st instructions before sync.s
72 * sync.s: inherit from sync, but also shareable to other cores
73 * sync.i: inherit from sync, but also flush cpu pipeline
74 * sync.is: the same with sync.i + sync.s
76 #define mb() asm volatile ("sync\n":::"memory")
80 * Using three sync.is to prevent speculative PTW
82 #define sync_is() asm volatile ("sync.is\nsync.is\nsync.is\n":::"memory")
/linux-6.12.1/arch/powerpc/platforms/44x/
Dmisc_44x.S18 sync
20 sync
23 sync
25 sync
32 sync
34 sync
37 sync
39 sync
/linux-6.12.1/arch/sparc/kernel/
Dcherrs.S8 membar #Sync
12 membar #Sync
21 membar #Sync
25 membar #Sync
34 membar #Sync
38 membar #Sync
47 membar #Sync
51 membar #Sync
60 membar #Sync
64 membar #Sync;
[all …]
/linux-6.12.1/drivers/gpu/host1x/
Dsyncpt.h53 /* Initialize sync point array */
56 /* Free sync point array */
59 /* Return number of sync point supported. */
69 * Check sync point sanity. If max is larger than min, there have too many
70 * sync point increments.
72 * Client managed sync point are not tracked.
83 /* Return true if sync point is client managed. */
108 /* Save host1x sync point state into shadow registers. */
111 /* Reset host1x sync point state from shadow registers. */
117 /* Indicate future operations by incrementing the sync point max. */
[all …]
/linux-6.12.1/Documentation/devicetree/bindings/soc/fsl/cpm_qe/
Dfsl,qe-tsa.yaml59 The hardware can use four dedicated pins for Tx clock, Tx sync, Rx
60 clock and Rx sync or use only two pins, Tx/Rx clock and Tx/Rx sync.
67 - description: Receive sync clock
69 - description: Transmit sync clock
80 fsl,rx-frame-sync-delay-bits:
84 Receive frame sync delay in number of bits.
85 Indicates the delay between the Rx sync and the first bit of the Rx
88 fsl,tx-frame-sync-delay-bits:
92 Transmit frame sync delay in number of bits.
93 Indicates the delay between the Tx sync and the first bit of the Tx
[all …]
/linux-6.12.1/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 …]

12345678910>>...148