Searched refs:i2c_buffer_lock (Results 1 – 7 of 7) sorted by relevance
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()[all …]
66 struct mutex i2c_buffer_lock; member73 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0070_read_reg()97 mutex_unlock(&state->i2c_buffer_lock); in dib0070_read_reg()105 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib0070_write_reg()125 mutex_unlock(&state->i2c_buffer_lock); in dib0070_write_reg()748 mutex_init(&state->i2c_buffer_lock); in dib0070_attach()
184 struct mutex i2c_buffer_lock; member197 struct mutex i2c_buffer_lock; member204 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()[all …]
45 struct mutex *i2c_buffer_lock; member103 struct mutex i2c_buffer_lock; member153 if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) { in dib8000_i2c_read16()167 mutex_unlock(i2c->i2c_buffer_lock); in dib8000_i2c_read16()200 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib8000_read_word()207 mutex_unlock(&state->i2c_buffer_lock); in dib8000_read_word()216 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib8000_read32()224 mutex_unlock(&state->i2c_buffer_lock); in dib8000_read32()234 if (mutex_lock_interruptible(i2c->i2c_buffer_lock) < 0) { in dib8000_i2c_write16()246 mutex_unlock(i2c->i2c_buffer_lock); in dib8000_i2c_write16()[all …]
63 struct mutex i2c_buffer_lock; member80 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000m_read_word()102 mutex_unlock(&state->i2c_buffer_lock); in dib7000m_read_word()111 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000m_write_word()129 mutex_unlock(&state->i2c_buffer_lock); in dib7000m_write_word()1417 mutex_init(&st->i2c_buffer_lock); in dib7000m_attach()
37 struct mutex i2c_buffer_lock; member
77 struct mutex i2c_buffer_lock; member104 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_read_word()126 mutex_unlock(&state->i2c_buffer_lock); in dib7000p_read_word()134 if (mutex_lock_interruptible(&state->i2c_buffer_lock) < 0) { in dib7000p_write_word()152 mutex_unlock(&state->i2c_buffer_lock); in dib7000p_write_word()2094 mutex_init(&dpst->i2c_buffer_lock); in dib7000p_i2c_enumeration()2760 mutex_init(&st->i2c_buffer_lock); in dib7000p_init()