Lines Matching full:hwlock
69 int hwspin_lock_free(struct hwspinlock *hwlock);
79 int hwspin_lock_bust(struct hwspinlock *hwlock, unsigned int id);
90 int hwspin_lock_timeout(struct hwspinlock *hwlock, unsigned int timeout);
106 int hwspin_lock_timeout_irq(struct hwspinlock *hwlock, unsigned int timeout);
121 int hwspin_lock_timeout_irqsave(struct hwspinlock *hwlock, unsigned int to,
139 int hwspin_lock_timeout_raw(struct hwspinlock *hwlock, unsigned int timeout);
156 int hwspin_lock_timeout_in_atomic(struct hwspinlock *hwlock, unsigned int to);
172 int hwspin_trylock(struct hwspinlock *hwlock);
189 int hwspin_trylock_irq(struct hwspinlock *hwlock);
206 int hwspin_trylock_irqsave(struct hwspinlock *hwlock, unsigned long *flags);
222 int hwspin_trylock_raw(struct hwspinlock *hwlock);
237 int hwspin_trylock_in_atomic(struct hwspinlock *hwlock);
250 void hwspin_unlock(struct hwspinlock *hwlock);
262 void hwspin_unlock_irq(struct hwspinlock *hwlock);
274 hwspin_unlock_irqrestore(struct hwspinlock *hwlock, unsigned long *flags);
286 void hwspin_unlock_raw(struct hwspinlock *hwlock);
296 void hwspin_unlock_in_atomic(struct hwspinlock *hwlock);
314 struct hwspinlock *hwlock;
321 hwlock = hwspin_lock_request_specific(PREDEFINED_LOCK_ID);
322 if (!hwlock)
326 ret = hwspin_trylock(hwlock);
337 hwspin_unlock(hwlock);
340 ret = hwspin_lock_free(hwlock);