Searched refs:bank_lock (Results 1 – 3 of 3) sorted by relevance
/drivers/dma/ipu/ |
D | ipu_irq.c | 80 static DEFINE_RAW_SPINLOCK(bank_lock); 100 raw_spin_lock_irqsave(&bank_lock, lock_flags); in ipu_irq_unmask() 104 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_unmask() 113 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_unmask() 123 raw_spin_lock_irqsave(&bank_lock, lock_flags); in ipu_irq_mask() 127 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_mask() 136 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_mask() 145 raw_spin_lock_irqsave(&bank_lock, lock_flags); in ipu_irq_ack() 149 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_ack() 155 raw_spin_unlock_irqrestore(&bank_lock, lock_flags); in ipu_irq_ack() [all …]
|
/drivers/net/ethernet/amd/ |
D | nmclan_cs.c | 371 spinlock_t bank_lock; /* Must be held if you step off bank 0 */ member 448 spin_lock_init(&lp->bank_lock); in nmclan_probe() 494 spin_lock_irqsave(&lp->bank_lock, flags); in mace_read() 498 spin_unlock_irqrestore(&lp->bank_lock, flags); in mace_read() 521 spin_lock_irqsave(&lp->bank_lock, flags); in mace_write() 525 spin_unlock_irqrestore(&lp->bank_lock, flags); in mace_write()
|
/drivers/hwmon/ |
D | nct7904.c | 97 struct mutex bank_lock; member 115 mutex_lock(&data->bank_lock); in nct7904_bank_lock() 128 mutex_unlock(&data->bank_lock); in nct7904_bank_release() 886 mutex_init(&data->bank_lock); in nct7904_probe()
|