Lines Matching refs:i2c_buffer_lock
23 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_write_word()
40 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_write_word()
49 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_read_word()
71 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_read_word()
298 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_i2c_gated_gpio67_xfer()
322 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_i2c_gated_gpio67_xfer()
345 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_i2c_gated_tuner_xfer()
367 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_i2c_gated_tuner_xfer()
441 mutex_init(&mst->i2c_buffer_lock); in dibx000_init_i2c_master()
442 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_init_i2c_master()
489 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_init_i2c_master()