Home
last modified time | relevance | path

Searched refs:rcv_len (Results 1 – 7 of 7) sorted by relevance

/drivers/media/usb/dvb-usb/
Dpctv452e.c405 u8 *rcv_buf, u8 rcv_len) in pctv452e_i2c_msg() argument
415 if (snd_len > 64 - 7 || rcv_len > 64 - 7) in pctv452e_i2c_msg()
424 buf[6] = rcv_len; in pctv452e_i2c_msg()
441 if (buf[5] < snd_len || buf[6] < rcv_len) in pctv452e_i2c_msg()
444 memcpy(rcv_buf, buf + 7, rcv_len); in pctv452e_i2c_msg()
446 return rcv_len; in pctv452e_i2c_msg()
451 ret, SYNC_BYTE_OUT, id, addr << 1, snd_len, rcv_len, in pctv452e_i2c_msg()
467 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in pctv452e_i2c_xfer() local
475 rcv_len = msg[i].len; in pctv452e_i2c_xfer()
481 rcv_len = 0; in pctv452e_i2c_xfer()
[all …]
/drivers/staging/sbe-2t3e3/
Dintr.c123 unsigned rcv_len; in dc_intr_rx() local
153 rcv_len = (current_desc->rdes0 & SBE_2T3E3_RX_DESC_FRAME_LENGTH) >> in dc_intr_rx()
157 rcv_len); in dc_intr_rx()
161 rcv_len -= SBE_2T3E3_CRC16_LENGTH; in dc_intr_rx()
164 rcv_len -= SBE_2T3E3_CRC32_LENGTH; in dc_intr_rx()
251 if (rcv_len > 1600) { in dc_intr_rx()
263 sc->s.in_bytes += rcv_len; in dc_intr_rx()
265 skb_put(m, rcv_len); in dc_intr_rx()
/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c201 u8 rcv_len) in ttusb_i2c_msg() argument
207 if (snd_len > 0x28 - 7 || rcv_len > 0x20 - 7) in ttusb_i2c_msg()
216 b[6] = rcv_len; in ttusb_i2c_msg()
229 if ((snd_len != b[5]) || (rcv_len != b[6])) return -EREMOTEIO; in ttusb_i2c_msg()
231 if (rcv_len > 0) { in ttusb_i2c_msg()
240 for (i = 0; i < rcv_len; i++) in ttusb_i2c_msg()
244 return rcv_len; in ttusb_i2c_msg()
257 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in master_xfer() local
265 rcv_len = msg[i + 1].len; in master_xfer()
272 rcv_len = 0; in master_xfer()
[all …]
/drivers/usb/renesas_usbhs/
Dfifo.c615 int rcv_len, len; in usbhsf_pio_try_pop() local
627 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_pio_try_pop()
631 len = min(len, rcv_len); in usbhsf_pio_try_pop()
654 if (0 == rcv_len) { in usbhsf_pio_try_pop()
/drivers/usb/host/
Dr8a66597-hcd.c1324 int rcv_len, bufsize, urb_len, size; in packet_read() local
1346 rcv_len = tmp & DTLN; in packet_read()
1356 if (rcv_len <= bufsize) { in packet_read()
1357 size = rcv_len; in packet_read()
1366 if (rcv_len == 0) in packet_read()
1368 if (rcv_len < bufsize) { in packet_read()
/drivers/usb/gadget/
Dm66592-udc.c845 int rcv_len, bufsize, req_len; in irq_packet_read() local
863 rcv_len = tmp & M66592_DTLN; in irq_packet_read()
868 if (rcv_len < bufsize) in irq_packet_read()
869 size = min(rcv_len, req_len); in irq_packet_read()
Dr8a66597-udc.c1045 int rcv_len, bufsize, req_len; in irq_packet_read() local
1063 rcv_len = tmp & DTLN; in irq_packet_read()
1068 if (rcv_len < bufsize) in irq_packet_read()
1069 size = min(rcv_len, req_len); in irq_packet_read()