Lines Matching refs:i2c_buffer_lock
196 struct mutex i2c_buffer_lock; member
209 struct mutex i2c_buffer_lock; member
216 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_read_reg()
240 mutex_unlock(&state->i2c_buffer_lock); in dib0090_read_reg()
248 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_write_reg()
269 mutex_unlock(&state->i2c_buffer_lock); in dib0090_write_reg()
277 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_fw_read_reg()
296 mutex_unlock(&state->i2c_buffer_lock); in dib0090_fw_read_reg()
304 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0090_fw_write_reg()
323 mutex_unlock(&state->i2c_buffer_lock); in dib0090_fw_write_reg()
2625 mutex_init(&st->i2c_buffer_lock); in dib0090_register()
2657 mutex_init(&st->i2c_buffer_lock); in dib0090_fw_register()