Home
last modified time | relevance | path

Searched refs:i2c_buffer_lock (Results 1 – 7 of 7) sorted by relevance

/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Ddibx000_common.c24 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 …]
Ddib0070.c66 struct mutex i2c_buffer_lock; member
73 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()
Ddib0090.c184 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()
[all …]
Ddib8000.c45 struct mutex *i2c_buffer_lock; member
103 struct mutex i2c_buffer_lock; member
153 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 …]
Ddib7000m.c63 struct mutex i2c_buffer_lock; member
80 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()
Ddibx000_common.h37 struct mutex i2c_buffer_lock; member
Ddib7000p.c77 struct mutex i2c_buffer_lock; member
104 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()