Lines Matching refs:i2c_buffer_lock
24 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_write_word()
41 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_write_word()
50 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_read_word()
72 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_read_word()
299 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_i2c_gated_gpio67_xfer()
323 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_i2c_gated_gpio67_xfer()
346 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_i2c_gated_tuner_xfer()
368 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_i2c_gated_tuner_xfer()
442 mutex_init(&mst->i2c_buffer_lock); in dibx000_init_i2c_master()
443 if (mutex_lock_interruptible(&mst->i2c_buffer_lock) < 0) { in dibx000_init_i2c_master()
490 mutex_unlock(&mst->i2c_buffer_lock); in dibx000_init_i2c_master()