Searched refs:rcv_len (Results 1 – 7 of 7) sorted by relevance
/Linux-v4.19/drivers/media/usb/dvb-usb/ |
D | pctv452e.c | 412 u8 *rcv_buf, u8 rcv_len) in pctv452e_i2c_msg() argument 426 if (snd_len > 64 - 7 || rcv_len > 64 - 7) in pctv452e_i2c_msg() 435 buf[6] = rcv_len; in pctv452e_i2c_msg() 452 if (buf[5] < snd_len || buf[6] < rcv_len) in pctv452e_i2c_msg() 455 memcpy(rcv_buf, buf + 7, rcv_len); in pctv452e_i2c_msg() 458 return rcv_len; in pctv452e_i2c_msg() 462 ret, SYNC_BYTE_OUT, id, addr << 1, snd_len, rcv_len, in pctv452e_i2c_msg() 479 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in pctv452e_i2c_xfer() local 487 rcv_len = msg[i].len; in pctv452e_i2c_xfer() 493 rcv_len = 0; in pctv452e_i2c_xfer() [all …]
|
/Linux-v4.19/drivers/media/usb/ttusb-budget/ |
D | dvb-ttusb-budget.c | 200 u8 rcv_len) in ttusb_i2c_msg() argument 206 if (snd_len > 0x28 - 7 || rcv_len > 0x20 - 7) in ttusb_i2c_msg() 215 b[6] = rcv_len; in ttusb_i2c_msg() 228 if ((snd_len != b[5]) || (rcv_len != b[6])) return -EREMOTEIO; in ttusb_i2c_msg() 230 if (rcv_len > 0) { in ttusb_i2c_msg() 239 for (i = 0; i < rcv_len; i++) in ttusb_i2c_msg() 243 return rcv_len; in ttusb_i2c_msg() 256 u8 addr, snd_len, rcv_len, *snd_buf, *rcv_buf; in master_xfer() local 264 rcv_len = msg[i + 1].len; in master_xfer() 271 rcv_len = 0; in master_xfer() [all …]
|
/Linux-v4.19/drivers/usb/renesas_usbhs/ |
D | fifo.c | 647 int rcv_len, len; in usbhsf_pio_try_pop() local 659 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_pio_try_pop() 663 len = min(len, rcv_len); in usbhsf_pio_try_pop() 694 if (0 == rcv_len) { in usbhsf_pio_try_pop() 1166 int rcv_len; in usbhsf_dma_pop_done_with_usb_dmac() local 1175 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_dma_pop_done_with_usb_dmac() 1177 pkt->actual = usbhs_dma_calc_received_size(pkt, chan, rcv_len); in usbhsf_dma_pop_done_with_usb_dmac()
|
/Linux-v4.19/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()
|
/Linux-v4.19/drivers/usb/host/ |
D | r8a66597-hcd.c | 1310 int rcv_len, bufsize, urb_len, size; in packet_read() local 1332 rcv_len = tmp & DTLN; in packet_read() 1342 if (rcv_len <= bufsize) { in packet_read() 1343 size = rcv_len; in packet_read() 1352 if (rcv_len == 0) in packet_read() 1354 if (rcv_len < bufsize) { in packet_read()
|
/Linux-v4.19/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()
|