Lines Matching refs:state_lock
127 struct mutex state_lock; member
152 mutex_lock(&adis->state_lock); in adis_reset()
154 mutex_unlock(&adis->state_lock); in adis_reset()
250 mutex_lock(&adis->state_lock); in adis_write_reg()
252 mutex_unlock(&adis->state_lock); in adis_write_reg()
269 mutex_lock(&adis->state_lock); in adis_read_reg()
271 mutex_unlock(&adis->state_lock); in adis_read_reg()
367 mutex_lock(&adis->state_lock); in adis_update_bits_base()
369 mutex_unlock(&adis->state_lock); in adis_update_bits_base()
413 mutex_lock(&adis->state_lock); in adis_enable_irq()
415 mutex_unlock(&adis->state_lock); in adis_enable_irq()
424 mutex_lock(&adis->state_lock); in adis_check_status()
426 mutex_unlock(&adis->state_lock); in adis_check_status()
433 mutex_lock(&adis->state_lock); in adis_dev_lock()
438 mutex_unlock(&adis->state_lock); in adis_dev_unlock()