Home
last modified time | relevance | path

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

12345678910>>...123

/Linux-v6.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-v6.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-v6.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-v6.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.h42 * Container for fences used to sync command submissions.
48 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-v6.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) \ argument
54 (sync)->parent_gave_up = true; \
55 prod_child(sync); \
[all …]
/Linux-v6.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()
40 struct io_sync *sync = io_kiocb_to_cmd(req, struct io_sync); in io_sync_file_range() local
47 ret = sync_file_range(req->file, sync->off, sync->len, sync->flags); in io_sync_file_range()
54 struct io_sync *sync = io_kiocb_to_cmd(req, struct io_sync); in io_fsync_prep() local
59 sync->flags = READ_ONCE(sqe->fsync_flags); in io_fsync_prep()
60 if (unlikely(sync->flags & ~IORING_FSYNC_DATASYNC)) in io_fsync_prep()
[all …]
/Linux-v6.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-v6.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-v6.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-v6.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-v6.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.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_64.S46 sync
52 sync
57 sync
61 sync
67 sync
72 sync
85 sync
87 sync
93 sync
99 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-v6.1/tools/testing/selftests/kvm/
Dmemslot_perf_test.c154 "Unexpected sync ucall, got %lx", in vcpu_worker()
253 struct sync_area *sync; in prepare_vm() local
321 sync = (typeof(sync))vm_gpa2hva(data, MEM_SYNC_GPA, NULL); in prepare_vm()
322 atomic_init(&sync->start_flag, false); in prepare_vm()
323 atomic_init(&sync->exit_flag, false); in prepare_vm()
324 atomic_init(&sync->sync_flag, false); in prepare_vm()
353 static void let_guest_run(struct sync_area *sync) in let_guest_run() argument
355 atomic_store_explicit(&sync->start_flag, true, memory_order_release); in let_guest_run()
360 struct sync_area *sync = (typeof(sync))MEM_SYNC_GPA; in guest_spin_until_start() local
362 while (!atomic_load_explicit(&sync->start_flag, memory_order_acquire)) in guest_spin_until_start()
[all …]
/Linux-v6.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-v6.1/arch/powerpc/platforms/44x/
Dmisc_44x.S18 sync
20 sync
23 sync
25 sync
32 sync
34 sync
37 sync
39 sync
/Linux-v6.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-v6.1/drivers/gpu/host1x/
Dsyncpt.h52 /* Initialize sync point array */
55 /* Free sync point array */
58 /* Return number of sync point supported. */
68 * Check sync point sanity. If max is larger than min, there have too many
69 * sync point increments.
71 * Client managed sync point are not tracked.
82 /* Return true if sync point is client managed. */
107 /* Save host1x sync point state into shadow registers. */
110 /* Reset host1x sync point state from shadow registers. */
116 /* Indicate future operations by incrementing the sync point max. */
[all …]
/Linux-v6.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 …]
/Linux-v6.1/arch/mips/include/asm/
Dsync.h6 * sync types are defined by the MIPS64 Instruction Set documentation in Volume
43 * No sync instruction at all; used to allow code to nullify the effect of the
49 * A full completion barrier; all memory accesses appearing prior to this sync
51 * appearing after this sync instruction in program order.
56 * For now we use a full completion barrier to implement all sync types, until
78 * A GINV sync is a little different; it doesn't relate directly to loads or
82 * has been performed by all coherent CPUs, we must issue a sync instruction of
88 /* Trivial; indicate that we always need this sync instruction. */
92 * Indicate that we need this sync instruction only on systems with weakly
103 * Indicate that we need this sync instruction only on systems where LL/SC
[all …]
/Linux-v6.1/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-v6.1/drivers/staging/pi433/Documentation/
Dpi433.txt125 optionOn - a sync word will be automatically added to
127 optionOff - no sync word will be added
128 Attention: While possible to generate sync without preamble, the
129 receiver won't be able to detect the sync without preamble.
136 Attention: should be used in combination with sync, only
143 Attention: should be used in combination with sync, only
152 length of the sync word. Allowed values: 0...8
158 contains up to eight values, that are used as the sync pattern
159 on sync option
224 optionOn - sync detection is enabled. If configured sync pattern
[all …]

12345678910>>...123