Lines Matching refs:buf6

121 	u8 buf6[] = {0x2c, 0x05, 0xc0, 0, 0, 0, 0};  in dw2102_i2c_transfer()  local
135 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer()
136 msg[1].buf[i] = buf6[0]; in dw2102_i2c_transfer()
143 buf6[0] = 0x2a; in dw2102_i2c_transfer()
144 buf6[1] = msg[0].buf[0]; in dw2102_i2c_transfer()
145 buf6[2] = msg[0].buf[1]; in dw2102_i2c_transfer()
147 buf6, 3, DW210X_WRITE_MSG); in dw2102_i2c_transfer()
152 buf6[0] = 0x2c; in dw2102_i2c_transfer()
153 buf6[1] = 5; in dw2102_i2c_transfer()
154 buf6[2] = 0xc0; in dw2102_i2c_transfer()
155 buf6[3] = msg[0].buf[0]; in dw2102_i2c_transfer()
156 buf6[4] = msg[0].buf[1]; in dw2102_i2c_transfer()
157 buf6[5] = msg[0].buf[2]; in dw2102_i2c_transfer()
158 buf6[6] = msg[0].buf[3]; in dw2102_i2c_transfer()
160 buf6, 7, DW210X_WRITE_MSG); in dw2102_i2c_transfer()
164 buf6, 1, DW210X_READ_MSG); in dw2102_i2c_transfer()
165 msg[0].buf[0] = buf6[0]; in dw2102_i2c_transfer()
170 buf6, 2, DW210X_READ_MSG); in dw2102_i2c_transfer()
171 msg[0].buf[0] = buf6[0]; in dw2102_i2c_transfer()
172 msg[0].buf[1] = buf6[1]; in dw2102_i2c_transfer()
175 buf6[0] = 0x30; in dw2102_i2c_transfer()
176 buf6[1] = msg[0].buf[0]; in dw2102_i2c_transfer()
178 buf6, 2, DW210X_WRITE_MSG); in dw2102_i2c_transfer()
193 u8 buf6[] = {0, 0, 0, 0, 0, 0, 0}; in dw2102_serit_i2c_transfer() local
209 if (2 + msg[1].len > sizeof(buf6)) { in dw2102_serit_i2c_transfer()
217 buf6[0] = msg[0].addr << 1; in dw2102_serit_i2c_transfer()
218 buf6[1] = msg[0].len; in dw2102_serit_i2c_transfer()
219 buf6[2] = msg[0].buf[0]; in dw2102_serit_i2c_transfer()
221 buf6, msg[0].len + 2, DW210X_WRITE_MSG); in dw2102_serit_i2c_transfer()
224 buf6, msg[1].len + 2, DW210X_READ_MSG); in dw2102_serit_i2c_transfer()
225 memcpy(msg[1].buf, buf6 + 2, msg[1].len); in dw2102_serit_i2c_transfer()
231 if (2 + msg[0].len > sizeof(buf6)) { in dw2102_serit_i2c_transfer()
239 buf6[0] = msg[0].addr << 1; in dw2102_serit_i2c_transfer()
240 buf6[1] = msg[0].len; in dw2102_serit_i2c_transfer()
241 memcpy(buf6 + 2, msg[0].buf, msg[0].len); in dw2102_serit_i2c_transfer()
242 dw210x_op_rw(d->udev, 0xc2, 0, 0, buf6, in dw2102_serit_i2c_transfer()
247 buf6, 2, DW210X_READ_MSG); in dw2102_serit_i2c_transfer()
248 msg[0].buf[0] = buf6[0]; in dw2102_serit_i2c_transfer()
249 msg[0].buf[1] = buf6[1]; in dw2102_serit_i2c_transfer()
252 buf6[0] = 0x30; in dw2102_serit_i2c_transfer()
253 buf6[1] = msg[0].buf[0]; in dw2102_serit_i2c_transfer()
255 buf6, 2, DW210X_WRITE_MSG); in dw2102_serit_i2c_transfer()