Searched refs:sync (Results 1 - 200 of 1939) sorted by relevance

12345678910

/linux-4.1.27/drivers/gpu/drm/radeon/
H A Dradeon_sync.c36 * radeon_sync_create - zero init sync object
38 * @sync: sync object to initialize
40 * Just clear the sync object for now.
42 void radeon_sync_create(struct radeon_sync *sync) radeon_sync_create() argument
47 sync->semaphores[i] = NULL; radeon_sync_create()
50 sync->sync_to[i] = NULL; radeon_sync_create()
52 sync->last_vm_update = NULL; radeon_sync_create()
56 * radeon_sync_fence - use the semaphore to sync to a fence
58 * @sync: sync object to add fence to
59 * @fence: fence to sync to
63 void radeon_sync_fence(struct radeon_sync *sync, radeon_sync_fence() argument
71 other = sync->sync_to[fence->ring]; radeon_sync_fence()
72 sync->sync_to[fence->ring] = radeon_fence_later(fence, other); radeon_sync_fence()
75 other = sync->last_vm_update; radeon_sync_fence()
76 sync->last_vm_update = radeon_fence_later(fence, other); radeon_sync_fence()
81 * radeon_sync_resv - use the semaphores to sync to a reservation object
83 * @sync: sync object to add fences from reservation object to
85 * @shared: true if we should only sync to the exclusive fence
90 struct radeon_sync *sync, radeon_sync_resv()
100 /* always sync to the exclusive fence */ radeon_sync_resv()
104 radeon_sync_fence(sync, fence); radeon_sync_resv()
117 radeon_sync_fence(sync, fence); radeon_sync_resv()
128 * radeon_sync_rings - sync ring to all registered fences
131 * @sync: sync object to use
132 * @ring: ring that needs sync
138 struct radeon_sync *sync, radeon_sync_rings()
145 struct radeon_fence *fence = sync->sync_to[i]; radeon_sync_rings()
148 /* check if we really need to sync */ radeon_sync_rings()
169 sync->semaphores[count++] = semaphore; radeon_sync_rings()
171 /* allocate enough space for sync command */ radeon_sync_rings()
204 * radeon_sync_free - free the sync object
207 * @sync: sync object to use
210 * Free the sync object by freeing all semaphores in it.
213 struct radeon_sync *sync, radeon_sync_free()
219 radeon_semaphore_free(rdev, &sync->semaphores[i], fence); radeon_sync_free()
89 radeon_sync_resv(struct radeon_device *rdev, struct radeon_sync *sync, struct reservation_object *resv, bool shared) radeon_sync_resv() argument
137 radeon_sync_rings(struct radeon_device *rdev, struct radeon_sync *sync, int ring) radeon_sync_rings() argument
212 radeon_sync_free(struct radeon_device *rdev, struct radeon_sync *sync, struct radeon_fence *fence) radeon_sync_free() argument
H A Drv770_dma.c36 * @resv: reservation object to sync to
48 struct radeon_sync sync; rv770_copy_dma() local
55 radeon_sync_create(&sync); rv770_copy_dma()
62 radeon_sync_free(rdev, &sync, NULL); rv770_copy_dma()
66 radeon_sync_resv(rdev, &sync, resv, false); rv770_copy_dma()
67 radeon_sync_rings(rdev, &sync, ring->idx); rv770_copy_dma()
86 radeon_sync_free(rdev, &sync, NULL); rv770_copy_dma()
91 radeon_sync_free(rdev, &sync, fence); rv770_copy_dma()
H A Devergreen_dma.c114 struct radeon_sync sync; evergreen_copy_dma() local
121 radeon_sync_create(&sync); evergreen_copy_dma()
128 radeon_sync_free(rdev, &sync, NULL); evergreen_copy_dma()
132 radeon_sync_resv(rdev, &sync, resv, false); evergreen_copy_dma()
133 radeon_sync_rings(rdev, &sync, ring->idx); evergreen_copy_dma()
152 radeon_sync_free(rdev, &sync, NULL); evergreen_copy_dma()
157 radeon_sync_free(rdev, &sync, fence); evergreen_copy_dma()
H A Dsi_dma.c225 * @resv: reservation object to sync to
237 struct radeon_sync sync; si_copy_dma() local
244 radeon_sync_create(&sync); si_copy_dma()
251 radeon_sync_free(rdev, &sync, NULL); si_copy_dma()
255 radeon_sync_resv(rdev, &sync, resv, false); si_copy_dma()
256 radeon_sync_rings(rdev, &sync, ring->idx); si_copy_dma()
275 radeon_sync_free(rdev, &sync, NULL); si_copy_dma()
280 radeon_sync_free(rdev, &sync, fence); si_copy_dma()
H A Dradeon_ib.c67 radeon_sync_create(&ib->sync); radeon_ib_get()
96 radeon_sync_free(rdev, &ib->sync, ib->fence); radeon_ib_free()
145 radeon_sync_fence(&ib->sync, vm_id_fence); radeon_ib_schedule()
148 /* sync with other rings */ radeon_ib_schedule()
149 r = radeon_sync_rings(rdev, &ib->sync, ib->ring); radeon_ib_schedule()
151 dev_err(rdev->dev, "failed to sync rings (%d)\n", r); radeon_ib_schedule()
158 ib->sync.last_vm_update); radeon_ib_schedule()
162 radeon_sync_free(rdev, &const_ib->sync, NULL); radeon_ib_schedule()
H A Dr600_dma.c433 * @resv: reservation object to sync to
445 struct radeon_sync sync; r600_copy_dma() local
452 radeon_sync_create(&sync); r600_copy_dma()
459 radeon_sync_free(rdev, &sync, NULL); r600_copy_dma()
463 radeon_sync_resv(rdev, &sync, resv, false); r600_copy_dma()
464 radeon_sync_rings(rdev, &sync, ring->idx); r600_copy_dma()
483 radeon_sync_free(rdev, &sync, NULL); r600_copy_dma()
488 radeon_sync_free(rdev, &sync, fence); r600_copy_dma()
H A Datom-types.h28 /* sync atom types to kernel types */
/linux-4.1.27/drivers/clk/tegra/
H A Dclk-audio-sync.c26 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw); clk_sync_source_recalc_rate() local
28 return sync->rate; clk_sync_source_recalc_rate()
34 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw); clk_sync_source_round_rate() local
36 if (rate > sync->max_rate) clk_sync_source_round_rate()
45 struct tegra_clk_sync_source *sync = to_clk_sync_source(hw); clk_sync_source_set_rate() local
47 sync->rate = rate; clk_sync_source_set_rate()
60 struct tegra_clk_sync_source *sync; tegra_clk_register_sync_source() local
64 sync = kzalloc(sizeof(*sync), GFP_KERNEL); tegra_clk_register_sync_source()
65 if (!sync) { tegra_clk_register_sync_source()
66 pr_err("%s: could not allocate sync source clk\n", __func__); tegra_clk_register_sync_source()
70 sync->rate = rate; tegra_clk_register_sync_source()
71 sync->max_rate = max_rate; tegra_clk_register_sync_source()
80 sync->hw.init = &init; tegra_clk_register_sync_source()
82 clk = clk_register(NULL, &sync->hw); tegra_clk_register_sync_source()
84 kfree(sync); tegra_clk_register_sync_source()
/linux-4.1.27/arch/powerpc/platforms/52xx/
H A Dmpc52xx_sleep.S15 sync; isync;
24 sync
29 sync
39 sync; isync;
41 sync; isync;
56 sync; isync;
58 sync; isync;
72 sync
76 sync
81 sync
86 sync
93 sync
99 sync; isync;
101 sync; isync;
108 sync
114 sync
133 sync
142 sync
H A Dlite5200_sleep.S29 sync; \
96 sync; isync;
98 sync; isync;
113 sync
117 sync
122 sync
135 sync
146 sync
156 sync
159 sync
161 sync
163 sync
172 sync
213 sync
223 sync; isync;
229 sync; isync;
231 sync; isync;
237 sync
H A Dmpc52xx_common.c286 int sync; mpc5200_psc_ac97_gpio_reset() local
294 sync = PSC1_SYNC; /* AC97_1_SYNC */ mpc5200_psc_ac97_gpio_reset()
300 sync = PSC2_SYNC; /* AC97_2_SYNC */ mpc5200_psc_ac97_gpio_reset()
318 setbits32(&simple_gpio->simple_gpioe, sync | out); mpc5200_psc_ac97_gpio_reset()
321 setbits32(&simple_gpio->simple_ddr, sync | out); mpc5200_psc_ac97_gpio_reset()
324 clrbits32(&simple_gpio->simple_dvo, sync | out); mpc5200_psc_ac97_gpio_reset()
/linux-4.1.27/arch/parisc/kernel/
H A Dperf_asm.S59 sync ; follow ERS
176 sync
212 sync
224 sync
236 sync
320 sync
344 sync
356 sync
404 sync
416 sync
428 sync
440 sync
452 sync
464 sync
500 sync
512 sync
536 sync
601 sync ; RDR 0 write sequence
613 sync
625 sync
637 sync
649 sync
661 sync
673 sync
685 sync
697 sync
709 sync
721 sync
733 sync
745 sync
757 sync
769 sync
781 sync
793 sync
805 sync
817 sync
829 sync
841 sync
853 sync
865 sync
877 sync
889 sync
901 sync
913 sync
925 sync
937 sync
949 sync
961 sync
973 sync
1071 sync ; RDR 2 read sequence
1080 sync ; RDR 3 read sequence
1089 sync ; RDR 4 read sequence
1098 sync ; RDR 5 read sequence
1107 sync ; RDR 6 read sequence
1116 sync ; RDR 7 read sequence
1197 sync ; RDR 16 read sequence
1233 sync ; RDR 20 read sequence
1242 sync ; RDR 21 read sequence
1251 sync ; RDR 22 read sequence
1260 sync ; RDR 23 read sequence
1269 sync ; RDR 24 read sequence
1278 sync ; RDR 25 read sequence
1305 sync ; RDR 28 read sequence
1398 sync ; RDR 0 write sequence
1407 sync ; RDR 1 write sequence
1416 sync ; RDR 2 write sequence
1425 sync ; RDR 3 write sequence
1434 sync ; RDR 4 write sequence
1443 sync ; RDR 5 write sequence
1452 sync ; RDR 6 write sequence
1461 sync ; RDR 7 write sequence
1470 sync ; RDR 8 write sequence
1479 sync ; RDR 9 write sequence
1488 sync ; RDR 10 write sequence
1497 sync ; RDR 11 write sequence
1506 sync ; RDR 12 write sequence
1515 sync ; RDR 13 write sequence
1524 sync ; RDR 14 write sequence
1533 sync ; RDR 15 write sequence
1542 sync ; RDR 16 write sequence
1551 sync ; RDR 17 write sequence
1560 sync ; RDR 18 write sequence
1569 sync ; RDR 19 write sequence
1578 sync ; RDR 20 write sequence
1587 sync ; RDR 21 write sequence
1596 sync ; RDR 22 write sequence
1605 sync ; RDR 23 write sequence
1614 sync ; RDR 24 write sequence
1623 sync ; RDR 25 write sequence
1632 sync ; RDR 26 write sequence
1641 sync ; RDR 27 write sequence
1650 sync ; RDR 28 write sequence
1659 sync ; RDR 29 write sequence
1668 sync ; RDR 30 write sequence
1677 sync ; RDR 31 write sequence
/linux-4.1.27/arch/powerpc/platforms/powermac/
H A Dcache.S49 sync
56 sync
62 sync
64 sync
85 sync
92 sync
95 sync
100 sync
110 3: sync
114 3: sync
127 sync
135 sync
144 3: sync
148 3: sync
151 1: sync
156 sync
166 sync
168 sync
174 sync
178 sync
182 sync
185 sync
198 sync
204 sync
210 sync
242 sync
256 sync
268 sync
270 sync
282 3: sync
286 3: sync
289 1: sync
292 sync
297 sync
303 3: sync
307 3: sync
310 1: sync
314 sync
319 sync
328 sync
330 sync
333 sync
339 sync
341 sync
347 sync
353 sync
H A Dsleep.S173 sync
179 sync
182 sync /* (caches are disabled at this point) */
191 sync
194 sync
204 1: sync
226 sync
233 sync
236 sync
265 sync
352 sync
384 sync
H A Dsmp.c304 /* No sure how timebase sync works on those, let's use SW */ smp_psurge_probe()
352 asm volatile("sync"); smp_psurge_kick_cpu()
379 asm volatile("sync" : : : "memory"); smp_psurge_kick_cpu()
384 /* And we do the TB sync here too for standard dual CPU cards */ smp_psurge_kick_cpu()
615 " sync, fallback to software sync !\n"); smp_core99_setup_i2c_hwsync()
618 printk(KERN_INFO "Processor timebase sync using %s i2c clock\n", smp_core99_setup_i2c_hwsync()
705 /* i2c based HW sync on some G5s */ smp_core99_setup()
711 /* pfunc based HW sync on recent G5s */ smp_core99_setup()
718 printk(KERN_INFO "Processor timebase sync using" smp_core99_setup()
725 /* GPIO based HW sync on ppc32 Core99 */ smp_core99_setup()
739 printk(KERN_INFO "Processor timebase sync using" smp_core99_setup()
745 /* No timebase sync, fallback to software */ smp_core99_setup()
749 printk(KERN_INFO "Processor timebase sync using software\n"); smp_core99_setup()
790 /* Setup various bits like timebase sync method, ability to nap, ... */ smp_core99_probe()
863 /* Open i2c bus if it was used for tb sync */ smp_core99_cpu_notify()
867 pr_err("Failed to open i2c bus for time sync\n"); smp_core99_cpu_notify()
874 /* Close i2c bus if it was used for tb sync */ smp_core99_cpu_notify()
893 /* Close i2c bus if it was used for tb sync */ smp_core99_bringup_done()
/linux-4.1.27/arch/powerpc/kernel/
H A Dcpu_setup_ppc970.S33 sync
36 sync
39 sync
42 sync
55 sync
109 sync
116 sync
160 sync
163 sync
167 sync
173 sync
182 sync
187 sync
191 sync
196 sync
199 sync
204 sync
207 sync
H A Dio.c38 asm volatile("sync"); _insb()
54 asm volatile("sync"); _outsb()
58 asm volatile("sync"); _outsb()
69 asm volatile("sync"); _insw_ns()
85 asm volatile("sync"); _outsw_ns()
89 asm volatile("sync"); _outsw_ns()
100 asm volatile("sync"); _insl_ns()
116 asm volatile("sync"); _outsl_ns()
120 asm volatile("sync"); _outsl_ns()
134 __asm__ __volatile__ ("sync" : : : "memory"); _memset_io()
150 __asm__ __volatile__ ("sync" : : : "memory"); _memset_io()
159 __asm__ __volatile__ ("sync" : : : "memory"); _memcpy_fromio()
181 __asm__ __volatile__ ("sync" : : : "memory"); _memcpy_fromio()
189 __asm__ __volatile__ ("sync" : : : "memory"); _memcpy_toio()
208 __asm__ __volatile__ ("sync" : : : "memory"); _memcpy_toio()
H A Dl2cr_6xx.S111 sync
118 sync
129 sync
131 sync
167 sync
169 sync
193 sync
207 sync
209 sync
213 21: sync
220 sync
222 sync
240 sync
242 sync
251 sync
257 sync
259 sync
265 sync
267 sync
302 sync
308 sync
338 sync
340 sync
344 sync
347 sync
356 sync
358 sync
369 sync
383 sync
418 sync
431 sync
441 sync
447 sync
461 sync
466 sync
H A Dcpu_setup_6xx.S94 1: sync
96 sync
98 sync
109 sync
111 sync /* on 604e/604r */
113 sync
152 sync
154 sync
180 sync
261 sync
271 sync
273 sync
290 sync
397 sync
400 sync
425 sync
427 sync
430 sync
432 sync
441 sync
444 sync
446 sync
449 sync
451 sync
454 sync
456 sync
459 sync
473 sync
H A Dmisc_64.S93 sync
139 sync
165 sync
167 sync
173 sync
176 sync
190 sync
196 sync
230 sync
258 sync
264 sync
269 sync
273 sync
279 sync
284 sync
297 sync
299 sync
305 sync
311 sync
317 sync
328 sync
330 sync
336 sync
342 sync
348 sync
359 sync
361 sync
366 sync
374 sync
376 sync
381 sync
414 sync
446 sync
H A Didle_power4.S60 sync
68 1: sync
H A Dmisc_32.S186 sync
189 sync
211 sync
214 sync
230 sync
232 sync
263 sync
265 sync
268 sync
270 sync
281 sync
283 sync
286 sync
288 sync
364 sync /* wait for dcbst's to get to ram */
376 sync /* additional sync needed on g4 */
398 sync /* wait for dcbst's to get to ram */
419 sync /* wait for dcbst's to get to ram */
441 sync /* wait for dcbi's to get to ram */
464 sync
481 sync
510 sync
515 sync
799 sync
929 sync
949 sync
1123 sync
1180 sync
1194 sync
H A Dswsusp_32.S142 sync
157 sync
160 sync
205 sync
215 sync
307 sync
347 sync
H A Didle_6xx.S99 sync
101 sync
136 sync
145 1: sync
177 sync
H A Dswsusp_asm64.S147 sync
186 sync
260 sync
H A Dpmc.c91 "sync\n" power4_enable_pmcs()
/linux-4.1.27/arch/powerpc/boot/
H A Dio.h22 __asm__ __volatile__("stb%U0%X0 %1,%0; sync" out_8()
47 __asm__ __volatile__("sthbrx %1,0,%2; sync" : "=m" (*addr) out_le16()
53 __asm__ __volatile__("sth%U0%X0 %1,%0; sync" out_be16()
77 __asm__ __volatile__("stwbrx %1,0,%2; sync" : "=m" (*addr) out_le32()
83 __asm__ __volatile__("stw%U0%X0 %1,%0; sync" out_be32()
87 static inline void sync(void) sync() function
89 asm volatile("sync" : : : "memory"); sync()
H A Dcpm-serial.c155 sync(); cpm_serial_open()
170 sync(); cpm_serial_putc()
190 sync(); cpm_serial_getc()
/linux-4.1.27/arch/mips/include/asm/mach-rc32434/
H A Drc32434.h16 __asm__ volatile ("sync"); rc32434_sync()
/linux-4.1.27/arch/powerpc/include/asm/
H A Dsynch.h34 sync; \
37 # define LWSYNC sync
47 #define PPC_ATOMIC_ENTRY_BARRIER "\n" stringify_in_c(sync) "\n"
48 #define PPC_ATOMIC_EXIT_BARRIER "\n" stringify_in_c(sync) "\n"
H A Dbarrier.h9 * The sync instruction guarantees that all memory accesses initiated
22 * operations with one another. sync is the only instruction sufficient
26 * only. We have to use the sync instruction for smp_mb(), since lwsync
31 * heavy-weight sync, so smp_wmb() can be a lighter-weight eieio.
33 #define mb() __asm__ __volatile__ ("sync" : : : "memory")
34 #define rmb() __asm__ __volatile__ ("sync" : : : "memory")
35 #define wmb() __asm__ __volatile__ ("sync" : : : "memory")
H A Dcache.h54 * prefetched instructions from the ifetch buffers. We also need a sync
59 sync; \
61 sync; \
H A Dasm-compat.h73 /* Erratum #77 on the 405 means we need a sync or dcbt before every
77 #define PPC405_ERR77_SYNC stringify_in_c(sync;)
H A Demulated_ops.h46 struct ppc_emulated_entry sync; member in struct:ppc_emulated
/linux-4.1.27/drivers/gpu/host1x/
H A Dsyncpt.h54 /* Initialize sync point array */
57 /* Free sync point array */
60 /* Return number of sync point supported. */
70 * Check sync point sanity. If max is larger than min, there have too many
71 * sync point increments.
73 * Client managed sync point are not tracked.
84 /* Return true if sync point is client managed. */ host1x_syncpt_client_managed()
109 /* Save host1x sync point state into shadow registers. */
112 /* Reset host1x sync point state from shadow registers. */
118 /* Indicate future operations by incrementing the sync point max. */
121 /* Check if sync point id is valid. */ host1x_syncpt_is_valid()
H A Dintr.h67 * Schedule an action to be taken when a sync point reaches the given threshold.
69 * @id the sync point
89 /* Initialize host1x sync point interrupt */
92 /* Deinitialize host1x sync point interrupt */
95 /* Enable host1x sync point interrupt */
98 /* Disable host1x sync point interrupt */
H A Dcdma.c40 * Note that it works slightly differently to the sync queue; fence == pos
127 * - CDMA_EVENT_SYNC_QUEUE_EMPTY : sync queue is completely empty.
205 * For all sync queue entries that have already finished according to the
206 * current sync point registers:
209 * - remove them from the sync queue
225 * Walk the sync queue, reading the sync point registers as necessary, update_cdma_locked()
226 * to consume as many sync queue entries as possible without blocking update_cdma_locked()
458 * Kick off DMA, add job to the sync queue, and a number of slots to be freed
484 * Update cdma state according to current sync point values
H A Dcdma.h41 * update - call to update sync queue and push buffer, unpin memory
64 CDMA_EVENT_SYNC_QUEUE_EMPTY, /* wait for empty sync queue */
H A Dintr.c64 * run through a waiter queue for a single sync point ID
67 static void remove_completed_waiters(struct list_head *head, u32 sync, remove_completed_waiters() argument
74 if ((s32)(waiter->thresh - sync) > 0) list_for_each_entry_safe()
196 * Handles sync point threshold triggers, in thread context
/linux-4.1.27/include/trace/events/
H A Dcompaction.h105 unsigned long free_pfn, unsigned long zone_end, bool sync),
107 TP_ARGS(zone_start, migrate_pfn, free_pfn, zone_end, sync),
114 __field(bool, sync)
122 __entry->sync = sync;
130 __entry->sync ? "sync" : "async")
135 unsigned long free_pfn, unsigned long zone_end, bool sync,
138 TP_ARGS(zone_start, migrate_pfn, free_pfn, zone_end, sync, status),
145 __field(bool, sync)
154 __entry->sync = sync;
163 __entry->sync ? "sync" : "async",
H A Djbd2.h51 TP_printk("dev %d,%d transaction %d sync %d",
110 TP_printk("dev %d,%d transaction %d sync %d head %d",
197 unsigned int line_no, int interval, int sync,
200 TP_ARGS(dev, tid, type, line_no, interval, sync,
209 __field( int, sync )
220 __entry->sync = sync;
226 "sync %d requested_blocks %d dirtied_blocks %d",
229 __entry->sync, __entry->requested_blocks,
/linux-4.1.27/drivers/video/fbdev/
H A Dcontrolfb.h51 struct preg vesync; /* vert end sync */
52 struct preg vssync; /* vert start sync */
59 struct preg hesync; /* horiz end sync */
60 struct preg hssync; /* horiz start sync */
61 struct preg heq; /* half horiz sync len */
63 struct preg hserr; /* horiz period - horiz sync len */
83 unsigned vesync; /* vert end sync */
84 unsigned vssync; /* vert start sync */
92 unsigned hesync; /* horiz end sync */
93 unsigned hssync; /* horiz start sync */
94 unsigned heq; /* half horiz sync len */
96 unsigned hserr; /* horiz period - horiz sync len */
H A Damba-clcd-versatile.c20 .sync = 0,
44 .sync = 0,
69 .sync = 0,
93 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
118 .sync = 0,
H A Dfm2fb.c37 * - composite sync/sync/sync over green
70 * JP4 modulate composite sync on green output (1-2 composite
71 * sync on green channel/2-3 normal composite sync)
74 * JP6 sync creation (1-2 composite sync/2-3 H-sync output)
86 * except the interlaced/non interlaced, sync control and the
97 * 4 H-sync TTL
98 * 5 V-sync TTL
H A Dmacmodes.c114 sync, FB_VMODE_INTERLACED
118 sync, FB_VMODE_INTERLACED
122 sync, FB_VMODE_INTERLACED
126 sync, FB_VMODE_INTERLACED
284 var->sync = mode->sync; mac_vmode_to_var()
/linux-4.1.27/net/caif/
H A Dcfserl.c25 spinlock_t sync; member in struct:cfserl
44 spin_lock_init(&this->sync); cfserl_create()
62 spin_lock(&layr->sync); cfserl_receive()
69 spin_unlock(&layr->sync); cfserl_receive()
89 spin_unlock(&layr->sync); cfserl_receive()
107 spin_unlock(&layr->sync); cfserl_receive()
127 spin_unlock(&layr->sync); cfserl_receive()
138 spin_unlock(&layr->sync); cfserl_receive()
152 spin_unlock(&layr->sync); cfserl_receive()
154 spin_lock(&layr->sync); cfserl_receive()
171 spin_unlock(&layr->sync); cfserl_receive()
H A Dcfrfml.c31 spinlock_t sync; member in struct:cfrfml
64 spin_lock_init(&this->sync); cfrfml_create()
109 spin_lock(&rfml->sync); cfrfml_receive()
186 spin_unlock(&rfml->sync); cfrfml_receive()
/linux-4.1.27/drivers/oprofile/
H A Dbuffer_sync.h19 /* sync the given CPU's buffer */
/linux-4.1.27/arch/score/include/uapi/asm/
H A Dsigcontext.h5 * Keep this struct definition in sync with the sigcontext fragment
/linux-4.1.27/arch/blackfin/mach-bf548/include/mach/
H A Dbf54x-lq043.h17 unsigned char fixed_syncs; /* do not update sync/border */
/linux-4.1.27/arch/mips/include/asm/
H A Dbarrier.h22 "sync\n\t" \
59 "sync\n\t" \
99 # define smp_mb() __asm__ __volatile__("sync" : : :"memory")
100 # define smp_rmb() __asm__ __volatile__("sync" : : :"memory")
101 # define smp_wmb() __asm__ __volatile__("sync" : : :"memory")
110 #define __WEAK_LLSC_MB " sync \n"
H A Dmips-cm.h20 /* The base address of the CM L2-only sync region */
65 * mips_cm_has_l2sync - determine whether an L2-only sync region is present
67 * Returns true if the system implements an L2-only sync region, else false.
87 /* Size of the L2-only sync region */
308 * mips_cm_l2sync - perform an L2-only sync operation
310 * If an L2-only sync region is present in the system then this function
311 * performs and L2-only sync and returns zero. Otherwise it returns -ENODEV.
/linux-4.1.27/include/media/davinci/
H A Dvpfe_types.h35 /* YCbCr - 8 bit with external sync */
37 /* YCbCr - 16 bit with external sync */
H A Ddm644x_ccdc.h160 /* vertical sync polarity */
162 /* horizontal sync polarity */
184 /* vertical sync polarity */
186 /* horizontal sync polarity */
188 /* enable BT.656 embedded sync mode */
H A Dvpss.h90 /* set sync polarity, only for DM365*/
109 /* set sync polarity*/
110 void vpss_set_sync_pol(struct vpss_sync_pol sync);
H A Ddm355_ccdc.h269 /* vertical sync polarity */
271 /* horizontal sync polarity */
273 /* enable BT.656 embedded sync mode */
299 /* vertical sync polarity */
301 /* horizontal sync polarity */
H A Dvpbe_types.h46 * @hsync_len: h-sync length
47 * @vsync_len: v-sync length
/linux-4.1.27/include/media/
H A Dupd64031a.h34 /* Composite sync digital separation circuit */
37 /* Vertical sync digital separation circuit */
/linux-4.1.27/include/video/
H A Ddisplay_timing.h53 * |<- sync ->|<- back ->|<----- active ----->|<- front ->|<- sync..
66 struct timing_entry hsync_len; /* hor. sync len */
71 struct timing_entry vsync_len; /* ver. sync len */
H A Dsa1100fb.h45 u_char sync; member in struct:sa1100fb_mach_info
H A Dpmagb-b-fb.h34 #define SFB_VID_HOR_SYN_SHIFT 0x0e /* sync pulse */
44 #define SFB_VID_VER_SYN_SHIFT 0x10 /* sync pulse */
H A Dgbe.h296 short hsync_start; /* Horizontal sync start */
297 short hsync_end; /* Horizontal sync end */
301 short vsync_start; /* Vertical sync start */
302 short vsync_end; /* Vertical sync end */
312 #define GBE_VOF_DO_GENSYNC 4 /* enable incoming sync */
313 #define GBE_VOF_SYNC_ON_GREEN 8 /* sync on green */
/linux-4.1.27/arch/mips/kernel/
H A Dmips-cm.c41 * If the L2-only sync region is already enabled then leave it at it's __mips_cm_l2sync_phys_base()
60 /* L2-only sync was introduced with CM major revision 6 */ mips_cm_probe_l2sync()
66 /* Find a location for the L2 sync region */ mips_cm_probe_l2sync()
117 /* probe for an L2-only sync region */ mips_cm_probe()
/linux-4.1.27/arch/arm64/include/asm/
H A Dsuspend.h12 * This struct must be kept in sync with
/linux-4.1.27/arch/avr32/include/asm/
H A Dbarrier.h14 #define wmb() asm volatile("sync 0" : : : "memory")
/linux-4.1.27/arch/cris/include/arch-v32/arch/hwregs/
H A Dstrcop.h19 unsigned char sync : 1; member in struct:strcop_meta_in
/linux-4.1.27/Documentation/EDID/
H A Dedid.S84 Bits 6-5 Video white and sync levels, relative to blank
88 Bit 3 Separate sync supported
89 Bit 2 Composite sync (on HSync) supported
92 sync-on-green is used. */
199 /* Horizontal sync offset pixels 8 lsbits (0-1023) From blanking start */
201 /* Horizontal sync pulse width pixels 8 lsbits (0-1023) */
203 /* Bits 7-4 Vertical sync offset lines 4 lsbits -63)
204 Bits 3-0 Vertical sync pulse width lines 4 lsbits -63) */
206 /* Bits 7-6 Horizontal sync offset pixels 2 msbits
207 Bits 5-4 Horizontal sync pulse width pixels 2 msbits
208 Bits 3-2 Vertical sync offset lines 2 msbits
209 Bits 1-0 Vertical sync pulse width lines 2 msbits */
229 Bit 0=0: 01=Field sequential, sync=1 during right; 10=similar,
230 sync=1 during left; 11=4-way interleaved stereo
235 Bit 2 If digital separate: Vertical sync polarity (1=positive)
237 Bit 1 If analog sync: Sync on all 3 RGB lines (else green only)
/linux-4.1.27/drivers/net/ethernet/qualcomm/
H A Dqca_spi.c449 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_qca7k_sync()
450 netdev_dbg(qca->net_dev, "sync: got CPU on, but signature was invalid, restart\n"); qcaspi_qca7k_sync()
456 netdev_dbg(qca->net_dev, "sync: got CPU on, but wrbuf not empty. reset!\n"); qcaspi_qca7k_sync()
457 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_qca7k_sync()
459 netdev_dbg(qca->net_dev, "sync: got CPU on, now in sync\n"); qcaspi_qca7k_sync()
460 qca->sync = QCASPI_SYNC_READY; qcaspi_qca7k_sync()
466 switch (qca->sync) { qcaspi_qca7k_sync()
471 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_qca7k_sync()
472 netdev_dbg(qca->net_dev, "sync: bad signature, restart\n"); qcaspi_qca7k_sync()
481 netdev_dbg(qca->net_dev, "sync: could not read signature to reset device, retry.\n"); qcaspi_qca7k_sync()
486 netdev_dbg(qca->net_dev, "sync: resetting device.\n"); qcaspi_qca7k_sync()
491 qca->sync = QCASPI_SYNC_RESET; qcaspi_qca7k_sync()
497 netdev_dbg(qca->net_dev, "sync: waiting for CPU on, count %u.\n", qcaspi_qca7k_sync()
501 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_qca7k_sync()
503 netdev_dbg(qca->net_dev, "sync: reset timeout, restarting process.\n"); qcaspi_qca7k_sync()
520 (qca->sync == QCASPI_SYNC_READY)) qcaspi_spi_thread()
531 if (qca->sync != QCASPI_SYNC_READY) { qcaspi_spi_thread()
532 netdev_dbg(qca->net_dev, "sync: not ready %u, turn off carrier and flush\n", qcaspi_spi_thread()
533 (unsigned int)qca->sync); qcaspi_spi_thread()
548 if (qca->sync != QCASPI_SYNC_READY) qcaspi_spi_thread()
557 /* restart sync */ qcaspi_spi_thread()
560 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_spi_thread()
565 /* restart sync */ qcaspi_spi_thread()
568 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_spi_thread()
573 * if sync has occurred qcaspi_spi_thread()
575 if (qca->sync == QCASPI_SYNC_READY) { qcaspi_spi_thread()
583 if (qca->sync == QCASPI_SYNC_READY) qcaspi_spi_thread()
616 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_netdev_open()
740 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_netdev_tx_timeout()
H A Dqca_spi.h45 /* sync related constants */
52 /* sync events */
93 u8 sync; member in struct:qcaspi
H A Dqca_7k.c37 if (qca->sync != QCASPI_SYNC_READY) qcaspi_spi_error()
41 qca->sync = QCASPI_SYNC_UNKNOWN; qcaspi_spi_error()
/linux-4.1.27/drivers/md/
H A Ddm-log.c234 enum sync { enum in struct:log_c
236 NOSYNC, /* Devices known to be already in sync */
237 FORCESYNC, /* Force a sync to happen */
238 } sync; member in struct:log_c
325 if (log->sync != DEFAULTSYNC || log->header.magic != MIRROR_MAGIC) { read_header()
358 * argv contains region_size followed optionally by [no]sync
365 enum sync sync = DEFAULTSYNC; create_log_context() local
380 if (!strcmp(argv[1], "sync")) create_log_context()
381 sync = FORCESYNC; create_log_context()
383 sync = NOSYNC; create_log_context()
385 DMWARN("unrecognised sync argument to " create_log_context()
411 lc->sync = sync; create_log_context()
484 DMWARN("couldn't allocate sync bitset"); create_log_context()
493 memset(lc->sync_bits, (sync == NOSYNC) ? -1 : 0, bitset_size); create_log_context()
494 lc->sync_count = (sync == NOSYNC) ? region_count : 0; create_log_context()
498 DMWARN("couldn't allocate sync bitset"); create_log_context()
538 * argv contains log_device region_size followed optionally by [no]sync
598 * all regions are out-of-sync. If we simply return disk_resume()
600 * lead us to return 'in-sync' status for regions disk_resume()
601 * that are actually 'out-of-sync'. disk_resume()
607 if (lc->sync == NOSYNC) disk_resume()
620 /* copy clean across to sync */ disk_resume()
776 if (lc->sync != DEFAULTSYNC) \
777 DMEMIT("%ssync ", lc->sync == NOSYNC ? "no" : "")
792 lc->sync == DEFAULTSYNC ? 1 : 2, lc->region_size); core_status()
815 lc->sync == DEFAULTSYNC ? 2 : 3, lc->log_dev->name, disk_status()
H A Ddm-log-userspace-base.c179 * <region_size> [[no]sync]
428 * Check if the region is in-sync. If there is any sort
430 * the region is not in sync.
434 * Returns: 1 if in-sync, 0 if not-in-sync, -EWOULDBLOCK
448 * failure and mark the region out-of-sync. If we don't go userspace_in_sync()
449 * to userspace to ask, we might think the region is in-sync userspace_in_sync()
455 * state as in-sync... but then this call would not be made. So, userspace_in_sync()
675 * Does nothing to current sync context, but does mean
676 * the region will be re-sync'ed on a reload of the mirror
677 * even though it is in-sync.
738 * Set the sync status of a given region. This function
767 * we assume that the sync count is zero.
769 * Returns: sync count on success, 0 on failure
848 * Once the mirror has been reported to be in-sync, userspace_is_remote_recovering()
851 * recovering if the device is in-sync. (in_sync_hint userspace_is_remote_recovering()
H A Ddm-raid1.c205 * only if the mirror is in-sync.
237 DMERR("Primary mirror (%s) failed while out-of-sync: " fail_mirror()
290 * are in the no-sync state. We have to recover these by
394 * Update the in sync flag. do_recovery()
398 /* the sync is complete */ do_recovery()
559 * We can only read balance if the region is in sync. do_reads()
670 struct bio_list sync, nosync, recover, *this_list = NULL; do_writes() local
681 bio_list_init(&sync); do_writes()
689 bio_list_add(&sync, bio); do_writes()
705 this_list = &sync; do_writes()
736 dm_rh_inc_pending(ms->rh, &sync); do_writes()
751 bio_list_merge(&ms->failures, &sync); do_writes()
755 while ((bio = bio_list_pop(&sync))) do_writes()
1114 * on the sync state of a region. If the above mirror_ctr()
1116 * the sync state may be inaccurate. mirror_ctr()
1179 * If region is not in-sync queue the bio. mirror_map()
1190 * The region is in-sync and we can perform reads directly. mirror_map()
1234 * mirror in-sync. mirror_end_io()
1346 * D => Dead - A write failure occurred leaving mirror out-of-sync
1347 * S => Sync - A sychronization failure occurred, mirror out-of-sync
H A Ddm-raid.c293 * is in-sync or not - we must assume it is not. Therefore, dev_parms()
297 * indicate that the array is not in-sync and it will then dev_parms()
302 DMERR("Unable to rebuild drive while array is not in-sync"); dev_parms()
477 * [[no]sync] Force or prevent recovery of the
544 * authoritative, unless 'rebuild' or '[no]sync' was specified. parse_raid_params()
560 if (!strcasecmp(argv[i], "sync")) { parse_raid_params()
987 DMERR("'rebuild' specified while array is not in-sync");
1078 * of the "sync" directive. rdev_for_each_safe()
1081 * that the "sync" directive is disallowed during the rdev_for_each_safe()
1364 sector_t sync; raid_status() local
1371 sync = rs->md.curr_resync_completed; raid_status()
1373 sync = rs->md.recovery_cp; raid_status()
1375 if (sync >= rs->md.resync_max_sectors) { raid_status()
1380 sync = rs->md.resync_max_sectors; raid_status()
1384 * undergone and initial sync and the health characters raid_status()
1390 * The array may be doing an initial sync, or it may raid_status()
1403 * 'a' = Alive but not in-sync raid_status()
1404 * 'A' = Alive and in-sync raid_status()
1417 * In-sync ratio: raid_status()
1418 * The in-sync ratio shows the progress of: raid_status()
1425 (unsigned long long) sync, raid_status()
1466 DMEMIT(" sync"); raid_status()
/linux-4.1.27/drivers/staging/android/
H A Dsync.h2 * include/linux/sync.h
24 #include "uapi/sync.h"
31 * struct sync_timeline_ops - sync object implementation ops
81 * struct sync_timeline - sync object
112 * struct sync_pt - sync point
143 * struct sync_fence - sync fence
196 * sync_timeline_create() - creates a sync object
209 * sync_timeline_destroy() - destroys a sync object
212 * A sync implementation should call this when the @obj is going away
222 * A sync implementation should call this any time one of it's sync_pts
228 * sync_pt_create() - creates a sync pt
239 * sync_pt_free() - frees a sync pt
248 * sync_fence_create() - creates a sync fence
283 * sync_fence_put() - puts a reference of a sync fence
H A Dsync_debug.c2 * drivers/base/sync.c
29 #include "sync.h"
223 debugfs_create_file("sync", S_IRUGO, NULL, NULL, &sync_debugfs_fops); sync_debugfs_init()
H A Dsw_sync.h22 #include "sync.h"
/linux-4.1.27/arch/blackfin/include/asm/
H A Dbfin_sport3.h39 #define SPORT_CTL_DIFS 0x00008000 /* Data-independent frame sync select */
40 #define SPORT_CTL_LFS 0x00010000 /* Active low frame sync select */
43 #define SPORT_CTL_FSED 0x00080000 /* External frame sync edge select */
60 #define SPORT_DIV_FSDIV 0xFFFF0000 /* Frame sync divisor */
73 #define SPORT_ERR_FSERRMSK 0x00000004 /* Frame sync error interrupt enable */
76 #define SPORT_ERR_FSERRSTAT 0x00000040 /* Frame sync error status */
/linux-4.1.27/arch/mips/include/asm/mach-malta/
H A Dkernel-entry-init.h87 sync
96 sync
139 sync
/linux-4.1.27/arch/avr32/boards/atngw100/
H A Devklcd10x.c44 .sync = 0,
82 .sync = 0,
120 .sync = 0,
/linux-4.1.27/drivers/net/ethernet/sfc/
H A Dmdio_10g.h46 bool sync; efx_mdio_phyxgxs_lane_sync() local
52 sync = !!(lane_status & MDIO_PHYXS_LNSTAT_ALIGN); efx_mdio_phyxgxs_lane_sync()
53 if (!sync) efx_mdio_phyxgxs_lane_sync()
56 return sync; efx_mdio_phyxgxs_lane_sync()
/linux-4.1.27/arch/x86/boot/
H A DMakefile127 MTOOLSRC=$(obj)/mtools.conf mformat a: ; sync
128 syslinux /dev/fd0 ; sync
134 MTOOLSRC=$(obj)/mtools.conf mcopy $(obj)/bzImage a:linux ; sync
139 MTOOLSRC=$(obj)/mtools.conf mformat v: ; sync
140 syslinux $(obj)/fdimage ; sync
146 MTOOLSRC=$(obj)/mtools.conf mcopy $(obj)/bzImage v:linux ; sync
150 MTOOLSRC=$(obj)/mtools.conf mformat w: ; sync
151 syslinux $(obj)/fdimage ; sync
157 MTOOLSRC=$(obj)/mtools.conf mcopy $(obj)/bzImage w:linux ; sync
H A Dinstall.sh57 sync
/linux-4.1.27/arch/mn10300/unit-asb2364/include/unit/
H A Dtimex.h120 u32 sync; startup_timestamp_counter() local
127 sync = TMTSCBR; startup_timestamp_counter()
130 sync = TMTSCICR; startup_timestamp_counter()
134 sync = TMTSCMD; startup_timestamp_counter()
/linux-4.1.27/mm/
H A Dbacking-dev.c477 void clear_bdi_congested(struct backing_dev_info *bdi, int sync) clear_bdi_congested() argument
480 wait_queue_head_t *wqh = &congestion_wqh[sync]; clear_bdi_congested()
482 bit = sync ? BDI_sync_congested : BDI_async_congested; clear_bdi_congested()
484 atomic_dec(&nr_bdi_congested[sync]); clear_bdi_congested()
491 void set_bdi_congested(struct backing_dev_info *bdi, int sync) set_bdi_congested() argument
495 bit = sync ? BDI_sync_congested : BDI_async_congested; set_bdi_congested()
497 atomic_inc(&nr_bdi_congested[sync]); set_bdi_congested()
503 * @sync: SYNC or ASYNC IO
510 long congestion_wait(int sync, long timeout) congestion_wait() argument
515 wait_queue_head_t *wqh = &congestion_wqh[sync]; congestion_wait()
531 * @sync: SYNC or ASYNC IO
536 * jiffies for either a BDI to exit congestion of the given @sync queue
546 long wait_iff_congested(struct zone *zone, int sync, long timeout) wait_iff_congested() argument
551 wait_queue_head_t *wqh = &congestion_wqh[sync]; wait_iff_congested()
558 if (atomic_read(&nr_bdi_congested[sync]) == 0 || wait_iff_congested()
/linux-4.1.27/fs/
H A Dsync.c2 * High-level sync()-related operations
94 * writeback runs on all devices in parallel. Then we sync all inodes reliably
97 * and we tell filesystems to sync their metadata via ->sync_fs() calls.
100 * and do not sync it on their own in ->sync_fs().
102 SYSCALL_DEFINE0(sync) SYSCALL_DEFINE0()
147 * sync a single super
168 * vfs_fsync_range - helper to sync a range of data & metadata to disk
169 * @file: file to sync
170 * @start: offset in bytes of the beginning of data range to sync
196 * @file: file to sync
263 * a traditional sync() operation. This is a write-for-data-integrity operation
H A Dstack.c19 * i_size and i_blocks in sync together. fsstack_copy_inode_size()
25 * keep the two halves of i_blocks in sync despite SMP or PREEMPT - fsstack_copy_inode_size()
48 * two halves of i_blocks in sync despite SMP or PREEMPT: use i_lock fsstack_copy_inode_size()
/linux-4.1.27/drivers/media/dvb-frontends/
H A Dves1820.c243 int sync; ves1820_read_status() local
246 sync = ves1820_readreg(state, 0x11); ves1820_read_status()
248 if (sync & 1) ves1820_read_status()
251 if (sync & 2) ves1820_read_status()
254 if (sync & 2) /* XXX FIXME! */ ves1820_read_status()
257 if (sync & 4) ves1820_read_status()
260 if (sync & 8) ves1820_read_status()
317 int sync; ves1820_get_frontend() local
320 sync = ves1820_readreg(state, 0x11); ves1820_get_frontend()
324 printk(sync & 2 ? "ves1820: AFC (%d) %dHz\n" : ves1820_get_frontend()
339 if (sync & 2) ves1820_get_frontend()
H A Dves1x93.c304 u8 sync = ves1x93_readreg (state, 0x0e); ves1x93_read_status() local
307 * The ves1893 sometimes returns sync values that make no sense, ves1x93_read_status()
316 while ((sync & 0x03) != 0x03 && (sync & 0x0c) && maxtry--) { ves1x93_read_status()
318 sync = ves1x93_readreg (state, 0x0e); ves1x93_read_status()
323 if (sync & 1) ves1x93_read_status()
326 if (sync & 2) ves1x93_read_status()
329 if (sync & 4) ves1x93_read_status()
332 if (sync & 8) ves1x93_read_status()
335 if ((sync & 0x1f) == 0x1f) ves1x93_read_status()
H A Dtda10021.c314 int sync; tda10021_read_status() local
322 sync = tda10021_readreg (state, 0x11); tda10021_read_status()
324 if (sync & 2) tda10021_read_status()
327 if (sync & 4) tda10021_read_status()
330 if (sync & 8) tda10021_read_status()
393 int sync; tda10021_get_frontend() local
396 sync = tda10021_readreg(state, 0x11); tda10021_get_frontend()
400 printk(sync & 2 ? "DVB: TDA10021(%d): AFC (%d) %dHz\n" : tda10021_get_frontend()
412 if (sync & 2) tda10021_get_frontend()
H A Dtda10023.c382 int sync; tda10023_read_status() local
390 sync = tda10023_readreg (state, 0x11); tda10023_read_status()
392 if (sync & 2) tda10023_read_status()
395 if (sync & 4) tda10023_read_status()
398 if (sync & 8) tda10023_read_status()
463 int sync,inv; tda10023_get_frontend() local
466 sync = tda10023_readreg(state, 0x11); tda10023_get_frontend()
472 printk(sync & 2 ? "DVB: TDA10023(%d): AFC (%d) %dHz\n" : tda10023_get_frontend()
484 if (sync & 2) tda10023_get_frontend()
H A Dtda8083.c248 u8 sync = tda8083_readreg (state, 0x02); tda8083_read_status() local
255 if (sync & 0x01) tda8083_read_status()
258 if (sync & 0x02) tda8083_read_status()
261 if (sync & 0x10) tda8083_read_status()
264 if (sync & 0x20) /* frontend can not lock */ tda8083_read_status()
267 if ((sync & 0x1f) == 0x1f) tda8083_read_status()
H A Dstv0288.c368 u8 sync = stv0288_readreg(state, 0x24); stv0288_read_status() local
369 if (sync == 255) stv0288_read_status()
370 sync = 0; stv0288_read_status()
372 dprintk("%s : FE_READ_STATUS : VSTATUS: 0x%02x\n", __func__, sync); stv0288_read_status()
375 if (sync & 0x80) stv0288_read_status()
377 if (sync & 0x10) stv0288_read_status()
379 if (sync & 0x08) { stv0288_read_status()
/linux-4.1.27/arch/s390/kernel/
H A Dtime.c344 * value to the clock pointer and return 0 if the clock is in sync with
346 * -EOPNOTSUPP and -EAGAIN if the clock is not in sync with the external
360 /* Success: time is in sync. */ get_sync_clock()
379 * Clear the in-sync bit 2^31. All get_sync_clock calls will disable_sync_clock()
380 * fail until the sync bit is turned back on. In addition disable_sync_clock()
399 * Function to check if the clock is in sync.
412 /* Single threaded workqueue used for etr and stp sync events */
461 * 0 1 x 0 1 1 1 0 port 1 online, usable, PPS mode, in-sync
462 * 0 1 x 0 1 1 1 1 port 1 online, usable, ETR mode, in-sync
464 * 0 1 x 1 1 1 1 0 both ports online, port 1 usable, PPS mode, in-sync
465 * 0 1 x 1 1 1 1 1 both ports online, port 1 usable, ETR mode, in-sync
468 * 1 0 x 1 0 1 1 0 port 0 online, usable, PPS mode, in-sync
469 * 1 0 x 1 0 1 1 1 port 0 online, usable, ETR mode, in-sync
471 * 1 0 x 1 1 1 1 0 both ports online, port 0 usable, PPS mode, in-sync
472 * 1 0 x 1 1 1 1 1 both ports online, port 0 usable, ETR mode, in-sync
473 * 1 1 x 1 1 1 1 0 both ports online & usable, ETR, in-sync
474 * 1 1 x 1 1 1 1 1 both ports online & usable, ETR, in-sync
538 * ETR-sync-check interrupt request is pending but disabled, this pending
546 * ETR port goes inactive. After switch to local the clock is not in sync.
561 * ETR sync check machine check. This is called when the ETR OTE and the
562 * local clock OTE are farther apart than the ETR sync check tolerance.
563 * After a ETR sync check the clock is not in sync. The machine check
719 static void clock_sync_cpu(struct clock_sync_data *sync) clock_sync_cpu() argument
721 atomic_dec(&sync->cpus); clock_sync_cpu()
729 while (sync->in_sync == 0) { clock_sync_cpu()
737 if (sync->in_sync != 1) clock_sync_cpu()
738 /* Didn't work. Clear per-cpu in sync bit again. */ clock_sync_cpu()
744 fixup_clock_comparator(sync->fixup_cc); clock_sync_cpu()
769 /* Wait until all other cpus entered the sync function. */ etr_sync_clock()
823 /* Check if the current aib is adjacent to the sync port aib. */ etr_sync_clock_stop()
935 * is not in sync yet. etr_handle_update()
1043 * 4) To enable the second port the clock needs to be in sync. etr_work_fn()
1096 * If the clock is in sync just update the eacr and return. etr_work_fn()
1097 * If there is no valid sync port wait for a port update. etr_work_fn()
1107 * (reset data port bit, set sync check control. etr_work_fn()
1116 * clock syncing failed, reset the sync check control bit etr_work_fn()
1502 * STP sync check machine check. This is called when the timing state
1504 * After a STP sync check the clock is not in sync. The machine check
1541 /* Wait until all other cpus entered the sync function. */ stp_sync_clock()
1597 /* Skip synchronization if the clock is already in sync. */ stp_work_fn()
/linux-4.1.27/drivers/net/fddi/skfp/h/
H A Dfddi.h50 #define FC_SYNC_LLC 0xd0 /* sync. LLC frame */
52 #define FC_SYNC_BIT 0x80 /* sync. bit in FC */
H A Dsba.h89 long sba_allocatable ; /* allocatable sync bandwidth */
129 u_char sync_bw_available ; /* is set if sync bw is allocated */
139 long sync_bw ; /* holds the allocaed sync bw */
/linux-4.1.27/drivers/staging/android/trace/
H A Dsync.h3 #define TRACE_SYSTEM sync
8 #include "../sync.h"
/linux-4.1.27/drivers/rtc/
H A Dhctosys.c20 * in an rtc sync function, to read both xtime.tv_sec and
23 * slow down the sync API. So here we have the truncated value and
H A Drtc-88pm860x.c34 int (*sync)(unsigned int ticks); member in struct:pm860x_rtc_info
158 if (info->sync) pm860x_rtc_set_time()
159 info->sync(ticks); pm860x_rtc_set_time()
372 if (pdata && pdata->sync) { pm860x_rtc_probe()
373 pdata->sync(ticks); pm860x_rtc_probe()
374 info->sync = pdata->sync; pm860x_rtc_probe()
/linux-4.1.27/arch/mips/include/uapi/asm/
H A Dsigcontext.h18 * Keep this struct definition in sync with the sigcontext fragment
48 * Keep this struct definition in sync with the sigcontext fragment
/linux-4.1.27/arch/cris/include/arch-v10/arch/
H A Ddma.h52 dma_ser1, /* Async and sync */
54 dma_ser3, /* Async and sync */
/linux-4.1.27/drivers/net/ethernet/ti/
H A Dcpts.h34 u32 control; /* Time sync control */
40 u32 intstat_raw; /* Time sync interrupt status raw */
41 u32 intstat_masked; /* Time sync interrupt status masked */
42 u32 int_enable; /* Time sync interrupt enable */
81 #define EVENT_TYPE_SHIFT (20) /* Time sync event type */
/linux-4.1.27/arch/mips/include/asm/octeon/
H A Dcvmx-asm.h38 #define CVMX_SYNC asm volatile ("sync" : : : "memory")
61 * Define new sync instructions to be normal SYNC instructions for
69 * Not using a Cavium compiler, always use the slower sync so the
75 #define CVMX_SYNCIOBDMA asm volatile ("sync" : : : "memory")
80 #define CVMX_SYNCW asm volatile ("sync" : : : "memory")
/linux-4.1.27/fs/ntfs/
H A Dmft.h80 MFT_RECORD *m, int sync);
82 extern int write_mft_record_nolock(ntfs_inode *ni, MFT_RECORD *m, int sync);
88 * @sync: if true, wait for i/o completion
102 static inline int write_mft_record(ntfs_inode *ni, MFT_RECORD *m, int sync) write_mft_record() argument
109 err = write_mft_record_nolock(ni, m, sync); write_mft_record()
/linux-4.1.27/include/linux/
H A Dnfs_page.h31 PG_TEARDOWN, /* page group sync for destroy */
32 PG_UNLOCKPAGE, /* page group sync bit in read path */
33 PG_UPTODATE, /* page group sync bit in read path */
34 PG_WB_END, /* page group sync bit in write path */
35 PG_REMOVE, /* page group sync bit in write path */
H A Damifdreg.h47 #define ADK_MSBSYNC (1<<9) /* when 1, enable sync on MSbit (for GCR) */
67 #define MFM_SYNC 0x4489 /* standard MFM sync value */
H A Dbacking-dev.h32 BDI_sync_congested, /* The sync queue is getting full */
276 void clear_bdi_congested(struct backing_dev_info *bdi, int sync);
277 void set_bdi_congested(struct backing_dev_info *bdi, int sync);
278 long congestion_wait(int sync, long timeout);
279 long wait_iff_congested(struct zone *zone, int sync, long timeout);
H A Dvmpressure.h15 /* The lock is used to keep the scanned/reclaimed above in sync. */
H A Dadb.h34 int (*send_request)(struct adb_request *req, int sync);
H A Ddrbd.h223 C_STARTING_SYNC_S, /* starting full sync by admin request. */
224 C_STARTING_SYNC_T, /* starting full sync by admin request. */
275 unsigned aftr_isp:1 ; /* isp .. imposed sync pause */
287 unsigned aftr_isp:1 ; /* isp .. imposed sync pause */
/linux-4.1.27/drivers/gpu/drm/nouveau/
H A Dnv50_display.c51 /* offsets in shared sync bo of various structures */
185 struct nvif_object sync; member in struct:nv50_dmac
198 nvif_object_fini(&dmac->sync); nv50_dmac_destroy()
249 &dmac->sync); nv50_dmac_create()
367 struct nv50_sync sync; member in struct:nv50_head
374 #define nv50_sync(c) (&nv50_head(c)->sync)
392 struct nouveau_bo *sync; member in struct:nv50_disp
476 nouveau_bo_wr32(disp->sync, EVO_MAST_NTFY, 0x00000000); evo_sync()
483 if (nv_wait_cb(nvxx_device(device), evo_sync_wait, disp->sync)) evo_sync()
496 return nv50_disp(dev)->sync; nv50_display_crtc_sema()
508 if (nouveau_bo_rd32(flip->disp->sync, flip->chan->addr / 4) == nv50_display_flip_wait()
548 struct nv50_sync *sync = nv50_sync(crtc); nv50_display_flip_next() local
562 push = evo_wait(sync, 128); nv50_display_flip_next()
573 OUT_RING (chan, sync->addr ^ 0x10); nv50_display_flip_next()
575 OUT_RING (chan, sync->data + 1); nv50_display_flip_next()
577 OUT_RING (chan, sync->addr); nv50_display_flip_next()
578 OUT_RING (chan, sync->data); nv50_display_flip_next()
581 u64 addr = nv84_fence_crtc(chan, nv_crtc->index) + sync->addr; nv50_display_flip_next()
591 OUT_RING (chan, sync->data + 1); nv50_display_flip_next()
596 OUT_RING (chan, sync->data); nv50_display_flip_next()
600 u64 addr = nv84_fence_crtc(chan, nv_crtc->index) + sync->addr; nv50_display_flip_next()
608 OUT_RING (chan, sync->data + 1); nv50_display_flip_next()
614 OUT_RING (chan, sync->data); nv50_display_flip_next()
620 sync->addr ^= 0x10; nv50_display_flip_next()
621 sync->data++; nv50_display_flip_next()
635 evo_data(push, sync->addr); nv50_display_flip_next()
636 evo_data(push, sync->data++); nv50_display_flip_next()
637 evo_data(push, sync->data); nv50_display_flip_next()
638 evo_data(push, sync->base.sync.handle); nv50_display_flip_next()
647 if (nv50_vers(sync) < GF110_DISP_BASE_CHANNEL_DMA) { nv50_display_flip_next()
664 evo_kick(push, sync); nv50_display_flip_next()
1363 nv50_dmac_destroy(&head->sync.base, disp->disp); nv50_crtc_destroy()
1459 /* allocate page flip / sync resources */ nv50_crtc_create()
1460 ret = nv50_base_create(disp->disp, index, disp->sync->bo.offset, nv50_crtc_create()
1461 &head->sync); nv50_crtc_create()
1465 head->sync.addr = EVO_FLIP_SEM0(index); nv50_crtc_create()
1466 head->sync.data = 0x00000000; nv50_crtc_create()
1473 ret = nv50_ovly_create(disp->disp, index, disp->sync->bo.offset, nv50_crtc_create()
2341 int ret = nvif_object_init(&head->sync.base.base.user, NULL, nv50_fbdma_init()
2430 struct nv50_sync *sync = nv50_sync(crtc); nv50_display_init() local
2433 nouveau_bo_wr32(disp->sync, sync->addr / 4, sync->data); nv50_display_init()
2437 evo_data(push, nv50_mast(dev)->base.sync.handle); nv50_display_init()
2454 nouveau_bo_unmap(disp->sync); nv50_display_destroy()
2455 if (disp->sync) nv50_display_destroy()
2456 nouveau_bo_unpin(disp->sync); nv50_display_destroy()
2457 nouveau_bo_ref(NULL, &disp->sync); nv50_display_destroy()
2489 0, 0x0000, NULL, NULL, &disp->sync); nv50_display_create()
2491 ret = nouveau_bo_pin(disp->sync, TTM_PL_FLAG_VRAM, true); nv50_display_create()
2493 ret = nouveau_bo_map(disp->sync); nv50_display_create()
2495 nouveau_bo_unpin(disp->sync); nv50_display_create()
2498 nouveau_bo_ref(NULL, &disp->sync); nv50_display_create()
2505 ret = nv50_core_create(disp->disp, disp->sync->bo.offset, nv50_display_create()
H A Dnv50_fence.c52 fctx->base.sync = nv17_fence_sync; nv50_fence_context_new()
63 /* dma objects for display sync channel semaphore blocks */ nv50_fence_context_new()
/linux-4.1.27/net/core/
H A Ddev_addr_lists.c26 bool sync) __hw_addr_create_ex()
41 ha->synced = sync ? 1 : 0; __hw_addr_create_ex()
51 unsigned char addr_type, bool global, bool sync, __hw_addr_add_ex()
69 if (sync) { __hw_addr_add_ex()
81 sync); __hw_addr_add_ex()
94 bool sync) __hw_addr_del_entry()
99 if (sync && !ha->synced) __hw_addr_del_entry()
105 if (sync) __hw_addr_del_entry()
118 unsigned char addr_type, bool global, bool sync) __hw_addr_del_ex()
125 return __hw_addr_del_entry(list, ha, global, sync); __hw_addr_del_ex()
193 * sync addresses to more then 1 destination, you need to use
231 * @dev: device to sync
232 * @sync: function to call if address should be added
243 int (*sync)(struct net_device *, const unsigned char *), __hw_addr_sync_dev()
263 /* go through and sync new entries to the list */ __hw_addr_sync_dev()
268 err = sync(dev, ha->addr); __hw_addr_sync_dev()
283 * @dev: device to sync
555 * device, but allow for multiple calls to sync to multiple devices.
776 * device, but allow for multiple calls to sync to multiple devices.
23 __hw_addr_create_ex(struct netdev_hw_addr_list *list, const unsigned char *addr, int addr_len, unsigned char addr_type, bool global, bool sync) __hw_addr_create_ex() argument
49 __hw_addr_add_ex(struct netdev_hw_addr_list *list, const unsigned char *addr, int addr_len, unsigned char addr_type, bool global, bool sync, int sync_count) __hw_addr_add_ex() argument
92 __hw_addr_del_entry(struct netdev_hw_addr_list *list, struct netdev_hw_addr *ha, bool global, bool sync) __hw_addr_del_entry() argument
116 __hw_addr_del_ex(struct netdev_hw_addr_list *list, const unsigned char *addr, int addr_len, unsigned char addr_type, bool global, bool sync) __hw_addr_del_ex() argument
/linux-4.1.27/drivers/gpu/drm/omapdrm/
H A Domap_gem.c42 #define OMAP_BO_EXT_SYNC 0x02000000 /* externally allocated sync object */
99 * sync-object allocated on demand (if needed)
101 * Per-buffer sync-object for tracking pending and completed hw/dma
106 * Note that when buffer is used by SGX, the sync-object needs to be
107 * allocated from a special heap of sync-objects. This way many sync
119 } *sync; member in struct:omap_gem_object
708 /* sync the buffer for DMA access */ omap_gem_dma_sync()
1046 (omap_obj->sync->write_complete < waiter->write_target)) is_waiting()
1049 (omap_obj->sync->read_complete < waiter->read_target)) is_waiting()
1054 /* macro for sync debug.. */
1083 if (!omap_obj->sync) { sync_op()
1084 omap_obj->sync = kzalloc(sizeof(*omap_obj->sync), GFP_ATOMIC); sync_op()
1085 if (!omap_obj->sync) { sync_op()
1093 omap_obj->sync->read_pending++; sync_op()
1095 omap_obj->sync->write_pending++; sync_op()
1098 omap_obj->sync->read_complete++; sync_op()
1100 omap_obj->sync->write_complete++; sync_op()
1148 if (omap_obj->sync) { omap_gem_op_sync()
1158 waiter->read_target = omap_obj->sync->read_pending; omap_gem_op_sync()
1159 waiter->write_target = omap_obj->sync->write_pending; omap_gem_op_sync()
1200 if (omap_obj->sync) { omap_gem_op_async()
1209 waiter->read_target = omap_obj->sync->read_pending; omap_gem_op_async()
1210 waiter->write_target = omap_obj->sync->write_pending; omap_gem_op_async()
1233 /* special API so PVR can update the buffer to use a sync-object allocated
1234 * from it's sync-obj heap. Only used for a newly allocated (from PVR's
1235 * perspective) sync-object, so we overwrite the new syncobj w/ values
1247 syncobj = kmemdup(omap_obj->sync, sizeof(*omap_obj->sync), omap_gem_set_sync_object()
1254 omap_obj->sync = syncobj; omap_gem_set_sync_object()
1257 if (omap_obj->sync) { omap_gem_set_sync_object()
1258 memcpy(syncobj, omap_obj->sync, sizeof(*omap_obj->sync)); omap_gem_set_sync_object()
1259 kfree(omap_obj->sync); omap_gem_set_sync_object()
1262 omap_obj->sync = syncobj; omap_gem_set_sync_object()
1309 kfree(omap_obj->sync); omap_gem_free_object()
/linux-4.1.27/drivers/media/platform/am437x/
H A Dam437x-vpfe.h50 /* YCbCr - 8 bit with external sync */
52 /* YCbCr - 16 bit with external sync */
162 /* vertical sync polarity */
164 /* horizontal sync polarity */
191 /* vertical sync polarity */
193 /* horizontal sync polarity */
195 /* enable BT.656 embedded sync mode */
/linux-4.1.27/drivers/video/fbdev/geode/
H A Dvideo_gx.c210 /* Configure sync polarity */ gx_configure_tft()
212 if (!(info->var.sync & FB_SYNC_VERT_HIGH_ACT)) gx_configure_tft()
215 if (!(info->var.sync & FB_SYNC_HOR_HIGH_ACT)) gx_configure_tft()
253 /* Set default sync skew. */ gx_configure_display()
270 /* Only change the sync polarities if we are running gx_configure_display()
273 if (!(info->var.sync & FB_SYNC_HOR_HIGH_ACT)) gx_configure_display()
275 if (!(info->var.sync & FB_SYNC_VERT_HIGH_ACT)) gx_configure_display()
H A Dvideo_cs5530.c113 /* Set default sync skew and power sequence delays. */ cs5530_configure_display()
129 if (info->var.sync & FB_SYNC_HOR_HIGH_ACT) cs5530_configure_display()
131 if (info->var.sync & FB_SYNC_VERT_HIGH_ACT) cs5530_configure_display()
/linux-4.1.27/include/uapi/linux/
H A Dip_vs.h37 * IPVS sync daemon states
87 #define IP_VS_CONN_F_SYNC 0x0020 /* entry created by sync */
267 /* sync daemon state (master/backup) */
307 IPVS_CMD_NEW_DAEMON, /* start sync daemon */
308 IPVS_CMD_DEL_DAEMON, /* stop sync daemon */
309 IPVS_CMD_GET_DAEMON, /* get sync daemon status */
330 IPVS_CMD_ATTR_DAEMON, /* nested sync daemon attribute */
400 * Attributes describing a sync daemon
406 IPVS_DAEMON_ATTR_STATE, /* sync daemon state (master/backup) */
H A Dfb.h210 #define FB_SYNC_HOR_HIGH_ACT 1 /* horizontal sync high active */
211 #define FB_SYNC_VERT_HIGH_ACT 2 /* vertical sync high active */
212 #define FB_SYNC_EXT 4 /* external sync */
213 #define FB_SYNC_COMP_HIGH_ACT 8 /* composite sync high active */
217 #define FB_SYNC_ON_GREEN 32 /* sync on green */
267 __u32 left_margin; /* time from sync to picture */
268 __u32 right_margin; /* time from picture to sync */
269 __u32 upper_margin; /* time from sync to picture */
271 __u32 hsync_len; /* length of horizontal sync */
272 __u32 vsync_len; /* length of vertical sync */
273 __u32 sync; /* see FB_SYNC_* */ member in struct:fb_var_screeninfo
H A Disdn_ppp.h1 /* Linux ISDN subsystem, sync PPP, interface to ipppd
H A Dkexec.h5 * kexec does not sync, or unmount filesystems so if you need
/linux-4.1.27/include/sound/
H A Djack.h49 * Note that this must be kept in sync with the lookup table in
71 /* Keep in sync with definitions above */
80 unsigned int key[6]; /* Keep in sync with definitions above */
/linux-4.1.27/arch/mips/sni/
H A Da20r.c157 " sync \n" a20r_ack_hwint()
165 " sync \n" a20r_ack_hwint()
172 " sync \n" a20r_ack_hwint()
/linux-4.1.27/sound/core/seq/oss/
H A Dseq_oss_writeq.c4 * seq_oss_writeq.c - write queue and sync
123 /* interrupted - return 0 to finish sync */ snd_seq_oss_writeq_sync()
131 * wake up sync - echo event was catched
/linux-4.1.27/sound/soc/fsl/
H A Dfsl_sai.c57 dev_warn(dev, "isr: Tx Frame sync error detected\n"); fsl_sai_isr()
91 dev_warn(dev, "isr: Rx Frame sync error detected\n"); fsl_sai_isr()
185 * Frame low, 1clk before data, one word length for frame sync, fsl_sai_set_dai_fmt_tr()
186 * frame sync starts one serial clock cycle earlier, fsl_sai_set_dai_fmt_tr()
195 * Frame high, one word length for frame sync, fsl_sai_set_dai_fmt_tr()
196 * frame sync asserts with the first bit of the frame. fsl_sai_set_dai_fmt_tr()
202 * Frame high, 1clk before data, one bit for frame sync, fsl_sai_set_dai_fmt_tr()
203 * frame sync starts one serial clock cycle earlier, fsl_sai_set_dai_fmt_tr()
213 * Frame high, one bit for frame sync, fsl_sai_set_dai_fmt_tr()
214 * frame sync asserts with the first bit of the frame. fsl_sai_set_dai_fmt_tr()
334 * Rx sync with Tx clocks: Clear SYNC for Tx, set it for Rx. fsl_sai_trigger()
335 * Tx sync with Rx clocks: Clear SYNC for Rx, set it for Tx. fsl_sai_trigger()
/linux-4.1.27/drivers/video/fbdev/core/
H A Dsvgalib.c184 pr_debug("fb%d: var.sync : 0x%X\n", node, var->sync);
464 /* Check horizontal sync start */ svga_check_timings()
474 /* Check horizontal sync end (or length) */ svga_check_timings()
491 /* Check vertical sync start */ svga_check_timings()
501 /* Check vertical sync end (or length) */ svga_check_timings()
539 pr_debug("fb%d: horizontal sync start : %d\n", node, value); svga_set_timings()
544 pr_debug("fb%d: horizontal sync end : %d\n", node, value); svga_set_timings()
569 pr_debug("fb%d: vertical sync start : %d\n", node, value); svga_set_timings()
574 pr_debug("fb%d: vertical sync end : %d\n", node, value); svga_set_timings()
577 /* Set horizontal and vertical sync pulse polarity in misc register */ svga_set_timings()
580 if (var->sync & FB_SYNC_HOR_HIGH_ACT) { svga_set_timings()
581 pr_debug("fb%d: positive horizontal sync\n", node); svga_set_timings()
584 pr_debug("fb%d: negative horizontal sync\n", node); svga_set_timings()
587 if (var->sync & FB_SYNC_VERT_HIGH_ACT) { svga_set_timings()
588 pr_debug("fb%d: positive vertical sync\n", node); svga_set_timings()
591 pr_debug("fb%d: negative vertical sync\n\n", node); svga_set_timings()
/linux-4.1.27/arch/xtensa/boot/boot-elf/
H A Dboot.lds.S47 * It keeps gdb in sync with the PC after switching
/linux-4.1.27/arch/mips/include/asm/mach-paravirt/
H A Dkernel-entry-init.h46 sync
/linux-4.1.27/include/linux/netfilter/
H A Dnf_conntrack_tcp.h27 /* For SYN packets while we may be out-of-sync */
/linux-4.1.27/arch/powerpc/sysdev/
H A D6xx-suspend.S40 sync
H A Dppc4xx_soc.c127 asm volatile ("sync" ::: "memory"); ppc4xx_l2c_probe()
168 asm volatile ("sync" ::: "memory"); ppc4xx_l2c_probe()
184 asm volatile ("sync; isync" ::: "memory"); ppc4xx_l2c_probe()
/linux-4.1.27/arch/sh/include/uapi/asm/
H A Dcpu-features.h8 * arch/sh/kernel/setup.c in sync so symbolic name
/linux-4.1.27/arch/mips/loongson/common/
H A Dsetup.c27 "sync\n\t" wbflush_loongson()
/linux-4.1.27/arch/nios2/boot/
H A Dinstall.sh52 sync
/linux-4.1.27/arch/avr32/boards/merisc/
H A Ddisplay.c31 .sync = 0,
/linux-4.1.27/arch/blackfin/include/uapi/asm/
H A Dbfin_sport.h31 unsigned int frame_delay:4; /* Delay between frame sync pulse and first bit */
38 unsigned int fsync:1; /* Frame sync required */
39 unsigned int data_indep:1; /* data independent frame sync generated */
41 unsigned int late_fsync:1; /* Late frame sync */
/linux-4.1.27/arch/m68k/
H A Dinstall.sh52 sync
/linux-4.1.27/arch/arm/mach-omap2/
H A Dusb-tusb6010.c125 printk(error, "sync", status); tusb6010_platform_retime()
165 unsigned async, unsigned sync, tusb6010_setup_interface()
188 status = gpmc_cs_request(sync, SZ_16M, (unsigned long *) tusb6010_setup_interface()
196 sync_cs = sync; tusb6010_setup_interface()
163 tusb6010_setup_interface(struct musb_hdrc_platform_data *data, unsigned ps_refclk, unsigned waitpin, unsigned async, unsigned sync, unsigned irq, unsigned dmachan) tusb6010_setup_interface() argument
H A Dopp2xxx.h134 #define RIII_SYNC_DSP (1 << 7) /* Enable sync */
136 #define RIII_SYNC_IVA (1 << 13) /* Enable sync */
155 #define RII_SYNC_DSP (0 << 7) /* Bypass sync */
157 #define RII_SYNC_IVA (0 << 13) /* Bypass sync */
176 #define RI_SYNC_DSP (1 << 7) /* Activate sync */
178 #define RI_SYNC_IVA (0 << 13) /* Bypass sync */
/linux-4.1.27/arch/arm/include/asm/
H A Doutercache.h35 void (*sync)(void); member in struct:outer_cache_fns
134 * outer_sync - perform a sync point for outer cache outer_resume()
141 if (outer_cache.sync) outer_sync()
142 outer_cache.sync(); outer_sync()
/linux-4.1.27/arch/arm/include/debug/
H A Dimx.S18 * stay sync with that. It's hard to maintain, and should be fixed
/linux-4.1.27/tools/perf/
H A Dperf-sys.h46 #define mb() asm volatile ("sync" ::: "memory")
47 #define wmb() asm volatile ("sync" ::: "memory")
48 #define rmb() asm volatile ("sync" ::: "memory")
128 "sync\n\t" \
/linux-4.1.27/tools/testing/selftests/powerpc/pmu/ebb/
H A Dreg.h19 #define mb() asm volatile("sync" : : : "memory");
/linux-4.1.27/include/uapi/asm-generic/
H A Dmman-common.h28 #define MS_ASYNC 1 /* sync memory asynchronously */
30 #define MS_SYNC 4 /* synchronous memory sync */
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dsubcore-asm.S31 sync
54 sync
/linux-4.1.27/arch/arm/mach-sa1100/
H A Dlart.c42 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
70 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
H A Dshannon.c68 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
/linux-4.1.27/arch/arm/mach-nspire/
H A Dclcd.c24 .sync = 0,
48 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
/linux-4.1.27/tools/testing/selftests/powerpc/primitives/asm/
H A Dasm-compat.h73 /* Erratum #77 on the 405 means we need a sync or dcbt before every
77 #define PPC405_ERR77_SYNC stringify_in_c(sync;)
/linux-4.1.27/drivers/gpu/drm/i2c/
H A Dadv7511.h212 * enum adv7511_sync_polarity - Polarity for the input sync signals
219 * ADV7511 to internally invert the sync signal if required to match the sync
224 * the sync signals with the correct polarity.
240 * @embedded_sync: Video input uses BT.656-style embedded sync
241 * @sync_pulse: Select the sync pulse
/linux-4.1.27/arch/arm/mach-pxa/
H A Dcm-x2xx.c210 .sync = (FB_SYNC_HOR_HIGH_ACT | cmx2xx_init_leds()
235 .sync = 0,
259 .sync = (FB_SYNC_HOR_HIGH_ACT |
283 .sync = (FB_SYNC_HOR_HIGH_ACT |
307 .sync = 0,
330 .sync = (FB_SYNC_HOR_HIGH_ACT |
H A Dlpd270.c301 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
323 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
345 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
367 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
389 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
411 .sync = FB_SYNC_HOR_HIGH_ACT | FB_SYNC_VERT_HIGH_ACT,
H A Dzylonite.c150 .sync = FB_SYNC_VERT_HIGH_ACT,
164 .sync = FB_SYNC_HOR_HIGH_ACT|FB_SYNC_VERT_HIGH_ACT,
184 .sync = 0,
197 .sync = 0,
/linux-4.1.27/drivers/media/i2c/
H A Dvs6624_regs.h299 #define VS6624_SYNC_CODE_SETUP 0x2584 /* sync code setup */
300 #define VS6624_HSYNC_SETUP 0x2586 /* H sync setup */
301 #define VS6624_VSYNC_SETUP 0x2588 /* V sync setup */
309 #define VS6624_VSYNC_RIS_COARSE_H 0x2598 /* V sync rising coarse high */
310 #define VS6624_VSYNC_RIS_COARSE_L 0x259A /* V sync rising coarse low */
311 #define VS6624_VSYNC_RIS_FINE_H 0x259C /* V sync rising fine high */
312 #define VS6624_VSYNC_RIS_FINE_L 0x259E /* V sync rising fine low */
313 #define VS6624_VSYNC_FALL_COARSE_H 0x25A0 /* V sync falling coarse high */
314 #define VS6624_VSYNC_FALL_COARSE_L 0x25A2 /* V sync falling coarse low */
315 #define VS6624_VSYNC_FALL_FINE_H 0x25A4 /* V sync falling fine high */
316 #define VS6624_VSYNC_FALL_FINE_L 0x25A6 /* V sync falling fine low */
317 #define VS6624_HSYNC_RIS_H 0x25A8 /* H sync rising high */
318 #define VS6624_HSYNC_RIS_L 0x25AA /* H sync rising low */
319 #define VS6624_HSYNC_FALL_H 0x25AC /* H sync falling high */
320 #define VS6624_HSYNC_FALL_L 0x25AE /* H sync falling low */
H A Dths8200.c232 /* Distance from leading edge of h sync to start of active video. ths8200_setup()
284 * 0x9 - Full normal sync pulse: Blocks data when dtg1_pass is off. ths8200_setup()
301 /* h sync width transmitted */ ths8200_setup()
306 /* The pixel value h sync is asserted on */ ths8200_setup()
311 /* v sync width transmitted (must add 1 to get correct output) */ ths8200_setup()
316 /* The pixel value v sync is asserted on (must add 1 to get correct output) */ ths8200_setup()
328 /* Internal delay factors to synchronize the sync pulses and the data */ ths8200_setup()
335 /* Polarity of received and transmitted sync signals */ ths8200_setup()
355 "horizontal: front porch %d, back porch %d, sync %d\n" ths8200_setup()
356 "vertical: sync %d\n", __func__, htotal(bt), vtotal(bt), ths8200_setup()
/linux-4.1.27/arch/powerpc/xmon/
H A Dxmon.c251 static inline void sync(void) sync() function
253 asm volatile("sync; isync"); sync()
258 asm volatile ("dcbst 0,%0; sync; icbi 0,%0; isync" : : "r" (p)); store_inst()
1340 sync(); get_function_bounds()
1346 sync(); get_function_bounds()
1522 sync(); prregs()
1524 sync(); prregs()
1588 sync(); cacheflush()
1597 sync(); cacheflush()
1629 sync(); read_spr()
1633 sync(); read_spr()
1665 sync(); write_spr()
1669 sync(); write_spr()
1729 sync(); mread()
1745 sync(); mread()
1748 sync(); mread()
1766 sync(); mwrite()
1782 sync(); mwrite()
1785 sync(); mwrite()
2083 sync(); dump_one_paca()
2125 sync(); dump_one_paca()
2316 sync(); dump_log_buf()
2324 sync(); dump_log_buf()
2468 sync(); proccall()
2471 sync(); proccall()
2573 sync(); scanhex()
2575 sync(); scanhex()
2686 sync(); symbol_lookup()
2692 sync(); symbol_lookup()
2712 sync(); xmon_print_symbol()
2715 sync(); xmon_print_symbol()
3065 sync(); stop_spus()
3078 sync(); stop_spus()
3111 sync(); restart_spus()
3118 sync(); restart_spus()
3135 sync(); \
3138 sync(); \
3199 sync(); dump_spu_ls()
3201 sync(); dump_spu_ls()
/linux-4.1.27/sound/soc/sh/rcar/
H A Dsrc.c25 struct rsnd_kctrl_cfg_s sen; /* sync convert enable */
26 struct rsnd_kctrl_cfg_s sync; /* sync convert */ member in struct:rsnd_src
251 convert_rate = src->sync.val; rsnd_src_convert_rate()
362 /* reset sync convert_rate */ rsnd_src_init()
363 src->sync.val = 0; rsnd_src_init()
388 /* reset sync convert_rate */ rsnd_src_quit()
389 src->sync.val = 0; rsnd_src_quit()
885 * enable SRC sync convert if possible rsnd_src_pcm_new()
895 * SRC sync convert needs clock master rsnd_src_pcm_new()
901 * We can't use SRC sync convert rsnd_src_pcm_new()
908 * enable sync convert rsnd_src_pcm_new()
924 &src->sync, 192000); rsnd_src_pcm_new()
/linux-4.1.27/drivers/macintosh/
H A Dvia-cuda.c91 static int cuda_send_request(struct adb_request *req, int sync);
280 /* sync with the CUDA - assert TACK without TIP */ cuda_init_via()
284 WAIT_FOR((in_8(&via[B]) & TREQ) == 0, "CUDA response to sync"); cuda_init_via()
287 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (2)"); cuda_init_via()
291 /* finish the sync by negating TACK */ cuda_init_via()
295 WAIT_FOR(in_8(&via[B]) & TREQ, "CUDA response to sync (3)"); cuda_init_via()
296 WAIT_FOR(in_8(&via[IFR]) & SR_INT, "CUDA response to sync (4)"); cuda_init_via()
307 cuda_send_request(struct adb_request *req, int sync) cuda_send_request() argument
322 if (sync) { cuda_send_request()
H A Dvia-maciisi.c82 static int maciisi_send_request(struct adb_request* req, int sync);
229 maciisi_send_request(struct adb_request* req, int sync) maciisi_send_request() argument
248 printk(" sync %d\n", sync); maciisi_send_request()
260 * when to sync a packet that it sends out. maciisi_send_request()
264 if(i == -EBUSY && sync) maciisi_send_request()
270 if(sync) maciisi_send_request()
/linux-4.1.27/sound/soc/tegra/
H A Dtegra20_ac97.c74 * although sync line is driven by the DAC pad group warm reset using tegra20_ac97_codec_warm_reset()
75 * the controller cmd is not working, have to toggle sync line tegra20_ac97_codec_warm_reset()
78 gpio_request(workdata->sync_gpio, "codec-sync"); tegra20_ac97_codec_warm_reset()
364 "nvidia,codec-sync-gpio", 0); tegra20_ac97_platform_probe()
366 dev_err(&pdev->dev, "no codec-sync GPIO supplied\n"); tegra20_ac97_platform_probe()
/linux-4.1.27/sound/usb/
H A Dcard.h8 #define SYNC_URBS 4 /* always four urbs for sync */
79 char *syncbuf; /* sync buffer for all sync URBs */
93 unsigned int syncmaxsize; /* sync endpoint packet size */
134 /* data and sync endpoints for this stream */
/linux-4.1.27/drivers/isdn/mISDN/
H A Ddsp_blowfish.c45 * checksumme (CS) for sync (0, 1) and for the last bit:
62 * (10000), this is used to find the sync. only if sync has been found, the
433 * transcode 8 crypted bytes to 9 data bytes with sync dsp_bf_encrypt()
465 u16 sync = dsp->bf_sync; dsp_bf_decrypt() local
477 sync = (sync << 1) | ((*data) >> 7); dsp_bf_decrypt()
482 k = 0; /* repeat if no sync has been found */ dsp_bf_decrypt()
483 /* check if not in sync */ dsp_bf_decrypt()
484 if ((sync & 0x1f0) != 0x100) dsp_bf_decrypt()
554 /* write current count and sync */ dsp_bf_decrypt()
557 dsp->bf_sync = sync; dsp_bf_decrypt()
/linux-4.1.27/drivers/input/keyboard/
H A Dclps711x-keypad.c41 bool sync = false; clps711x_keypad_poll() local
77 sync = true; clps711x_keypad_poll()
86 if (sync) clps711x_keypad_poll()
/linux-4.1.27/include/linux/platform_data/
H A Dvideo-pxafb.h88 u_char sync; member in struct:pxafb_mode_info
99 * 5. sync & FB_SYNC_HOR_HIGH_ACT controls the L_LCLK_A0
100 * 6. sync & FB_SYNC_VERT_HIGH_ACT controls the L_LCLK_RD
/linux-4.1.27/arch/powerpc/mm/
H A Dmmu_decl.h33 asm volatile ("sync; tlbia; isync" : : : "memory"); _tlbil_all()
37 asm volatile ("sync; tlbia; isync" : : : "memory"); _tlbil_pid()
58 asm volatile ("tlbie %0; sync" : : "r" (address) : "memory"); _tlbil_va()
H A Dtlb_nohash_low.S55 sync
97 sync
129 sync
212 sync
228 sync
378 sync
/linux-4.1.27/arch/arm/mach-imx/
H A Deukrea_mbimxsd35-baseboard.c57 .sync = 0,
73 .sync = FB_SYNC_VERT_HIGH_ACT | FB_SYNC_HOR_HIGH_ACT |
90 .sync = FB_SYNC_VERT_HIGH_ACT | FB_SYNC_HOR_HIGH_ACT |
H A Dhotplug.c50 * We use the cpu jumping argument register to sync with imx_cpu_die()
/linux-4.1.27/fs/ext4/
H A Dfsync.c22 * we can depend on generic_block_fdatasync() to sync the data blocks.
38 * sync our parent directory (if it was freshly created) since
120 * The caller's filemap_fdatawrite()/wait will sync the data. ext4_sync_file()
/linux-4.1.27/kernel/irq/
H A Dpm.c124 bool sync; for_each_irq_desc() local
127 sync = suspend_device_irq(desc, irq); for_each_irq_desc()
130 if (sync) for_each_irq_desc()
/linux-4.1.27/sound/soc/davinci/
H A Ddavinci-i2s.c220 /* wait for any unexpected frame sync error to occur */ davinci_mcbsp_start()
243 /* Start frame sync */ davinci_mcbsp_start()
253 /* Reset transmitter/receiver and sample rate/frame sync generators */ davinci_mcbsp_stop()
355 * FSRP Receive frame sync pol, 0 - active high davinci_i2s_set_dai_fmt()
356 * FSXP Transmit frame sync pol, 0 - active high davinci_i2s_set_dai_fmt()
367 * FSRP Receive frame sync pol, 1 - active low davinci_i2s_set_dai_fmt()
368 * FSXP Transmit frame sync pol, 1 - active low davinci_i2s_set_dai_fmt()
379 * FSRP Receive frame sync pol, 1 - active low davinci_i2s_set_dai_fmt()
380 * FSXP Transmit frame sync pol, 1 - active low davinci_i2s_set_dai_fmt()
392 * FSRP Receive frame sync pol, 0 - active high davinci_i2s_set_dai_fmt()
393 * FSXP Transmit frame sync pol, 0 - active high davinci_i2s_set_dai_fmt()
481 /* Clock and frame sync given from external sources */ davinci_i2s_hw_params()
/linux-4.1.27/drivers/media/platform/davinci/
H A Dvpss.c111 /* set sync polarity */
214 void vpss_set_sync_pol(struct vpss_sync_pol sync) vpss_set_sync_pol() argument
219 oper_cfg.hw_ops.set_sync_pol(sync); vpss_set_sync_pol()
376 void dm365_vpss_set_sync_pol(struct vpss_sync_pol sync) dm365_vpss_set_sync_pol() argument
381 val |= (sync.ccdpg_hdpol << DM365_CCDC_PG_HD_POL_SHIFT); dm365_vpss_set_sync_pol()
382 val |= (sync.ccdpg_vdpol << DM365_CCDC_PG_VD_POL_SHIFT); dm365_vpss_set_sync_pol()
/linux-4.1.27/net/netfilter/ipvs/
H A Dip_vs_sync.c22 * ip_vs_sync: sync connection info from master load balancer to backups
27 * Alexandre Cassen : Added SyncID support for incoming sync
29 * Justin Ossevoort : Fix endian problem on sync message size.
66 * IPVS sync connection entry
129 * Type 0, IPv4 sync connection format
320 * Create a new sync buffer for Version 1 proto.
375 * Get the current sync buffer if it has been created for more
402 * Create a new sync buffer for Version 0 proto.
440 * - (1) sync_refresh_period: reduce sync rate. Additionally, retry
442 * - (2) if both sync_refresh_period and sync_period are 0 send sync only
457 /* Check if we sync in current state */ ip_vs_sync_conn_needed()
494 /* Avoid sync if difference is below sync_refresh_period ip_vs_sync_conn_needed()
540 /* Do not sync ONE PACKET */ ip_vs_sync_conn_v0()
640 /* Do not sync ONE PACKET */ ip_vs_sync_conn()
1065 * Process a Version 1 sync. connection
1348 * Set the maximum length of sync message according to the
1367 IP_VS_DBG(7, "setting the maximum length of sync sending " set_sync_mesg_maxlen()
1376 IP_VS_DBG(7, "setting the maximum length of sync receiving " set_sync_mesg_maxlen()
1654 pr_info("sync thread started: state = MASTER, mcast_ifn = %s, " sync_thread_master()
1708 pr_info("sync thread started: state = BACKUP, mcast_ifn = %s, " sync_thread_backup()
1898 * add sync buffers to the queue, when we are already in stop_sync_thread()
1899 * progress of stopping the master sync daemon. stop_sync_thread()
1913 pr_info("stopping master sync thread %d ...\n", stop_sync_thread()
1932 pr_info("stopping backup sync thread %d ...\n", stop_sync_thread()
/linux-4.1.27/drivers/staging/rtl8723au/include/
H A Drtl8723a_bt-coexist.h28 /* ===== Below this line is sync from SD7 driver COMMON/BT.h ===== */
39 /* ===== End of sync from SD7 driver COMMON/BT.h ===== */
88 /* ===== Below this line is sync from SD7 driver COMMON/bt_hci.h ===== */
1110 /* ===== End of sync from SD7 driver COMMON/bt_hci.h ===== */
1112 /* ===== Below this line is sync from SD7 driver HAL/BTCoexist/HalBtc87231Ant.h ===== */
1168 /* ===== End of sync from SD7 driver HAL/BTCoexist/HalBtc87231Ant.h ===== */
1170 /* ===== Below this line is sync from SD7 driver HAL/BTCoexist/HalBtc87232Ant.h ===== */
1249 /* ===== End of sync from SD7 driver HAL/BTCoexist/HalBtc87232Ant.h ===== */
1251 /* ===== Below this line is sync from SD7 driver HAL/BTCoexist/HalBtc8723.h ===== */
1329 /* ===== End of sync from SD7 driver HAL/BTCoexist/HalBtc8723.h ===== */
1331 /* ===== Below this line is sync from SD7 driver HAL/BTCoexist/HalBtcCsr1Ant.h ===== */
1353 /* ===== End of sync from SD7 driver HAL/BTCoexist/HalBtcCsr1Ant.h ===== */
1355 /* ===== Below this line is sync from SD7 driver HAL/BTCoexist/HalBtcCsr2Ant.h ===== */
1374 /* ===== End of sync from SD7 driver HAL/BTCoexist/HalBtcCsr2Ant.h ===== */
1379 /* ===== Below this line is sync from SD7 driver HAL/BTCoexist/HalBtCoexist.h ===== */
1603 /* ===== End of sync from SD7 driver HAL/BTCoexist/HalBtCoexist.h ===== */
1605 /* ===== Below this line is sync from SD7 driver HAL/HalBT.h ===== */
1618 /* ===== End of sync from SD7 driver HAL/HalBT.c ===== */
/linux-4.1.27/arch/parisc/include/uapi/asm/
H A Dmman.h28 #define MS_SYNC 1 /* synchronous memory sync */
29 #define MS_ASYNC 2 /* sync memory asynchronously */
/linux-4.1.27/arch/cris/arch-v10/drivers/
H A Dsync_serial.c281 if (register_chrdev(SYNC_SERIAL_MAJOR, "sync serial", etrax_sync_serial_init()
302 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode1, sync); etrax_sync_serial_init()
314 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode3, sync); etrax_sync_serial_init()
348 DEBUG(printk(KERN_DEBUG "Init sync serial port %d\n", portnbr)); initialize_port()
451 DEBUG(printk(KERN_DEBUG "Open sync serial port %d\n", dev)); sync_serial_open()
472 "sync serial port 1 IRQ"); sync_serial_open()
479 "sync serial port 1 IRQ"); sync_serial_open()
488 "sync serial port 1 " sync_serial_open()
499 "sync serial port 1 " sync_serial_open()
527 "sync serial port 3 IRQ"); sync_serial_open()
534 "sync serial port 3 IRQ"); sync_serial_open()
543 "sync serial port 3 " sync_serial_open()
554 "sync serial port 3 " sync_serial_open()
588 "sync serial manual irq"); sync_serial_open()
598 "sync serial manual irq"); sync_serial_open()
939 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode3, sync); sync_serial_ioctl_unlocked()
941 SETS(gen_config_ii_shadow, R_GEN_CONFIG_II, sermode1, sync); sync_serial_ioctl_unlocked()
1240 panic("Offset too large in sync serial driver\n"); start_dma_in()
/linux-4.1.27/arch/m68k/include/asm/
H A Ddma-mapping.h86 /* just sync everything for now */ dma_sync_single_range_for_device()
104 /* just sync everything for now */ dma_sync_single_range_for_cpu()
/linux-4.1.27/arch/arm/plat-omap/
H A Dcounter_32k.c50 * 32k sync timer. Convert the cycles elapsed since last read into
87 * 32k sync Counter IP register offsets vary between the omap_init_clocksource_32k()
/linux-4.1.27/arch/alpha/include/uapi/asm/
H A Dmman.h34 #define MS_ASYNC 1 /* sync memory asynchronously */
35 #define MS_SYNC 2 /* synchronous memory sync */
/linux-4.1.27/fs/ext3/
H A Dfsync.c22 * we can depend on generic_block_fdatasync() to sync the data blocks.
66 * The caller's filemap_fdatawrite()/wait will sync the data. ext3_sync_file()
/linux-4.1.27/net/mac802154/
H A Ddriver-ops.h20 /* don't allow other operations while sync xmit */ drv_xmit_sync()
44 /* sync away all work on the tasklet before clearing started */ drv_stop()
/linux-4.1.27/fs/ubifs/
H A Djournal.c280 * @sync: non-zero if the write-buffer has to by synchronized
287 int *lnum, int *offs, int sync) write_head()
302 if (sync) write_head()
546 int aligned_dlen, aligned_ilen, sync = IS_DIRSYNC(dir); ubifs_jnl_update() local
569 sync |= IS_SYNC(inode); ubifs_jnl_update()
619 err = write_head(c, BASEHD, dent, len, &lnum, &dent_offs, sync); ubifs_jnl_update()
622 if (!sync) { ubifs_jnl_update()
789 int sync = 0, len = UBIFS_INO_NODE_SZ, last_reference = !inode->i_nlink; ubifs_jnl_write_inode() local
799 sync = IS_SYNC(inode); ubifs_jnl_write_inode()
811 err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); ubifs_jnl_write_inode()
814 if (!sync) ubifs_jnl_write_inode()
917 * @sync: non-zero if the write-buffer has to be synchronized
927 const struct dentry *new_dentry, int sync) ubifs_jnl_rename()
1019 err = write_head(c, BASEHD, dent, len, &lnum, &offs, sync); ubifs_jnl_rename()
1022 if (!sync) { ubifs_jnl_rename()
1152 int err, dlen, len, lnum, offs, bit, sz, sync = IS_SYNC(inode); ubifs_jnl_truncate() local
1220 err = write_head(c, BASEHD, ino, len, &lnum, &offs, sync); ubifs_jnl_truncate()
1223 if (!sync) ubifs_jnl_truncate()
1293 int sync = IS_DIRSYNC(host); ubifs_jnl_delete_xattr() local
1338 err = write_head(c, BASEHD, xent, len, &lnum, &xent_offs, sync); ubifs_jnl_delete_xattr()
1339 if (!sync && !err) ubifs_jnl_delete_xattr()
1406 int sync = IS_DIRSYNC(host); ubifs_jnl_change_xattr() local
1431 if (!sync && !err) { ubifs_jnl_change_xattr()
286 write_head(struct ubifs_info *c, int jhead, void *buf, int len, int *lnum, int *offs, int sync) write_head() argument
924 ubifs_jnl_rename(struct ubifs_info *c, const struct inode *old_dir, const struct dentry *old_dentry, const struct inode *new_dir, const struct dentry *new_dentry, int sync) ubifs_jnl_rename() argument
/linux-4.1.27/drivers/base/regmap/
H A Dregcache.c278 dev_err(map->dev, "Unable to sync register %#x. %d\n", regcache_default_sync()
333 if (map->cache_ops->sync) regcache_sync()
334 ret = map->cache_ops->sync(map, 0, map->max_register); regcache_sync()
358 * @map: map to sync.
359 * @min: first register to sync
360 * @max: last register to sync
391 if (map->cache_ops->sync) regcache_sync_region()
392 ret = map->cache_ops->sync(map, min, max); regcache_sync_region()
470 * as dirty then the cache sync will be suppressed.
628 dev_err(map->dev, "Unable to sync register %#x. %d\n", regcache_sync_block_single()
657 dev_err(map->dev, "Unable to sync registers %#x-%#x. %d\n", regcache_sync_block_raw_flush()
/linux-4.1.27/drivers/media/pci/tw68/
H A Dtw68-risc.c35 * @sync_line 0 -> no sync, 1 -> odd sync, 2 -> even sync
54 /* sync instruction */ tw68_risc_field()
/linux-4.1.27/drivers/net/wireless/rt2x00/
H A Drt2x00config.c42 conf.sync = TSF_SYNC_ADHOC; rt2x00lib_config_intf()
47 conf.sync = TSF_SYNC_AP_NONE; rt2x00lib_config_intf()
50 conf.sync = TSF_SYNC_INFRA; rt2x00lib_config_intf()
53 conf.sync = TSF_SYNC_NONE; rt2x00lib_config_intf()
/linux-4.1.27/drivers/staging/lustre/include/linux/libcfs/
H A Dlibcfs_debug.h88 /* keep these in sync with lnet/utils/debug.c and lnet/libcfs/debug.c */
121 /* keep these in sync with lnet/utils/debug.c and lnet/libcfs/debug.c */
124 /* keep these in sync with lnet/utils/debug.c and lnet/libcfs/debug.c */
154 /* keep these in sync with lnet/{utils,libcfs}/debug.c */
/linux-4.1.27/drivers/s390/cio/
H A Dorb.h23 u32 sync:1; /* synchronize control */ member in struct:cmd_orb
/linux-4.1.27/drivers/hid/
H A Dhid-wiimote.h126 struct mutex sync; member in struct:wiimote_state
321 return mutex_lock_interruptible(&wdata->state.sync) ? -ERESTARTSYS : 0; wiimote_cmd_acquire()
326 mutex_lock(&wdata->state.sync); wiimote_cmd_acquire_noint()
340 mutex_unlock(&wdata->state.sync); wiimote_cmd_release()
/linux-4.1.27/drivers/video/fbdev/sis/
H A Dinitextlfb.c135 var->sync &= ~FB_SYNC_VERT_HIGH_ACT; sisfb_mode_rate_to_ddata()
137 var->sync |= FB_SYNC_VERT_HIGH_ACT; sisfb_mode_rate_to_ddata()
140 var->sync &= ~FB_SYNC_HOR_HIGH_ACT; sisfb_mode_rate_to_ddata()
142 var->sync |= FB_SYNC_HOR_HIGH_ACT; sisfb_mode_rate_to_ddata()
/linux-4.1.27/arch/mips/include/asm/sibyte/
H A Dsb1250.h24 * should sync with Makefile EXTRAVERSION
/linux-4.1.27/arch/openrisc/include/uapi/asm/
H A Delf.h25 * userspace in sync.
/linux-4.1.27/arch/c6x/kernel/
H A Dsys_c6x.c40 /* sys_cache_sync -- sync caches over given range */ sys_cache_sync()
/linux-4.1.27/arch/ia64/include/asm/sn/
H A Dsn_feature_sets.h49 * These defines must be kept in sync with the corresponding
/linux-4.1.27/arch/arm/mach-prima2/
H A Dsleep.S59 @ wait rtc io bridge sync
/linux-4.1.27/arch/arm/plat-samsung/include/plat/
H A Dwakeup-mask.h30 * samsung_sync_wakemask - sync wakeup mask information for pm
/linux-4.1.27/arch/arc/kernel/
H A Dctx_sw_asm.S48 sync
/linux-4.1.27/sound/drivers/vx/
H A Dvx_uer.c31 * @sync: DSP needs to resynchronize its FIFO
33 static int vx_modify_board_clock(struct vx_core *chip, int sync) vx_modify_board_clock() argument
39 if (sync) vx_modify_board_clock()
102 * returns the frequency of UER, or 0 if not sync,
/linux-4.1.27/sound/firewire/bebob/
H A Dbebob_yamaha.c15 * blink and its sync status is false. In this state, the device sounds nothing
/linux-4.1.27/sound/pci/hda/
H A Dhda_intel.h28 /* sync probing */
/linux-4.1.27/include/drm/
H A Ddrm_modes.h60 MODE_HSYNC_NARROW, /* horizontal sync too narrow */
61 MODE_HSYNC_WIDE, /* horizontal sync too wide */
64 MODE_VSYNC_NARROW, /* vertical sync too narrow */
65 MODE_VSYNC_WIDE, /* vertical sync too wide */

Completed in 4135 milliseconds

12345678910