Home
last modified time | relevance | path

Searched refs:rxlen (Results 1 – 24 of 24) sorted by relevance

/kernel/linux/linux-5.10/drivers/net/wireless/ath/ath10k/
Dbmi.c159 u32 rxlen; in ath10k_bmi_read_memory() local
171 rxlen = min_t(u32, length, BMI_MAX_DATA_SIZE); in ath10k_bmi_read_memory()
175 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory()
178 &resp, &rxlen); in ath10k_bmi_read_memory()
185 memcpy(buffer, resp.read_mem.payload, rxlen); in ath10k_bmi_read_memory()
186 address += rxlen; in ath10k_bmi_read_memory()
187 buffer += rxlen; in ath10k_bmi_read_memory()
188 length -= rxlen; in ath10k_bmi_read_memory()
/kernel/linux/linux-5.10/drivers/media/dvb-frontends/
Ddibx000_common.c143 u16 rxlen = msg->len, len; in dibx000_master_i2c_read() local
145 while (rxlen) { in dibx000_master_i2c_read()
146 len = rxlen > 8 ? 8 : rxlen; in dibx000_master_i2c_read()
156 if (rxlen == msg->len) in dibx000_master_i2c_read()
159 if (rxlen-len == 0) in dibx000_master_i2c_read()
166 rxlen -= len; in dibx000_master_i2c_read()
/kernel/linux/linux-5.10/drivers/tty/serial/
Dsc16is7xx.c372 static void sc16is7xx_fifo_read(struct uart_port *port, unsigned int rxlen) in sc16is7xx_fifo_read() argument
379 regmap_raw_read(s->regmap, addr, s->buf, rxlen); in sc16is7xx_fifo_read()
555 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen, in sc16is7xx_handle_rx() argument
562 if (unlikely(rxlen >= sizeof(s->buf))) { in sc16is7xx_handle_rx()
565 port->line, rxlen); in sc16is7xx_handle_rx()
568 rxlen = sizeof(s->buf); in sc16is7xx_handle_rx()
571 while (rxlen) { in sc16is7xx_handle_rx()
584 sc16is7xx_fifo_read(port, rxlen); in sc16is7xx_handle_rx()
585 bytes_read = rxlen; in sc16is7xx_handle_rx()
627 rxlen -= bytes_read; in sc16is7xx_handle_rx()
[all …]
Dmax310x.c654 static void max310x_handle_rx(struct uart_port *port, unsigned int rxlen) in max310x_handle_rx() argument
672 max310x_batch_read(port, one->rx_buf, rxlen); in max310x_handle_rx()
674 port->icount.rx += rxlen; in max310x_handle_rx()
683 for (i = 0; i < (rxlen - 1); ++i) in max310x_handle_rx()
692 one->rx_buf[rxlen-1], flag); in max310x_handle_rx()
695 if (unlikely(rxlen >= port->fifosize)) { in max310x_handle_rx()
699 rxlen = port->fifosize; in max310x_handle_rx()
702 while (rxlen--) { in max310x_handle_rx()
803 unsigned int ists, lsr, rxlen; in max310x_port_irq() local
807 rxlen = max310x_port_read(port, MAX310X_RXFIFOLVL_REG); in max310x_port_irq()
[all …]
/kernel/linux/linux-5.10/drivers/media/usb/dvb-usb/
Dtechnisat-usb2.c85 u8 device_addr, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in technisat_usb2_i2c_access() argument
103 if (rxlen > 62) { in technisat_usb2_i2c_access()
106 rxlen = 62; in technisat_usb2_i2c_access()
113 b[0] |= rxlen; in technisat_usb2_i2c_access()
148 memcpy(rx, &b[2], rxlen); in technisat_usb2_i2c_access()
150 deb_i2c("rx (%d): ", rxlen); in technisat_usb2_i2c_access()
151 debug_dump(rx, rxlen, deb_i2c); in technisat_usb2_i2c_access()
Ddib0700.h61 u8 rxlen);
Ddib0700_core.c71 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in dib0700_ctrl_rd() argument
96 USB_TYPE_VENDOR | USB_DIR_IN, value, index, rx, rxlen, in dib0700_ctrl_rd()
103 debug_dump(rx, rxlen, deb_data); in dib0700_ctrl_rd()
/kernel/linux/linux-5.10/drivers/net/ethernet/allwinner/
Dsun4i-emac.c504 u32 rxhdr, rxstatus, rxcount, rxlen; in emac_rx() local
584 rxlen = EMAC_RX_IO_DATA_LEN(rxhdr); in emac_rx()
589 rxstatus, rxlen); in emac_rx()
592 if (rxlen < 0x40) { in emac_rx()
616 skb = netdev_alloc_skb(dev, rxlen + 4); in emac_rx()
620 rdptr = skb_put(skb, rxlen - 4); in emac_rx()
624 dev_dbg(db->dev, "RxLen %x\n", rxlen); in emac_rx()
627 rdptr, rxlen); in emac_rx()
628 dev->stats.rx_bytes += rxlen; in emac_rx()
/kernel/linux/linux-5.10/drivers/net/wireless/zydas/
Dzd1201.c223 zd->rxlen = urb->actual_length; in zd1201_usbrx()
292 zd->rxlen = 0; in zd1201_usbrx()
296 if (copylen+zd->rxlen > sizeof(zd->rxdata)) in zd1201_usbrx()
298 memcpy(zd->rxdata+zd->rxlen, data+i+4, copylen); in zd1201_usbrx()
299 zd->rxlen += copylen; in zd1201_usbrx()
403 zd->rxlen = 0; in zd1201_usbrx()
426 if (!zd->rxlen) in zd1201_getconfig()
432 if (length > zd->rxlen) in zd1201_getconfig()
433 length = zd->rxlen-6; in zd1201_getconfig()
442 riddatalen, zd->rxlen, length, rid, rid_fid); in zd1201_getconfig()
[all …]
Dzd1201.h35 int rxlen; member
/kernel/linux/linux-5.10/drivers/net/ethernet/micrel/
Dks8851_common.c257 unsigned rxlen; in ks8851_rx_pkts() local
278 rxlen = ks8851_rdreg16(ks, KS_RXFHBCR) & RXFHBCR_CNT_MASK; in ks8851_rx_pkts()
281 "rx: stat 0x%04x, len 0x%04x\n", rxstat, rxlen); in ks8851_rx_pkts()
291 if (rxlen > 4) { in ks8851_rx_pkts()
294 rxlen -= 4; in ks8851_rx_pkts()
295 rxalign = ALIGN(rxlen, 4); in ks8851_rx_pkts()
305 rxpkt = skb_put(skb, rxlen) - 8; in ks8851_rx_pkts()
316 ks->netdev->stats.rx_bytes += rxlen; in ks8851_rx_pkts()
/kernel/linux/linux-5.10/drivers/spi/
Dspi-ti-qspi.c319 u8 rxlen, rx_wlen; in qspi_read_msg() local
350 rxlen = QSPI_WLEN_MAX_BYTES; in qspi_read_msg()
352 rxlen = min(count, 4); in qspi_read_msg()
354 rx_wlen = rxlen << 3; in qspi_read_msg()
359 rxlen = wlen; in qspi_read_msg()
405 rxbuf += rxlen; in qspi_read_msg()
406 count -= rxlen; in qspi_read_msg()
/kernel/linux/linux-5.10/drivers/gpu/drm/mcde/
Dmcde_dsi.c217 size_t rxlen = msg->rx_len; in mcde_dsi_execute_transfer() local
279 if (rdsz < rxlen) { in mcde_dsi_execute_transfer()
281 rxlen, rdsz); in mcde_dsi_execute_transfer()
285 for (i = 0; i < 4 && i < rxlen; i++) in mcde_dsi_execute_transfer()
300 size_t rxlen = msg->rx_len; in mcde_dsi_host_transfer() local
311 if (rxlen > 4) { in mcde_dsi_host_transfer()
319 msg->channel, txlen, rxlen); in mcde_dsi_host_transfer()
/kernel/linux/linux-5.10/drivers/net/ethernet/dec/tulip/
Ddmfe.c949 int rxlen; in dmfe_rx_packet() local
972 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in dmfe_rx_packet()
987 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in dmfe_rx_packet()
992 (cal_CRC(skb->data, rxlen, 1) != in dmfe_rx_packet()
993 (*(u32 *) (skb->data+rxlen) ))) { /* FIXME (?) */ in dmfe_rx_packet()
1000 if ((rxlen < RX_COPY_SIZE) && in dmfe_rx_packet()
1001 ((newskb = netdev_alloc_skb(dev, rxlen + 2)) in dmfe_rx_packet()
1008 skb_put(skb, rxlen), in dmfe_rx_packet()
1009 rxlen); in dmfe_rx_packet()
1012 skb_put(skb, rxlen); in dmfe_rx_packet()
[all …]
Duli526x.c803 int rxlen; in uli526x_rx_packet() local
827 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in uli526x_rx_packet()
842 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in uli526x_rx_packet()
849 if ((rxlen < RX_COPY_SIZE) && in uli526x_rx_packet()
850 (((new_skb = netdev_alloc_skb(dev, rxlen + 2)) != NULL))) { in uli526x_rx_packet()
856 rxlen); in uli526x_rx_packet()
859 skb_put(skb, rxlen); in uli526x_rx_packet()
864 dev->stats.rx_bytes += rxlen; in uli526x_rx_packet()
/kernel/linux/linux-5.10/drivers/video/backlight/
Dhx8357.c215 u8 *rxbuf, u16 rxlen) in hx8357_spi_write_then_read() argument
246 if (rxlen) { in hx8357_spi_write_then_read()
247 xfer[1].len = rxlen; in hx8357_spi_write_then_read()
/kernel/linux/linux-5.10/drivers/net/ethernet/sis/
Dsis900.h36 rxlen=0x3c, //Receive Packet Length Register enumerator
/kernel/linux/linux-5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c475 uint rxlen; /* Length of valid data in buffer */ member
1823 bus->rxlen = len - doff; in brcmf_sdio_read_control()
2519 bus->rxlen = 0; in brcmf_sdio_bus_stop()
3235 uint rxlen = 0; in brcmf_sdio_bus_rxctl() local
3247 timeleft = brcmf_sdio_dcmd_resp_wait(bus, &bus->rxlen, &pending); in brcmf_sdio_bus_rxctl()
3250 rxlen = bus->rxlen; in brcmf_sdio_bus_rxctl()
3251 memcpy(msg, bus->rxctl, min(msglen, rxlen)); in brcmf_sdio_bus_rxctl()
3255 bus->rxlen = 0; in brcmf_sdio_bus_rxctl()
3259 if (rxlen) { in brcmf_sdio_bus_rxctl()
3261 rxlen, msglen); in brcmf_sdio_bus_rxctl()
[all …]
/kernel/linux/linux-5.10/drivers/net/wireless/ath/ar5523/
Dar5523.c536 u32 rxlen; in ar5523_data_rx_cb() local
568 rxlen = be32_to_cpu(desc->len); in ar5523_data_rx_cb()
569 if (rxlen > ar->rxbufsz) { in ar5523_data_rx_cb()
575 if (!rxlen) { in ar5523_data_rx_cb()
587 skb_put(data->skb, rxlen - sizeof(struct ar5523_rx_desc)); in ar5523_data_rx_cb()
/kernel/linux/linux-5.10/drivers/gpu/drm/vc4/
Dvc4_dsi.c1209 u32 rxlen = VC4_GET_FIELD(rxpkt1h, in vc4_dsi_host_transfer() local
1212 if (rxlen != msg->rx_len) { in vc4_dsi_host_transfer()
1214 rxlen, (int)msg->rx_len); in vc4_dsi_host_transfer()
/kernel/linux/linux-5.10/drivers/input/touchscreen/
Dwdt87xx_i2c.c189 void *rxdata, size_t rxlen) in wdt87xx_i2c_xfer() argument
201 .len = rxlen, in wdt87xx_i2c_xfer()
/kernel/linux/linux-5.10/fs/jfs/
Djfs_xtree.c1705 int nxlen, xlen, lxlen, rxlen; in xtUpdate() local
1859 rxlen = lengthXAD(rxad); in xtUpdate()
1863 (rxlen + nxlen < MAXXLEN)) { in xtUpdate()
1866 XADlength(rxad, rxlen + nxlen); in xtUpdate()
/kernel/linux/linux-5.10/drivers/infiniband/hw/ocrdma/
Docrdma_sli.h1787 u32 rxlen; member
Docrdma_verbs.c2694 ibwc->byte_len = le32_to_cpu(cqe->rq.rxlen); in ocrdma_poll_success_rcqe()