Lines Matching refs:i2c_buffer_lock
184 struct mutex i2c_buffer_lock; member
197 struct mutex i2c_buffer_lock; member
204 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_read_reg()
228 mutex_unlock(&state->i2c_buffer_lock); in dib0090_read_reg()
236 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_write_reg()
257 mutex_unlock(&state->i2c_buffer_lock); in dib0090_write_reg()
265 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_fw_read_reg()
284 mutex_unlock(&state->i2c_buffer_lock); in dib0090_fw_read_reg()
292 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_fw_write_reg()
311 mutex_unlock(&state->i2c_buffer_lock); in dib0090_fw_write_reg()
2616 mutex_init(&st->i2c_buffer_lock); in dib0090_register()
2648 mutex_init(&st->i2c_buffer_lock); in dib0090_fw_register()