Lines Matching refs:snd_len
198 u8 addr, u8 * snd_buf, u8 snd_len, u8 * rcv_buf,
205 if (snd_len > 0x28 - 7 || rcv_len > 0x20 - 7)
211 b[3] = snd_len + 3;
213 b[5] = snd_len;
216 for (i = 0; i < snd_len; i++)
219 err = ttusb_cmd(ttusb, b, snd_len + 7, 1);
227 if ((snd_len != b[5]) || (rcv_len != b[6])) return -EREMOTEIO;
255 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf;
261 snd_len = msg[i].len;
268 snd_len = msg[i].len;
275 snd_buf, snd_len, rcv_buf, rcv_len);