Searched refs:rcv_len (Results 1 – 8 of 8) sorted by relevance
/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 416 u8 *rcv_buf, u8 rcv_len) in pctv452e_i2c_msg() argument 430 if (snd_len > 64 - 7 || rcv_len > 64 - 7) in pctv452e_i2c_msg() 439 buf[6] = rcv_len; in pctv452e_i2c_msg() 456 if (buf[5] < snd_len || buf[6] < rcv_len) in pctv452e_i2c_msg() 459 memcpy(rcv_buf, buf + 7, rcv_len); in pctv452e_i2c_msg() 462 return 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 491 rcv_len = msg[i].len; in pctv452e_i2c_xfer() 497 rcv_len = 0; in pctv452e_i2c_xfer() [all …]
|
/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 190 u8 rcv_len) in ttusb_i2c_msg() argument 196 if (snd_len > MAX_SEND - 7 || rcv_len > MAX_RCV - 7) in ttusb_i2c_msg() 205 b[6] = rcv_len; in ttusb_i2c_msg() 216 if ((snd_len != b[5]) || (rcv_len != b[6])) return -EREMOTEIO; in ttusb_i2c_msg() 218 if (rcv_len > 0) { in ttusb_i2c_msg() 226 for (i = 0; i < rcv_len; i++) in ttusb_i2c_msg() 230 return rcv_len; in ttusb_i2c_msg() 243 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in master_xfer() local 251 rcv_len = msg[i + 1].len; in master_xfer() 258 rcv_len = 0; in master_xfer() [all …]
|
/drivers/usb/serial/ |
D | mxuport.c | 479 u16 rcv_len; in mxuport_process_read_urb_demux_data() local 496 rcv_len = get_unaligned_be16(data + 2); in mxuport_process_read_urb_demux_data() 497 if (!rcv_len || data + HEADER_SIZE + rcv_len > end) { in mxuport_process_read_urb_demux_data() 504 mxuport_process_read_urb_data(demux_port, ch, rcv_len); in mxuport_process_read_urb_demux_data() 509 data += HEADER_SIZE + rcv_len; in mxuport_process_read_urb_demux_data()
|
/drivers/usb/renesas_usbhs/ |
D | fifo.c | 657 int rcv_len, len; in usbhsf_pio_try_pop() local 669 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_pio_try_pop() 673 len = min(len, rcv_len); in usbhsf_pio_try_pop() 704 if (0 == rcv_len) { in usbhsf_pio_try_pop() 1186 int rcv_len; in usbhsf_dma_pop_done_with_usb_dmac() local 1195 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_dma_pop_done_with_usb_dmac() 1197 pkt->actual = usbhs_dma_calc_received_size(pkt, chan, rcv_len); in usbhsf_dma_pop_done_with_usb_dmac()
|
/drivers/nvme/host/ |
D | tcp.c | 687 size_t rcv_len = min_t(size_t, *len, queue->pdu_remaining); in nvme_tcp_recv_pdu() local 691 &pdu[queue->pdu_offset], rcv_len); in nvme_tcp_recv_pdu() 695 queue->pdu_remaining -= rcv_len; in nvme_tcp_recv_pdu() 696 queue->pdu_offset += rcv_len; in nvme_tcp_recv_pdu() 697 *offset += rcv_len; in nvme_tcp_recv_pdu() 698 *len -= rcv_len; in nvme_tcp_recv_pdu()
|
/drivers/usb/host/ |
D | r8a66597-hcd.c | 1308 int rcv_len, bufsize, urb_len, size; in packet_read() local 1330 rcv_len = tmp & DTLN; in packet_read() 1340 if (rcv_len <= bufsize) { in packet_read() 1341 size = rcv_len; in packet_read() 1350 if (rcv_len == 0) in packet_read() 1352 if (rcv_len < bufsize) { in packet_read()
|
/drivers/usb/gadget/udc/ |
D | m66592-udc.c | 842 int rcv_len, bufsize, req_len; in irq_packet_read() local 860 rcv_len = tmp & M66592_DTLN; in irq_packet_read() 865 if (rcv_len < bufsize) in irq_packet_read() 866 size = min(rcv_len, req_len); in irq_packet_read()
|
D | r8a66597-udc.c | 1042 int rcv_len, bufsize, req_len; in irq_packet_read() local 1060 rcv_len = tmp & DTLN; in irq_packet_read() 1065 if (rcv_len < bufsize) in irq_packet_read() 1066 size = min(rcv_len, req_len); in irq_packet_read()
|