Lines Matching refs:lock
35 * @lock: Lock to ensure that the device is not accessed when busy.
40 * The @lock ensures that the chip is protected when certain operations are
47 spinlock_t lock;
56 * ks8851_lock_par - register access lock
60 * Claim chip register access lock
66 spin_lock_irqsave(&ksp->lock, *flags);
74 * Release chip register access lock
80 spin_unlock_irqrestore(&ksp->lock, *flags);
284 ks->lock = ks8851_lock_par;
298 spin_lock_init(&ksp->lock);