Searched refs:snd_len (Results 1 – 2 of 2) sorted by relevance
/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 415 const u8 *snd_buf, u8 snd_len, in pctv452e_i2c_msg() argument 430 if (snd_len > 64 - 7 || rcv_len > 64 - 7) in pctv452e_i2c_msg() 436 buf[3] = snd_len + 3; in pctv452e_i2c_msg() 438 buf[5] = snd_len; in pctv452e_i2c_msg() 441 memcpy(buf + 7, snd_buf, snd_len); in pctv452e_i2c_msg() 443 ret = dvb_usb_generic_rw(d, buf, 7 + snd_len, in pctv452e_i2c_msg() 456 if (buf[5] < snd_len || buf[6] < rcv_len) in pctv452e_i2c_msg() 466 ret, SYNC_BYTE_OUT, id, addr << 1, snd_len, rcv_len, in pctv452e_i2c_msg() 483 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in pctv452e_i2c_xfer() local 489 snd_len = 0; in pctv452e_i2c_xfer() [all …]
|
/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 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() [all …]
|