/drivers/net/wireless/ath/ath10k/ |
D | bmi.c | 97 u32 rxlen; in ath10k_bmi_read_memory() local 109 rxlen = min_t(u32, length, BMI_MAX_DATA_SIZE); in ath10k_bmi_read_memory() 113 cmd.read_mem.len = __cpu_to_le32(rxlen); in ath10k_bmi_read_memory() 116 &resp, &rxlen); in ath10k_bmi_read_memory() 123 memcpy(buffer, resp.read_mem.payload, rxlen); in ath10k_bmi_read_memory() 124 address += rxlen; in ath10k_bmi_read_memory() 125 buffer += rxlen; in ath10k_bmi_read_memory() 126 length -= rxlen; in ath10k_bmi_read_memory()
|
/drivers/media/dvb-frontends/ |
D | dibx000_common.c | 136 u16 rxlen = msg->len, len; in dibx000_master_i2c_read() local 138 while (rxlen) { in dibx000_master_i2c_read() 139 len = rxlen > 8 ? 8 : rxlen; in dibx000_master_i2c_read() 149 if (rxlen == msg->len) in dibx000_master_i2c_read() 152 if (rxlen-len == 0) in dibx000_master_i2c_read() 159 rxlen -= len; in dibx000_master_i2c_read()
|
/drivers/tty/serial/ |
D | sc16is7xx.c | 470 static void sc16is7xx_handle_rx(struct uart_port *port, unsigned int rxlen, in sc16is7xx_handle_rx() argument 477 if (unlikely(rxlen >= sizeof(s->buf))) { in sc16is7xx_handle_rx() 480 port->line, rxlen); in sc16is7xx_handle_rx() 483 rxlen = sizeof(s->buf); in sc16is7xx_handle_rx() 486 while (rxlen) { in sc16is7xx_handle_rx() 501 s->buf, rxlen); in sc16is7xx_handle_rx() 503 bytes_read = rxlen; in sc16is7xx_handle_rx() 545 rxlen -= bytes_read; in sc16is7xx_handle_rx() 596 unsigned int iir, msr, rxlen; in sc16is7xx_port_irq() local 609 rxlen = sc16is7xx_port_read(port, SC16IS7XX_RXLVL_REG); in sc16is7xx_port_irq() [all …]
|
D | max310x.c | 589 static void max310x_handle_rx(struct uart_port *port, unsigned int rxlen) in max310x_handle_rx() argument 593 if (unlikely(rxlen >= port->fifosize)) { in max310x_handle_rx() 599 rxlen = port->fifosize; in max310x_handle_rx() 602 while (rxlen--) { in max310x_handle_rx() 688 unsigned int ists, lsr, rxlen; in max310x_port_irq() local 692 rxlen = max310x_port_read(port, MAX310X_RXFIFOLVL_REG); in max310x_port_irq() 693 if (!ists && !rxlen) in max310x_port_irq() 701 if (rxlen) in max310x_port_irq() 702 max310x_handle_rx(port, rxlen); in max310x_port_irq()
|
/drivers/media/usb/dvb-usb/ |
D | technisat-usb2.c | 88 u8 device_addr, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in technisat_usb2_i2c_access() argument 102 if (rxlen > 62) { in technisat_usb2_i2c_access() 105 rxlen = 62; in technisat_usb2_i2c_access() 112 b[0] |= rxlen; in technisat_usb2_i2c_access() 147 memcpy(rx, &b[2], rxlen); in technisat_usb2_i2c_access() 149 deb_i2c("rx (%d): ", rxlen); in technisat_usb2_i2c_access() 150 debug_dump(rx, rxlen, deb_i2c); in technisat_usb2_i2c_access()
|
D | dib0700.h | 60 extern int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen);
|
D | dib0700_core.c | 77 int dib0700_ctrl_rd(struct dvb_usb_device *d, u8 *tx, u8 txlen, u8 *rx, u8 rxlen) in dib0700_ctrl_rd() argument 102 USB_TYPE_VENDOR | USB_DIR_IN, value, index, rx, rxlen, in dib0700_ctrl_rd() 109 debug_dump(rx, rxlen, deb_data); in dib0700_ctrl_rd()
|
/drivers/net/wireless/ |
D | zd1201.c | 226 zd->rxlen = urb->actual_length; in zd1201_usbrx() 296 zd->rxlen = 0; in zd1201_usbrx() 300 if (copylen+zd->rxlen > sizeof(zd->rxdata)) in zd1201_usbrx() 302 memcpy(zd->rxdata+zd->rxlen, data+i+4, copylen); in zd1201_usbrx() 303 zd->rxlen += copylen; in zd1201_usbrx() 407 zd->rxlen = 0; in zd1201_usbrx() 430 if (!zd->rxlen) in zd1201_getconfig() 436 if (length > zd->rxlen) in zd1201_getconfig() 437 length = zd->rxlen-6; in zd1201_getconfig() 446 riddatalen, zd->rxlen, length, rid, rid_fid); in zd1201_getconfig() [all …]
|
D | zd1201.h | 38 int rxlen; member
|
/drivers/net/ethernet/allwinner/ |
D | sun4i-emac.c | 524 u32 rxhdr, rxstatus, rxcount, rxlen; in emac_rx() local 605 rxlen = EMAC_RX_IO_DATA_LEN(rxhdr); in emac_rx() 610 rxstatus, rxlen); in emac_rx() 613 if (rxlen < 0x40) { in emac_rx() 637 skb = netdev_alloc_skb(dev, rxlen + 4); in emac_rx() 641 rdptr = (u8 *) skb_put(skb, rxlen - 4); in emac_rx() 645 dev_dbg(db->dev, "RxLen %x\n", rxlen); in emac_rx() 648 rdptr, rxlen); in emac_rx() 649 dev->stats.rx_bytes += rxlen; in emac_rx()
|
/drivers/isdn/hardware/avm/ |
D | b1dma.c | 604 u32 rxlen; in b1dma_handle_interrupt() local 606 rxlen = b1dma_readl(card, AMCC_RXLEN); in b1dma_handle_interrupt() 607 if (rxlen == 0) { in b1dma_handle_interrupt() 609 rxlen = (dma->recvlen + 3) & ~3; in b1dma_handle_interrupt() 611 b1dma_writel(card, rxlen, AMCC_RXLEN); in b1dma_handle_interrupt() 615 card->name, rxlen); in b1dma_handle_interrupt() 868 u32 txoff, txlen, rxoff, rxlen, csr; in b1dmactl_proc_show() local 929 rxlen = b1dma_readl(card, AMCC_RXLEN); in b1dmactl_proc_show() 940 seq_printf(m, "%-16s %lu\n", "rxlen", (unsigned long)rxlen); in b1dmactl_proc_show()
|
/drivers/net/ethernet/micrel/ |
D | ks8851.c | 517 unsigned rxlen; in ks8851_rx_pkts() local 540 rxlen = (rxh >> 16) & 0xfff; in ks8851_rx_pkts() 543 "rx: stat 0x%04x, len 0x%04x\n", rxstat, rxlen); in ks8851_rx_pkts() 554 if (rxlen > 4) { in ks8851_rx_pkts() 557 rxlen -= 4; in ks8851_rx_pkts() 558 rxalign = ALIGN(rxlen, 4); in ks8851_rx_pkts() 568 rxpkt = skb_put(skb, rxlen) - 8; in ks8851_rx_pkts() 579 ks->netdev->stats.rx_bytes += rxlen; in ks8851_rx_pkts()
|
/drivers/net/ethernet/dec/tulip/ |
D | dmfe.c | 968 int rxlen; in dmfe_rx_packet() local 991 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in dmfe_rx_packet() 1006 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in dmfe_rx_packet() 1011 (cal_CRC(skb->data, rxlen, 1) != in dmfe_rx_packet() 1012 (*(u32 *) (skb->data+rxlen) ))) { /* FIXME (?) */ in dmfe_rx_packet() 1019 if ((rxlen < RX_COPY_SIZE) && in dmfe_rx_packet() 1020 ((newskb = netdev_alloc_skb(dev, rxlen + 2)) in dmfe_rx_packet() 1027 skb_put(skb, rxlen), in dmfe_rx_packet() 1028 rxlen); in dmfe_rx_packet() 1031 skb_put(skb, rxlen); in dmfe_rx_packet() [all …]
|
D | uli526x.c | 818 int rxlen; in uli526x_rx_packet() local 841 rxlen = ( (rdes0 >> 16) & 0x3fff) - 4; in uli526x_rx_packet() 856 ((db->cr6_data & CR6_PM) && (rxlen>6)) ) { in uli526x_rx_packet() 863 if ((rxlen < RX_COPY_SIZE) && in uli526x_rx_packet() 864 (((new_skb = netdev_alloc_skb(dev, rxlen + 2)) != NULL))) { in uli526x_rx_packet() 868 memcpy(skb_put(skb, rxlen), in uli526x_rx_packet() 870 rxlen); in uli526x_rx_packet() 873 skb_put(skb, rxlen); in uli526x_rx_packet() 878 dev->stats.rx_bytes += rxlen; in uli526x_rx_packet()
|
/drivers/video/backlight/ |
D | hx8357.c | 216 u8 *rxbuf, u16 rxlen) in hx8357_spi_write_then_read() argument 247 if (rxlen) { in hx8357_spi_write_then_read() 248 xfer[1].len = rxlen; in hx8357_spi_write_then_read()
|
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_sdio.c | 468 uint rxlen; /* Length of valid data in buffer */ member 1870 bus->rxlen = len - doff; in brcmf_sdio_read_control() 2547 bus->rxlen = 0; in brcmf_sdio_bus_stop() 3197 uint rxlen = 0; in brcmf_sdio_bus_rxctl() local 3207 timeleft = brcmf_sdio_dcmd_resp_wait(bus, &bus->rxlen, &pending); in brcmf_sdio_bus_rxctl() 3210 rxlen = bus->rxlen; in brcmf_sdio_bus_rxctl() 3211 memcpy(msg, bus->rxctl, min(msglen, rxlen)); in brcmf_sdio_bus_rxctl() 3215 bus->rxlen = 0; in brcmf_sdio_bus_rxctl() 3219 if (rxlen) { in brcmf_sdio_bus_rxctl() 3221 rxlen, msglen); in brcmf_sdio_bus_rxctl() [all …]
|
/drivers/net/ethernet/sis/ |
D | sis900.h | 35 rxlen=0x3c, //Receive Packet Length Register enumerator
|
/drivers/net/wireless/ath/ar5523/ |
D | ar5523.c | 531 u32 rxlen; in ar5523_data_rx_cb() local 563 rxlen = be32_to_cpu(desc->len); in ar5523_data_rx_cb() 564 if (rxlen > ar->rxbufsz) { in ar5523_data_rx_cb() 570 if (!rxlen) { in ar5523_data_rx_cb() 582 skb_put(data->skb, rxlen - sizeof(struct ar5523_rx_desc)); in ar5523_data_rx_cb()
|
/drivers/infiniband/hw/ocrdma/ |
D | ocrdma_sli.h | 1645 u32 rxlen; member
|
D | ocrdma_verbs.c | 2641 ibwc->byte_len = le32_to_cpu(cqe->rq.rxlen); in ocrdma_poll_success_rcqe()
|