Searched refs:lock_state (Results 1 – 3 of 3) sorted by relevance
573 u16 lock_state = 0; in wait_for_lock() local576 while ((lock_state == 0) && (watch_dog_count > 0)) { in wait_for_lock()577 xc_get_lock_status(priv, &lock_state); in wait_for_lock()578 if (lock_state != 1) { in wait_for_lock()583 return lock_state; in wait_for_lock()
503 u16 lock_state = 0; in xc_wait_for_lock() local506 while ((lock_state == 0) && (watchdog_count > 0)) { in xc_wait_for_lock()507 xc_get_lock_status(priv, &lock_state); in xc_wait_for_lock()508 if (lock_state != 1) { in xc_wait_for_lock()513 return lock_state; in xc_wait_for_lock()
176 #define lock_state(chip) spin_lock_irq(&((chip)->rtsx->reg_lock)) macro