Searched refs:lock (Results 426 - 450 of 6521) sorted by path

<<11121314151617181920>>

/linux-master/arch/powerpc/platforms/8xx/
H A Dcpm1.c380 spinlock_t lock; member in struct:cpm1_gpio16_chip
430 spin_lock_irqsave(&cpm1_gc->lock, flags);
434 spin_unlock_irqrestore(&cpm1_gc->lock, flags);
453 spin_lock_irqsave(&cpm1_gc->lock, flags);
458 spin_unlock_irqrestore(&cpm1_gc->lock, flags);
471 spin_lock_irqsave(&cpm1_gc->lock, flags);
475 spin_unlock_irqrestore(&cpm1_gc->lock, flags);
492 spin_lock_init(&cpm1_gc->lock);
520 spinlock_t lock; member in struct:cpm1_gpio32_chip
567 spin_lock_irqsave(&cpm1_gc->lock, flag
[all...]
/linux-master/arch/powerpc/platforms/embedded6xx/
H A Dhlwd-pic.c127 raw_spin_lock(&desc->lock);
129 raw_spin_unlock(&desc->lock);
137 raw_spin_lock(&desc->lock);
141 raw_spin_unlock(&desc->lock);
/linux-master/arch/powerpc/platforms/powermac/
H A Dlow_i2c.c119 spinlock_t lock; member in struct:pmac_i2c_host_kw
349 spin_lock_irqsave(&host->lock, flags);
356 spin_unlock_irqrestore(&host->lock, flags);
365 spin_lock_irqsave(&host->lock, flags);
380 spin_unlock_irqrestore(&host->lock, flags);
473 spin_lock_irqsave(&host->lock, flags);
475 spin_unlock_irqrestore(&host->lock, flags);
511 spin_lock_init(&host->lock);
/linux-master/arch/powerpc/platforms/powernv/
H A Didle.c249 unsigned long *lock = &paca_ptrs[first]->idle_lock; local
251 while (unlikely(test_and_set_bit_lock(NR_PNV_CORE_IDLE_LOCK_BIT, lock)))
261 unsigned long *lock = &paca_ptrs[first]->idle_lock; local
265 BUG_ON(!(READ_ONCE(*lock) & PNV_CORE_IDLE_LOCK_BIT));
275 clear_bit_unlock(NR_PNV_CORE_IDLE_LOCK_BIT, lock);
282 unsigned long *lock = &paca_ptrs[first]->idle_lock; local
284 BUG_ON(!test_bit(NR_PNV_CORE_IDLE_LOCK_BIT, lock));
285 clear_bit_unlock(NR_PNV_CORE_IDLE_LOCK_BIT, lock);
H A Dpci-ioda.c2606 spin_lock_init(&phb->lock);
H A Dpci.c493 spin_lock_irqsave(&phb->lock, flags);
527 spin_unlock_irqrestore(&phb->lock, flags);
H A Dpci.h117 spinlock_t lock; member in struct:pnv_phb
/linux-master/arch/powerpc/platforms/ps3/
H A Ddevice-init.c671 spinlock_t lock; member in struct:ps3_notification_device
703 spin_lock(&dev->lock);
720 spin_unlock(&dev->lock);
731 spin_lock_irqsave(&dev->lock, flags);
737 spin_unlock_irqrestore(&dev->lock, flags);
813 spin_lock_init(&local->dev.lock);
H A Dmm.c661 spin_lock_init(&r->chunk_list.lock);
683 spin_lock_init(&r->chunk_list.lock);
801 spin_lock_irqsave(&r->chunk_list.lock, flags);
808 spin_unlock_irqrestore(&r->chunk_list.lock, flags);
818 spin_unlock_irqrestore(&r->chunk_list.lock, flags);
824 spin_unlock_irqrestore(&r->chunk_list.lock, flags);
846 spin_lock_irqsave(&r->chunk_list.lock, flags);
854 spin_unlock_irqrestore(&r->chunk_list.lock, flags);
865 spin_unlock_irqrestore(&r->chunk_list.lock, flags);
873 spin_unlock_irqrestore(&r->chunk_list.lock, flag
[all...]
/linux-master/arch/powerpc/platforms/pseries/
H A Ddtl.c27 spinlock_t lock; member in struct:dtl
206 spin_lock(&dtl->lock);
217 spin_unlock(&dtl->lock);
229 spin_lock(&dtl->lock);
234 spin_unlock(&dtl->lock);
278 spin_lock(&dtl->lock);
292 spin_unlock(&dtl->lock);
359 spin_lock_init(&dtl->lock);
H A Diommu.c673 spin_lock_irqsave(&tbl->large_pool.lock, flags);
684 spin_unlock_irqrestore(&tbl->large_pool.lock, flags);
1710 * notifier again, which causes dead-lock on the
H A Dvio.c77 * @lock: spinlock for entire structure
90 spinlock_t lock; member in struct:vio_cmo
152 spin_lock_irqsave(&vio_cmo.lock, flags);
173 spin_unlock_irqrestore(&vio_cmo.lock, flags);
198 spin_lock_irqsave(&vio_cmo.lock, flags);
264 spin_unlock_irqrestore(&vio_cmo.lock, flags);
285 spin_lock_irqsave(&vio_cmo.lock, flags);
355 spin_unlock_irqrestore(&vio_cmo.lock, flags);
361 spin_unlock_irqrestore(&vio_cmo.lock, flags);
397 spin_lock_irqsave(&vio_cmo.lock, flag
[all...]
/linux-master/arch/powerpc/sysdev/
H A Dcpm_common.c101 spinlock_t lock; member in struct:cpm2_gpio32_chip
148 spin_lock_irqsave(&cpm2_gc->lock, flags);
152 spin_unlock_irqrestore(&cpm2_gc->lock, flags);
163 spin_lock_irqsave(&cpm2_gc->lock, flags);
168 spin_unlock_irqrestore(&cpm2_gc->lock, flags);
181 spin_lock_irqsave(&cpm2_gc->lock, flags);
185 spin_unlock_irqrestore(&cpm2_gc->lock, flags);
201 spin_lock_init(&cpm2_gc->lock);
H A Dfsl_gtm.c73 spinlock_t lock; member in struct:gtm
93 spin_lock_irq(&gtm->lock);
98 spin_unlock_irq(&gtm->lock);
103 spin_unlock_irq(&gtm->lock);
130 spin_lock_irq(&gtm->lock);
139 spin_unlock_irq(&gtm->lock);
155 spin_lock_irq(&tmr->gtm->lock);
157 spin_unlock_irq(&tmr->gtm->lock);
203 spin_lock_irqsave(&gtm->lock, flags);
225 spin_unlock_irqrestore(&gtm->lock, flag
[all...]
H A Dfsl_lbc.c292 spin_lock_init(&fsl_lbc_ctrl_dev->lock);
H A Di8259.c34 int lock = 0; local
41 lock = 1;
71 if (lock)
H A Dmpic_msgr.c74 raw_spin_lock_irqsave(&msgr->lock, flags);
77 raw_spin_unlock_irqrestore(&msgr->lock, flags);
86 raw_spin_lock_irqsave(&msgr->lock, flags);
89 raw_spin_unlock_irqrestore(&msgr->lock, flags);
97 raw_spin_lock_irqsave(&msgr->lock, flags);
99 raw_spin_unlock_irqrestore(&msgr->lock, flags);
241 raw_spin_lock_init(&msgr->lock);
H A Dmpic_timer.c69 spinlock_t lock; member in struct:timer_group_priv
119 spin_lock_irqsave(&priv->lock, flags);
127 spin_unlock_irqrestore(&priv->lock, flags);
130 spin_unlock_irqrestore(&priv->lock, flags);
220 spin_lock_irqsave(&priv->lock, flags);
229 spin_unlock_irqrestore(&priv->lock, flags);
232 spin_unlock_irqrestore(&priv->lock, flags);
333 spin_lock_irqsave(&priv->lock, flags);
344 spin_unlock_irqrestore(&priv->lock, flags);
502 spin_lock_init(&priv->lock);
[all...]
H A Dmsi_bitmap.c20 spin_lock_irqsave(&bmp->lock, flags);
28 spin_unlock_irqrestore(&bmp->lock, flags);
34 spin_unlock_irqrestore(&bmp->lock, flags);
47 spin_lock_irqsave(&bmp->lock, flags);
49 spin_unlock_irqrestore(&bmp->lock, flags);
59 spin_lock_irqsave(&bmp->lock, flags);
61 spin_unlock_irqrestore(&bmp->lock, flags);
98 spin_lock(&bmp->lock);
107 spin_unlock(&bmp->lock);
141 spin_lock_init(&bmp->lock);
[all...]
/linux-master/arch/powerpc/sysdev/xics/
H A Dxics-common.c222 raw_spin_lock_irqsave(&desc->lock, flags);
245 raw_spin_unlock_irqrestore(&desc->lock, flags);
249 raw_spin_unlock_irqrestore(&desc->lock, flags);
/linux-master/arch/powerpc/sysdev/xive/
H A Dcommon.c437 /* irq_chip eoi callback, called with irq descriptor lock held */
673 /* called with irq descriptor lock held */
835 * Caller holds the irq descriptor lock, so this won't be called
950 /* Called with irq descriptor lock held. */
1561 * First get and lock the descriptor
1583 raw_spin_lock(&desc->lock);
1600 raw_spin_unlock(&desc->lock);
H A Dspapr.c44 spinlock_t lock; member in struct:xive_irq_bitmap
58 spin_lock_init(&xibm->lock);
106 spin_lock_irqsave(&xibm->lock, flags);
108 spin_unlock_irqrestore(&xibm->lock, flags);
122 spin_lock_irqsave(&xibm->lock, flags);
124 spin_unlock_irqrestore(&xibm->lock, flags);
/linux-master/arch/riscv/kvm/
H A Daia.c21 raw_spinlock_t lock; member in struct:aia_hgei_control
38 raw_spin_lock_irqsave(&hgctrl->lock, flags);
48 raw_spin_unlock_irqrestore(&hgctrl->lock, flags);
402 raw_spin_lock_irqsave(&hgctrl->lock, flags);
410 raw_spin_unlock_irqrestore(&hgctrl->lock, flags);
429 raw_spin_lock_irqsave(&hgctrl->lock, flags);
438 raw_spin_unlock_irqrestore(&hgctrl->lock, flags);
466 raw_spin_lock_irqsave(&hgctrl->lock, flags);
473 raw_spin_unlock_irqrestore(&hgctrl->lock, flags);
488 raw_spin_lock_init(&hgctrl->lock);
[all...]
H A Daia_aplic.c18 raw_spinlock_t lock; member in struct:aplic_irq
50 raw_spin_lock_irqsave(&irqd->lock, flags);
52 raw_spin_unlock_irqrestore(&irqd->lock, flags);
71 raw_spin_lock_irqsave(&irqd->lock, flags);
73 raw_spin_unlock_irqrestore(&irqd->lock, flags);
86 raw_spin_lock_irqsave(&irqd->lock, flags);
88 raw_spin_unlock_irqrestore(&irqd->lock, flags);
106 raw_spin_lock_irqsave(&irqd->lock, flags);
108 raw_spin_unlock_irqrestore(&irqd->lock, flags);
121 raw_spin_lock_irqsave(&irqd->lock, flag
[all...]
H A Daia_device.c338 mutex_lock(&dev->kvm->lock);
340 mutex_unlock(&dev->kvm->lock);
349 mutex_lock(&dev->kvm->lock);
355 mutex_unlock(&dev->kvm->lock);
362 mutex_lock(&dev->kvm->lock);
364 mutex_unlock(&dev->kvm->lock);
373 mutex_lock(&dev->kvm->lock);
375 mutex_unlock(&dev->kvm->lock);
382 mutex_lock(&dev->kvm->lock);
384 mutex_unlock(&dev->kvm->lock);
[all...]

Completed in 358 milliseconds

<<11121314151617181920>>