Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/usb/dvb-usb/
Dpctv452e.c416 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 …]
/linux-6.1.9/drivers/media/usb/ttusb-budget/
Ddvb-ttusb-budget.c190 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 …]
/linux-6.1.9/drivers/usb/serial/
Dmxuport.c472 u16 rcv_len; in mxuport_process_read_urb_demux_data() local
489 rcv_len = get_unaligned_be16(data + 2); in mxuport_process_read_urb_demux_data()
490 if (!rcv_len || data + HEADER_SIZE + rcv_len > end) { in mxuport_process_read_urb_demux_data()
497 mxuport_process_read_urb_data(demux_port, ch, rcv_len); in mxuport_process_read_urb_demux_data()
502 data += HEADER_SIZE + rcv_len; in mxuport_process_read_urb_demux_data()
/linux-6.1.9/drivers/usb/renesas_usbhs/
Dfifo.c659 int rcv_len, len; in usbhsf_pio_try_pop() local
671 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_pio_try_pop()
675 len = min(len, rcv_len); in usbhsf_pio_try_pop()
706 if (0 == rcv_len) { in usbhsf_pio_try_pop()
1188 int rcv_len; in usbhsf_dma_pop_done_with_usb_dmac() local
1197 rcv_len = usbhsf_fifo_rcv_len(priv, fifo); in usbhsf_dma_pop_done_with_usb_dmac()
1199 pkt->actual = usbhs_dma_calc_received_size(pkt, chan, rcv_len); in usbhsf_dma_pop_done_with_usb_dmac()
/linux-6.1.9/drivers/nvme/host/
Dtcp.c702 size_t rcv_len = min_t(size_t, *len, queue->pdu_remaining); in nvme_tcp_recv_pdu() local
706 &pdu[queue->pdu_offset], rcv_len); in nvme_tcp_recv_pdu()
710 queue->pdu_remaining -= rcv_len; in nvme_tcp_recv_pdu()
711 queue->pdu_offset += rcv_len; in nvme_tcp_recv_pdu()
712 *offset += rcv_len; in nvme_tcp_recv_pdu()
713 *len -= rcv_len; in nvme_tcp_recv_pdu()
/linux-6.1.9/drivers/usb/host/
Dr8a66597-hcd.c1308 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()
/linux-6.1.9/drivers/usb/gadget/udc/
Dm66592-udc.c842 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()
Dr8a66597-udc.c1042 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()
/linux-6.1.9/drivers/net/ethernet/marvell/prestera/
Dprestera_pci.c111 u32 rcv_len; member
152 #define PRESTERA_CMDQ_RCV_LEN_REG(q) PRESTERA_CMDQ_REG_OFFSET(q, rcv_len)