Home
last modified time | relevance | path

Searched refs:i2c_write_buffer (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/drivers/media/dvb-frontends/
Ddibx000_common.c29 mst->i2c_write_buffer[0] = (reg >> 8) & 0xff; in dibx000_write_word()
30 mst->i2c_write_buffer[1] = reg & 0xff; in dibx000_write_word()
31 mst->i2c_write_buffer[2] = (val >> 8) & 0xff; in dibx000_write_word()
32 mst->i2c_write_buffer[3] = val & 0xff; in dibx000_write_word()
37 mst->msg[0].buf = mst->i2c_write_buffer; in dibx000_write_word()
55 mst->i2c_write_buffer[0] = reg >> 8; in dibx000_read_word()
56 mst->i2c_write_buffer[1] = reg & 0xff; in dibx000_read_word()
61 mst->msg[0].buf = mst->i2c_write_buffer; in dibx000_read_word()
307 dibx000_i2c_gate_ctrl(mst, &mst->i2c_write_buffer[0], msg[0].addr, 1); in dibx000_i2c_gated_gpio67_xfer()
309 mst->msg[0].buf = &mst->i2c_write_buffer[0]; in dibx000_i2c_gated_gpio67_xfer()
[all …]
Ddib9000.c36 u8 *i2c_write_buffer; member
107 u8 i2c_write_buffer[255]; member
245 state->msg[0].buf = state->i2c_write_buffer; in dib9000_read16_attr()
252 state->i2c_write_buffer[0] = reg >> 8; in dib9000_read16_attr()
253 state->i2c_write_buffer[1] = reg & 0xff; in dib9000_read16_attr()
256 state->i2c_write_buffer[0] |= (1 << 5); in dib9000_read16_attr()
258 state->i2c_write_buffer[0] |= (1 << 4); in dib9000_read16_attr()
284 .buf = i2c->i2c_write_buffer, .len = 2}, in dib9000_i2c_read16()
289 i2c->i2c_write_buffer[0] = reg >> 8; in dib9000_i2c_read16()
290 i2c->i2c_write_buffer[1] = reg & 0xff; in dib9000_i2c_read16()
[all …]
Ddib0070.c64 u8 i2c_write_buffer[3]; member
78 state->i2c_write_buffer[0] = reg; in dib0070_read_reg()
83 state->msg[0].buf = state->i2c_write_buffer; in dib0070_read_reg()
109 state->i2c_write_buffer[0] = reg; in dib0070_write_reg()
110 state->i2c_write_buffer[1] = val >> 8; in dib0070_write_reg()
111 state->i2c_write_buffer[2] = val & 0xff; in dib0070_write_reg()
116 state->msg[0].buf = state->i2c_write_buffer; in dib0070_write_reg()
Ddib7000m.c61 u8 i2c_write_buffer[4]; member
85 state->i2c_write_buffer[0] = (reg >> 8) | 0x80; in dib7000m_read_word()
86 state->i2c_write_buffer[1] = reg & 0xff; in dib7000m_read_word()
91 state->msg[0].buf = state->i2c_write_buffer; in dib7000m_read_word()
116 state->i2c_write_buffer[0] = (reg >> 8) & 0xff; in dib7000m_write_word()
117 state->i2c_write_buffer[1] = reg & 0xff; in dib7000m_write_word()
118 state->i2c_write_buffer[2] = (val >> 8) & 0xff; in dib7000m_write_word()
119 state->i2c_write_buffer[3] = val & 0xff; in dib7000m_write_word()
124 state->msg[0].buf = state->i2c_write_buffer; in dib7000m_write_word()
Ddib0090.c182 u8 i2c_write_buffer[3]; member
195 u8 i2c_write_buffer[2]; member
209 state->i2c_write_buffer[0] = reg; in dib0090_read_reg()
214 state->msg[0].buf = state->i2c_write_buffer; in dib0090_read_reg()
241 state->i2c_write_buffer[0] = reg & 0xff; in dib0090_write_reg()
242 state->i2c_write_buffer[1] = val >> 8; in dib0090_write_reg()
243 state->i2c_write_buffer[2] = val & 0xff; in dib0090_write_reg()
248 state->msg[0].buf = state->i2c_write_buffer; in dib0090_write_reg()
270 state->i2c_write_buffer[0] = reg; in dib0090_fw_read_reg()
297 state->i2c_write_buffer[0] = val >> 8; in dib0090_fw_write_reg()
[all …]
Ddib8000.c43 u8 *i2c_write_buffer; member
101 u8 i2c_write_buffer[4]; member
158 msg[0].buf = i2c->i2c_write_buffer; in dib8000_i2c_read16()
175 state->i2c_write_buffer[0] = reg >> 8; in __dib8000_read_word()
176 state->i2c_write_buffer[1] = reg & 0xff; in __dib8000_read_word()
181 state->msg[0].buf = state->i2c_write_buffer; in __dib8000_read_word()
239 msg.buf = i2c->i2c_write_buffer; in dib8000_i2c_write16()
260 state->i2c_write_buffer[0] = (reg >> 8) & 0xff; in dib8000_write_word()
261 state->i2c_write_buffer[1] = reg & 0xff; in dib8000_write_word()
262 state->i2c_write_buffer[2] = (val >> 8) & 0xff; in dib8000_write_word()
[all …]
Ddib7000p.c75 u8 i2c_write_buffer[4]; member
109 state->i2c_write_buffer[0] = reg >> 8; in dib7000p_read_word()
110 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_read_word()
115 state->msg[0].buf = state->i2c_write_buffer; in dib7000p_read_word()
139 state->i2c_write_buffer[0] = (reg >> 8) & 0xff; in dib7000p_write_word()
140 state->i2c_write_buffer[1] = reg & 0xff; in dib7000p_write_word()
141 state->i2c_write_buffer[2] = (val >> 8) & 0xff; in dib7000p_write_word()
142 state->i2c_write_buffer[3] = val & 0xff; in dib7000p_write_word()
147 state->msg[0].buf = state->i2c_write_buffer; in dib7000p_write_word()
Ddibx000_common.h35 u8 i2c_write_buffer[8]; member