Home
last modified time | relevance | path

Searched refs:rdlen (Results 1 – 7 of 7) sorted by relevance

/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1760 uint rdlen, pad; in brcmf_sdio_read_control() local
1781 rdlen = len - BRCMF_FIRSTREAD; in brcmf_sdio_read_control()
1782 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdio_read_control()
1783 pad = bus->blocksize - (rdlen % bus->blocksize); in brcmf_sdio_read_control()
1786 rdlen += pad; in brcmf_sdio_read_control()
1787 } else if (rdlen % bus->head_align) { in brcmf_sdio_read_control()
1788 rdlen += bus->head_align - (rdlen % bus->head_align); in brcmf_sdio_read_control()
1792 if ((rdlen + BRCMF_FIRSTREAD) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control()
1794 rdlen, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control()
1808 sdret = brcmf_sdiod_recv_buf(bus->sdiodev, rbuf, rdlen); in brcmf_sdio_read_control()
[all …]
/drivers/spi/
Dspi-bcm-qspi.c1039 u32 addr = 0, len, rdlen, len_words, from = 0; in bcm_qspi_bspi_exec_mem_op() local
1080 rdlen = BSPI_READ_LENGTH; in bcm_qspi_bspi_exec_mem_op()
1082 rdlen = len; in bcm_qspi_bspi_exec_mem_op()
1086 len_words = (rdlen + 3) >> 2; in bcm_qspi_bspi_exec_mem_op()
1089 qspi->bspi_rf_op_len = rdlen; in bcm_qspi_bspi_exec_mem_op()
1091 "bspi xfr addr 0x%x len 0x%x", addr, rdlen); in bcm_qspi_bspi_exec_mem_op()
1114 addr += rdlen; in bcm_qspi_bspi_exec_mem_op()
1115 len -= rdlen; in bcm_qspi_bspi_exec_mem_op()
Dspi-mtk-nor.c398 unsigned int rdlen; in mtk_nor_read_bounce() local
402 rdlen = (op->data.nbytes + MTK_NOR_DMA_ALIGN) & ~MTK_NOR_DMA_ALIGN_MASK; in mtk_nor_read_bounce()
404 rdlen = op->data.nbytes; in mtk_nor_read_bounce()
406 ret = mtk_nor_dma_exec(sp, op->addr.val, rdlen, sp->buffer_dma); in mtk_nor_read_bounce()
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c828 u32 rdba, rdlen, rxdma; in pch_gbe_configure_rx() local
851 rdlen = adapter->rx_ring->size - 0x10; in pch_gbe_configure_rx()
853 iowrite32(rdlen, &hw->reg->RX_DSC_SIZE); in pch_gbe_configure_rx()
854 iowrite32((rdba + rdlen), &hw->reg->RX_DSC_SW_P); in pch_gbe_configure_rx()
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c813 u32 rdlen = adapter->rx_ring.count * sizeof(struct ixgb_rx_desc); in ixgb_configure_rx() local
832 IXGB_WRITE_REG(hw, RDLEN, rdlen); in ixgb_configure_rx()
/drivers/net/ethernet/intel/e1000/
De1000_main.c1856 u32 rdlen, rctl, rxcsum; in e1000_configure_rx() local
1859 rdlen = adapter->rx_ring[0].count * in e1000_configure_rx()
1864 rdlen = adapter->rx_ring[0].count * in e1000_configure_rx()
1890 ew32(RDLEN, rdlen); in e1000_configure_rx()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3201 u32 rdlen, rctl, rxcsum, ctrl_ext; in e1000_configure_rx() local
3205 rdlen = rx_ring->count * in e1000_configure_rx()
3210 rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended); in e1000_configure_rx()
3214 rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended); in e1000_configure_rx()
3260 ew32(RDLEN(0), rdlen); in e1000_configure_rx()