/linux-6.6.21/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 159 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()
|
/linux-6.6.21/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 249 int rxlen = req->count; in emac_dma_done_callback() local 252 dma_unmap_single(db->dev, req->rxbuf, rxlen, DMA_FROM_DEVICE); in emac_dma_done_callback() 256 dev->stats.rx_bytes += rxlen; in emac_dma_done_callback() 624 u32 rxhdr, rxstatus, rxcount, rxlen; in emac_rx() local 692 rxlen = EMAC_RX_IO_DATA_LEN(rxhdr); in emac_rx() 697 rxstatus, rxlen); in emac_rx() 700 if (rxlen < 0x40) { in emac_rx() 724 skb = netdev_alloc_skb(dev, rxlen + 4); in emac_rx() 728 rdptr = skb_put(skb, rxlen - 4); in emac_rx() 732 dev_dbg(db->dev, "RxLen %x\n", rxlen); in emac_rx() [all …]
|
/linux-6.6.21/drivers/gpio/ |
D | gpio-virtio.c | 29 unsigned int rxlen; member 59 u8 txvalue, u8 *rxvalue, void *response, u32 rxlen) in _virtio_gpio_req() argument 81 sg_init_one(&res_sg, res, rxlen); in _virtio_gpio_req() 85 line->rxlen = 0; in _virtio_gpio_req() 111 if (unlikely(line->rxlen != rxlen)) { in _virtio_gpio_req() 113 rxlen, line->rxlen); in _virtio_gpio_req() 446 line->rxlen = len; in virtio_gpio_request_vq()
|
/linux-6.6.21/drivers/net/mctp/ |
D | mctp-serial.c | 65 unsigned int txlen, rxlen; member 278 skb = netdev_alloc_skb(dev->netdev, dev->rxlen); in mctp_serial_rx() 285 skb_put_data(skb, dev->rxbuf, dev->rxlen); in mctp_serial_rx() 293 dev->netdev->stats.rx_bytes += dev->rxlen; in mctp_serial_rx() 317 dev->rxlen = c; in mctp_serial_push_header() 342 dev->rxlen = 0; in mctp_serial_push_trailer() 371 if (dev->rxpos == dev->rxlen) { in mctp_serial_push()
|
/linux-6.6.21/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 143 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()
|
/linux-6.6.21/drivers/media/usb/dvb-usb/ |
D | technisat-usb2.c | 85 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()
|
D | dib0700.h | 61 u8 rxlen);
|
D | dib0700_core.c | 71 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()
|
/linux-6.6.21/drivers/tty/serial/ |
D | sc16is7xx.c | 381 static void sc16is7xx_fifo_read(struct uart_port *port, unsigned int rxlen) in sc16is7xx_fifo_read() argument 386 regmap_noinc_read(one->regmap, SC16IS7XX_RHR_REG, s->buf, rxlen); in sc16is7xx_fifo_read() 551 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen, in sc16is7xx_handle_rx() argument 559 if (unlikely(rxlen >= sizeof(s->buf))) { in sc16is7xx_handle_rx() 562 port->line, rxlen); in sc16is7xx_handle_rx() 565 rxlen = sizeof(s->buf); in sc16is7xx_handle_rx() 568 while (rxlen) { in sc16is7xx_handle_rx() 581 sc16is7xx_fifo_read(port, rxlen); in sc16is7xx_handle_rx() 582 bytes_read = rxlen; in sc16is7xx_handle_rx() 624 rxlen -= bytes_read; in sc16is7xx_handle_rx() [all …]
|
D | max310x.c | 685 static void max310x_handle_rx(struct uart_port *port, unsigned int rxlen) in max310x_handle_rx() argument 704 max310x_batch_read(port, one->rx_buf, rxlen); in max310x_handle_rx() 706 port->icount.rx += rxlen; in max310x_handle_rx() 715 for (i = 0; i < (rxlen - 1); ++i) in max310x_handle_rx() 724 one->rx_buf[rxlen-1], flag); in max310x_handle_rx() 727 if (unlikely(rxlen >= port->fifosize)) { in max310x_handle_rx() 731 rxlen = port->fifosize; in max310x_handle_rx() 734 while (rxlen--) { in max310x_handle_rx() 832 unsigned int ists, lsr, rxlen; in max310x_port_irq() local 836 rxlen = max310x_port_read(port, MAX310X_RXFIFOLVL_REG); in max310x_port_irq() [all …]
|
/linux-6.6.21/drivers/net/wireless/zydas/ |
D | zd1201.c | 223 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 …]
|
D | zd1201.h | 35 int rxlen; member
|
/linux-6.6.21/drivers/net/ethernet/davicom/ |
D | dm9051.c | 72 __le16 rxlen; member 743 int ret, rxlen; in dm9051_loop_rx() local 764 rxlen = le16_to_cpu(db->rxhdr.rxlen); in dm9051_loop_rx() 765 if (db->rxhdr.status & RSR_ERR_BITS || rxlen > DM9051_PKT_MAX) { in dm9051_loop_rx() 776 rxlen, DM9051_PKT_MAX); in dm9051_loop_rx() 781 skb = dev_alloc_skb(rxlen); in dm9051_loop_rx() 783 ret = dm9051_dumpblk(db, DM_SPI_MRCMD, rxlen); in dm9051_loop_rx() 789 rdptr = skb_put(skb, rxlen - 4); in dm9051_loop_rx() 790 ret = dm9051_read_mem(db, DM_SPI_MRCMD, rdptr, rxlen); in dm9051_loop_rx() 807 db->ndev->stats.rx_bytes += rxlen; in dm9051_loop_rx()
|
/linux-6.6.21/drivers/net/ethernet/vertexcom/ |
D | mse102x.c | 308 unsigned int rxlen; in mse102x_rx_pkt_spi() local 338 rxlen = cmd_resp & LEN_MASK; in mse102x_rx_pkt_spi() 339 if (!rxlen) { in mse102x_rx_pkt_spi() 345 rxalign = ALIGN(rxlen + DET_SOF_LEN + DET_DFT_LEN, 4); in mse102x_rx_pkt_spi() 354 rxpkt = skb_put(skb, rxlen) - DET_SOF_LEN; in mse102x_rx_pkt_spi() 355 if (mse102x_rx_frame_spi(mse, rxpkt, rxlen)) { in mse102x_rx_pkt_spi() 368 mse->ndev->stats.rx_bytes += rxlen; in mse102x_rx_pkt_spi()
|
/linux-6.6.21/drivers/net/ethernet/micrel/ |
D | ks8851_common.c | 256 unsigned rxlen; in ks8851_rx_pkts() local 277 rxlen = ks8851_rdreg16(ks, KS_RXFHBCR) & RXFHBCR_CNT_MASK; in ks8851_rx_pkts() 280 "rx: stat 0x%04x, len 0x%04x\n", rxstat, rxlen); in ks8851_rx_pkts() 290 if (rxlen > 4) { in ks8851_rx_pkts() 293 rxlen -= 4; in ks8851_rx_pkts() 294 rxalign = ALIGN(rxlen, 4); in ks8851_rx_pkts() 304 rxpkt = skb_put(skb, rxlen) - 8; in ks8851_rx_pkts() 315 ks->netdev->stats.rx_bytes += rxlen; in ks8851_rx_pkts()
|
/linux-6.6.21/drivers/spi/ |
D | spi-ti-qspi.c | 317 u8 rxlen, rx_wlen; in qspi_read_msg() local 348 rxlen = QSPI_WLEN_MAX_BYTES; in qspi_read_msg() 350 rxlen = min(count, 4); in qspi_read_msg() 352 rx_wlen = rxlen << 3; in qspi_read_msg() 357 rxlen = wlen; in qspi_read_msg() 403 rxbuf += rxlen; in qspi_read_msg() 404 count -= rxlen; in qspi_read_msg()
|
/linux-6.6.21/drivers/gpu/drm/mcde/ |
D | mcde_dsi.c | 217 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()
|
/linux-6.6.21/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 948 int rxlen; in dmfe_rx_packet() local 971 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in dmfe_rx_packet() 986 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in dmfe_rx_packet() 991 (cal_CRC(skb->data, rxlen, 1) != in dmfe_rx_packet() 992 (*(u32 *) (skb->data+rxlen) ))) { /* FIXME (?) */ in dmfe_rx_packet() 999 if ((rxlen < RX_COPY_SIZE) && in dmfe_rx_packet() 1000 ((newskb = netdev_alloc_skb(dev, rxlen + 2)) in dmfe_rx_packet() 1007 skb_put(skb, rxlen), in dmfe_rx_packet() 1008 rxlen); in dmfe_rx_packet() 1011 skb_put(skb, rxlen); in dmfe_rx_packet() [all …]
|
D | uli526x.c | 806 int rxlen; in uli526x_rx_packet() local 830 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in uli526x_rx_packet() 845 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in uli526x_rx_packet() 852 if ((rxlen < RX_COPY_SIZE) && in uli526x_rx_packet() 853 (((new_skb = netdev_alloc_skb(dev, rxlen + 2)) != NULL))) { in uli526x_rx_packet() 859 rxlen); in uli526x_rx_packet() 862 skb_put(skb, rxlen); in uli526x_rx_packet() 867 dev->stats.rx_bytes += rxlen; in uli526x_rx_packet()
|
/linux-6.6.21/drivers/video/backlight/ |
D | hx8357.c | 215 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()
|
/linux-6.6.21/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
D | sdio.c | 473 uint rxlen; /* Length of valid data in buffer */ member 1834 bus->rxlen = len - doff; in brcmf_sdio_read_control() 2530 bus->rxlen = 0; in brcmf_sdio_bus_stop() 3246 uint rxlen = 0; in brcmf_sdio_bus_rxctl() local 3258 timeleft = brcmf_sdio_dcmd_resp_wait(bus, &bus->rxlen, &pending); in brcmf_sdio_bus_rxctl() 3261 rxlen = bus->rxlen; in brcmf_sdio_bus_rxctl() 3262 memcpy(msg, bus->rxctl, min(msglen, rxlen)); in brcmf_sdio_bus_rxctl() 3266 bus->rxlen = 0; in brcmf_sdio_bus_rxctl() 3270 if (rxlen) { in brcmf_sdio_bus_rxctl() 3272 rxlen, msglen); in brcmf_sdio_bus_rxctl() [all …]
|
/linux-6.6.21/drivers/net/ethernet/sis/ |
D | sis900.h | 36 rxlen=0x3c, //Receive Packet Length Register enumerator
|
/linux-6.6.21/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 542 u32 rxlen; in ar5523_data_rx_cb() local 574 rxlen = be32_to_cpu(desc->len); in ar5523_data_rx_cb() 575 if (rxlen > ar->rxbufsz) { in ar5523_data_rx_cb() 581 if (!rxlen) { in ar5523_data_rx_cb() 593 skb_put(data->skb, rxlen - sizeof(struct ar5523_rx_desc)); in ar5523_data_rx_cb()
|
/linux-6.6.21/drivers/gpu/drm/vc4/ |
D | vc4_dsi.c | 1302 u32 rxlen = VC4_GET_FIELD(rxpkt1h, in vc4_dsi_host_transfer() local 1305 if (rxlen != msg->rx_len) { in vc4_dsi_host_transfer() 1307 rxlen, (int)msg->rx_len); in vc4_dsi_host_transfer()
|
/linux-6.6.21/drivers/input/touchscreen/ |
D | wdt87xx_i2c.c | 189 void *rxdata, size_t rxlen) in wdt87xx_i2c_xfer() argument 201 .len = rxlen, in wdt87xx_i2c_xfer()
|