Lines Matching refs:snd_len
189 u8 addr, u8 * snd_buf, u8 snd_len, u8 * rcv_buf, in ttusb_i2c_msg() argument
196 if (snd_len > MAX_SEND - 7 || rcv_len > MAX_RCV - 7) in ttusb_i2c_msg()
202 b[3] = snd_len + 3; in ttusb_i2c_msg()
204 b[5] = snd_len; in ttusb_i2c_msg()
207 for (i = 0; i < snd_len; i++) in ttusb_i2c_msg()
210 err = ttusb_cmd(ttusb, b, snd_len + 7, MAX_RCV); in ttusb_i2c_msg()
216 if ((snd_len != b[5]) || (rcv_len != b[6])) return -EREMOTEIO; in ttusb_i2c_msg()
243 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in master_xfer() local
249 snd_len = msg[i].len; in master_xfer()
256 snd_len = msg[i].len; in master_xfer()
263 snd_buf, snd_len, rcv_buf, rcv_len); in master_xfer()