Home
last modified time | relevance | path

Searched refs:snd_len (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/media/usb/dvb-usb/
Dpctv452e.c417 const u8 *snd_buf, u8 snd_len, in pctv452e_i2c_msg() argument
432 if (snd_len > 64 - 7 || rcv_len > 64 - 7) in pctv452e_i2c_msg()
438 buf[3] = snd_len + 3; in pctv452e_i2c_msg()
440 buf[5] = snd_len; in pctv452e_i2c_msg()
443 memcpy(buf + 7, snd_buf, snd_len); in pctv452e_i2c_msg()
445 ret = dvb_usb_generic_rw(d, buf, 7 + snd_len, in pctv452e_i2c_msg()
458 if (buf[5] < snd_len || buf[6] < rcv_len) in pctv452e_i2c_msg()
468 ret, SYNC_BYTE_OUT, id, addr << 1, snd_len, rcv_len, in pctv452e_i2c_msg()
485 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in pctv452e_i2c_xfer() local
491 snd_len = 0; in pctv452e_i2c_xfer()
[all …]
/linux-6.12.1/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c189 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 …]