Lines Matching refs:buf6
121 u8 buf6[] = {0x2c, 0x05, 0xc0, 0, 0, 0, 0}; in dw2102_i2c_transfer() local
139 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer()
140 msg[1].buf[i] = buf6[0]; in dw2102_i2c_transfer()
151 buf6[0] = 0x2a; in dw2102_i2c_transfer()
152 buf6[1] = msg[0].buf[0]; in dw2102_i2c_transfer()
153 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer()
155 buf6, 3, DW210X_WRITE_MSG); in dw2102_i2c_transfer()
164 buf6[0] = 0x2c; in dw2102_i2c_transfer()
165 buf6[1] = 5; in dw2102_i2c_transfer()
166 buf6[2] = 0xc0; in dw2102_i2c_transfer()
167 buf6[3] = msg[0].buf[0]; in dw2102_i2c_transfer()
168 buf6[4] = msg[0].buf[1]; in dw2102_i2c_transfer()
169 buf6[5] = msg[0].buf[2]; in dw2102_i2c_transfer()
170 buf6[6] = msg[0].buf[3]; in dw2102_i2c_transfer()
172 buf6, 7, DW210X_WRITE_MSG); in dw2102_i2c_transfer()
180 buf6, 1, DW210X_READ_MSG); in dw2102_i2c_transfer()
181 msg[0].buf[0] = buf6[0]; in dw2102_i2c_transfer()
190 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer()
191 msg[0].buf[0] = buf6[0]; in dw2102_i2c_transfer()
192 msg[0].buf[1] = buf6[1]; in dw2102_i2c_transfer()
199 buf6[0] = 0x30; in dw2102_i2c_transfer()
200 buf6[1] = msg[0].buf[0]; in dw2102_i2c_transfer()
202 buf6, 2, DW210X_WRITE_MSG); in dw2102_i2c_transfer()
217 u8 buf6[] = {0, 0, 0, 0, 0, 0, 0}; in dw2102_serit_i2c_transfer() local
233 if (2 + msg[1].len > sizeof(buf6)) { in dw2102_serit_i2c_transfer()
241 buf6[0] = msg[0].addr << 1; in dw2102_serit_i2c_transfer()
242 buf6[1] = msg[0].len; in dw2102_serit_i2c_transfer()
243 buf6[2] = msg[0].buf[0]; in dw2102_serit_i2c_transfer()
245 buf6, msg[0].len + 2, DW210X_WRITE_MSG); in dw2102_serit_i2c_transfer()
248 buf6, msg[1].len + 2, DW210X_READ_MSG); in dw2102_serit_i2c_transfer()
249 memcpy(msg[1].buf, buf6 + 2, msg[1].len); in dw2102_serit_i2c_transfer()
255 if (2 + msg[0].len > sizeof(buf6)) { in dw2102_serit_i2c_transfer()
263 buf6[0] = msg[0].addr << 1; in dw2102_serit_i2c_transfer()
264 buf6[1] = msg[0].len; in dw2102_serit_i2c_transfer()
265 memcpy(buf6 + 2, msg[0].buf, msg[0].len); in dw2102_serit_i2c_transfer()
266 dw210x_op_rw(d->udev, 0xc2, 0, 0, buf6, in dw2102_serit_i2c_transfer()
271 buf6, 2, DW210X_READ_MSG); in dw2102_serit_i2c_transfer()
272 msg[0].buf[0] = buf6[0]; in dw2102_serit_i2c_transfer()
273 msg[0].buf[1] = buf6[1]; in dw2102_serit_i2c_transfer()
276 buf6[0] = 0x30; in dw2102_serit_i2c_transfer()
277 buf6[1] = msg[0].buf[0]; in dw2102_serit_i2c_transfer()
279 buf6, 2, DW210X_WRITE_MSG); in dw2102_serit_i2c_transfer()