Searched refs:slock (Results 1 - 25 of 152) sorted by relevance

1234567

/linux-master/arch/powerpc/include/asm/
H A Dsimple_spinlock_types.h10 volatile unsigned int slock; member in struct:__anon17
H A Dsimple_spinlock.h37 return lock.slock == 0;
64 : "r" (token), "r" (&lock->slock), [eh] "n" (eh)
123 } while (unlikely(lock->slock != 0));
133 lock->slock = 0;
/linux-master/include/linux/
H A Dspinlock_types_up.h18 volatile unsigned int slock; member in struct:__anon352
H A Dspinlock_up.h27 #define arch_spin_is_locked(x) ((x)->slock == 0)
31 lock->slock = 0;
37 char oldval = lock->slock;
39 lock->slock = 0;
48 lock->slock = 1;
H A Dspinlock_rt.h19 #define spin_lock_init(slock) \
23 rt_mutex_base_init(&(slock)->lock); \
24 __rt_spin_lock_init(slock, #slock, &__key, false); \
27 #define local_spin_lock_init(slock) \
31 rt_mutex_base_init(&(slock)->lock); \
32 __rt_spin_lock_init(slock, #slock, &__key, true); \
/linux-master/arch/arc/include/asm/
H A Dspinlock_types.h10 volatile unsigned int slock; member in struct:__anon12
H A Dspinlock.h13 #define arch_spin_is_locked(x) ((x)->slock != __ARCH_SPIN_LOCK_UNLOCKED__)
22 "1: llock %[val], [%[slock]] \n"
24 " scond %[LOCKED], [%[slock]] \n" /* acquire */
28 : [slock] "r" (&(lock->slock)),
49 "1: llock %[val], [%[slock]] \n"
51 " scond %[LOCKED], [%[slock]] \n" /* acquire */
58 : [slock] "r" (&(lock->slock)),
71 WRITE_ONCE(lock->slock, __ARCH_SPIN_LOCK_UNLOCKED_
[all...]
/linux-master/arch/arm/include/asm/
H A Dspinlock_types.h13 u32 slock; member in union:__anon3::__anon4
H A Dspinlock.h62 prefetchw(&lock->slock);
70 : "r" (&lock->slock), "I" (1 << TICKET_SHIFT)
84 u32 slock; local
86 prefetchw(&lock->slock);
94 : "=&r" (slock), "=&r" (contended), "=&r" (res)
95 : "r" (&lock->slock), "I" (1 << TICKET_SHIFT)
/linux-master/drivers/media/pci/tw5864/
H A Dtw5864-core.c87 spin_lock_irqsave(&dev->slock, flags);
90 spin_unlock_irqrestore(&dev->slock, flags);
131 spin_lock_irqsave(&dev->slock, flags);
151 spin_lock(&input->slock);
156 spin_unlock(&input->slock);
165 spin_unlock_irqrestore(&dev->slock, flags);
189 spin_lock_irqsave(&dev->slock, flags);
191 spin_unlock_irqrestore(&dev->slock, flags);
205 spin_lock_irqsave(&input->slock, flags);
216 spin_unlock_irqrestore(&input->slock, flag
[all...]
/linux-master/arch/powerpc/lib/
H A Dlocks.c25 lock_value = lock->slock;
35 if (lock->slock != lock_value)
/linux-master/drivers/media/pci/cx23885/
H A Dcx23885-vbi.c76 spin_lock(&dev->slock);
79 spin_unlock(&dev->slock);
198 spin_lock_irqsave(&dev->slock, flags);
200 spin_unlock_irqrestore(&dev->slock, flags);
208 spin_lock_irqsave(&dev->slock, flags);
210 spin_unlock_irqrestore(&dev->slock, flags);
235 spin_lock_irqsave(&dev->slock, flags);
243 spin_unlock_irqrestore(&dev->slock, flags);
/linux-master/drivers/media/usb/au0828/
H A Dau0828-vbi.c65 spin_lock_irqsave(&dev->slock, flags);
67 spin_unlock_irqrestore(&dev->slock, flags);
/linux-master/drivers/tty/
H A Dmxser.c279 spinlock_t slock; member in struct:mxser_port
450 spin_lock_irqsave(&info->slock, flags);
452 spin_unlock_irqrestore(&info->slock, flags);
474 spin_lock_irqsave(&mp->slock, flags);
481 spin_unlock_irqrestore(&mp->slock, flags);
736 spin_lock_irqsave(&info->slock, flags);
740 spin_unlock_irqrestore(&info->slock, flags);
757 spin_unlock_irqrestore(&info->slock, flags);
806 spin_unlock_irqrestore(&info->slock, flags);
836 spin_lock_irqsave(&info->slock, flag
[all...]
/linux-master/drivers/scsi/cxlflash/
H A Docxl_hw.h59 spinlock_t slock; /* Protects irq/fault/event updates */ member in struct:ocxlflash_context
/linux-master/drivers/iio/adc/
H A Dti-ads7950.c74 struct mutex slock; member in struct:ti_ads7950_state
311 mutex_lock(&st->slock);
320 mutex_unlock(&st->slock);
331 mutex_lock(&st->slock);
342 mutex_unlock(&st->slock);
411 mutex_lock(&st->slock);
421 mutex_unlock(&st->slock);
429 mutex_lock(&st->slock);
454 mutex_unlock(&st->slock);
474 mutex_lock(&st->slock);
[all...]
/linux-master/drivers/hte/
H A Dhte.c44 * @slock: Spin lock to synchronize between disable/enable,
62 spinlock_t slock; member in struct:hte_ts_info
206 spin_lock_irqsave(&ei->slock, flag);
209 spin_unlock_irqrestore(&ei->slock, flag);
211 spin_lock_irqsave(&ei->slock, flag);
221 spin_unlock_irqrestore(&ei->slock, flag);
264 spin_lock_irqsave(&ei->slock, flag);
272 spin_unlock_irqrestore(&ei->slock, flag);
280 spin_lock_irqsave(&ei->slock, flag);
288 spin_unlock_irqrestore(&ei->slock, fla
[all...]
/linux-master/drivers/crypto/allwinner/sun4i-ss/
H A Dsun4i-ss-prng.c41 spin_lock_bh(&ss->slock);
64 spin_unlock_bh(&ss->slock);
/linux-master/drivers/media/usb/em28xx/
H A Dem28xx-vbi.c76 spin_lock_irqsave(&dev->slock, flags);
78 spin_unlock_irqrestore(&dev->slock, flags);
/linux-master/drivers/media/dvb-core/
H A Ddvb_vb2.c73 spin_lock_irqsave(&ctx->slock, flags);
75 spin_unlock_irqrestore(&ctx->slock, flags);
96 spin_lock_irqsave(&ctx->slock, flags);
103 spin_unlock_irqrestore(&ctx->slock, flags);
186 spin_lock_init(&ctx->slock);
266 spin_lock_irqsave(&ctx->slock, flags);
315 spin_unlock_irqrestore(&ctx->slock, flags);
415 spin_lock_irqsave(&ctx->slock, flags);
419 spin_unlock_irqrestore(&ctx->slock, flags);
/linux-master/drivers/media/platform/samsung/exynos4-is/
H A Dfimc-lite.h120 * @slock: spinlock protecting this data structure and the hw registers
155 spinlock_t slock; member in struct:fimc_lite
184 spin_lock_irqsave(&fimc->slock, flags);
187 spin_unlock_irqrestore(&fimc->slock, flags);
/linux-master/drivers/media/platform/st/sti/bdisp/
H A Dbdisp-v4l2.c124 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
126 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
133 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
135 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
143 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
145 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flags);
317 spin_lock_irqsave(&bdisp->slock, flags);
358 spin_unlock_irqrestore(&bdisp->slock, flags);
397 spin_lock_irqsave(&ctx->bdisp_dev->slock, flags);
399 spin_unlock_irqrestore(&ctx->bdisp_dev->slock, flag
[all...]
/linux-master/drivers/media/pci/cx88/
H A Dcx88-mpeg.c278 spin_lock_irqsave(&dev->slock, flags);
284 spin_unlock_irqrestore(&dev->slock, flags);
333 spin_lock(&dev->slock);
336 spin_unlock(&dev->slock);
342 spin_lock(&dev->slock);
344 spin_unlock(&dev->slock);
406 spin_lock_init(&dev->slock);
443 spin_lock_irqsave(&dev->slock, flags);
449 spin_unlock_irqrestore(&dev->slock, flags);
491 spin_lock_irqsave(&dev->slock, flag
[all...]
/linux-master/drivers/media/pci/cx18/
H A Dcx18-alsa.h16 spinlock_t slock; member in struct:snd_cx18_card
/linux-master/drivers/media/pci/ivtv/
H A Divtv-alsa.h17 spinlock_t slock; member in struct:snd_ivtv_card

Completed in 509 milliseconds

1234567