Lines Matching full:hwlock
114 struct hwspinlock *hwlock; member
171 if (sadi->hwlock) { in sprd_adi_read()
172 ret = hwspin_lock_timeout_irqsave(sadi->hwlock, in sprd_adi_read()
225 if (sadi->hwlock) in sprd_adi_read()
226 hwspin_unlock_irqrestore(sadi->hwlock, &flags); in sprd_adi_read()
237 if (sadi->hwlock) { in sprd_adi_write()
238 ret = hwspin_lock_timeout_irqsave(sadi->hwlock, in sprd_adi_write()
270 if (sadi->hwlock) in sprd_adi_write()
271 hwspin_unlock_irqrestore(sadi->hwlock, &flags); in sprd_adi_write()
495 sadi->hwlock = in sprd_adi_probe()
497 if (!sadi->hwlock) { in sprd_adi_probe()
507 dev_err_probe(&pdev->dev, ret, "failed to find hwlock id\n"); in sprd_adi_probe()