Lines Matching refs:hwlock
149 struct hwspinlock *hwlock; member
224 if (sadi->hwlock) { in sprd_adi_read()
225 ret = hwspin_lock_timeout_irqsave(sadi->hwlock, in sprd_adi_read()
279 if (sadi->hwlock) in sprd_adi_read()
280 hwspin_unlock_irqrestore(sadi->hwlock, &flags); in sprd_adi_read()
290 if (sadi->hwlock) { in sprd_adi_write()
291 ret = hwspin_lock_timeout_irqsave(sadi->hwlock, in sprd_adi_write()
328 if (sadi->hwlock) in sprd_adi_write()
329 hwspin_unlock_irqrestore(sadi->hwlock, &flags); in sprd_adi_write()
552 sadi->hwlock = in sprd_adi_probe()
554 if (!sadi->hwlock) { in sprd_adi_probe()