Home
last modified time | relevance | path

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

/drivers/spi/
Dspi-bcm-qspi.c867 u32 addr = 0, len, rdlen, len_words, from = 0; in bcm_qspi_bspi_exec_mem_op() local
908 rdlen = BSPI_READ_LENGTH; in bcm_qspi_bspi_exec_mem_op()
910 rdlen = len; in bcm_qspi_bspi_exec_mem_op()
914 len_words = (rdlen + 3) >> 2; in bcm_qspi_bspi_exec_mem_op()
917 qspi->bspi_rf_op_len = rdlen; in bcm_qspi_bspi_exec_mem_op()
919 "bspi xfr addr 0x%x len 0x%x", addr, rdlen); in bcm_qspi_bspi_exec_mem_op()
942 addr += rdlen; in bcm_qspi_bspi_exec_mem_op()
943 len -= rdlen; in bcm_qspi_bspi_exec_mem_op()
Dspi-mtk-nor.c385 unsigned int rdlen; in mtk_nor_read_bounce() local
389 rdlen = (op->data.nbytes + MTK_NOR_DMA_ALIGN) & ~MTK_NOR_DMA_ALIGN_MASK; in mtk_nor_read_bounce()
391 rdlen = op->data.nbytes; in mtk_nor_read_bounce()
393 ret = mtk_nor_dma_exec(sp, op->addr.val, rdlen, sp->buffer_dma); in mtk_nor_read_bounce()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dsdio.c1757 uint rdlen, pad; in brcmf_sdio_read_control() local
1778 rdlen = len - BRCMF_FIRSTREAD; in brcmf_sdio_read_control()
1779 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdio_read_control()
1780 pad = bus->blocksize - (rdlen % bus->blocksize); in brcmf_sdio_read_control()
1783 rdlen += pad; in brcmf_sdio_read_control()
1784 } else if (rdlen % bus->head_align) { in brcmf_sdio_read_control()
1785 rdlen += bus->head_align - (rdlen % bus->head_align); in brcmf_sdio_read_control()
1789 if ((rdlen + BRCMF_FIRSTREAD) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdio_read_control()
1791 rdlen, bus->sdiodev->bus_if->maxctl); in brcmf_sdio_read_control()
1805 sdret = brcmf_sdiod_recv_buf(bus->sdiodev, rbuf, rdlen); in brcmf_sdio_read_control()
[all …]
/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_main.c833 u32 rdba, rdlen, rxdma; in pch_gbe_configure_rx() local
856 rdlen = adapter->rx_ring->size - 0x10; in pch_gbe_configure_rx()
858 iowrite32(rdlen, &hw->reg->RX_DSC_SIZE); in pch_gbe_configure_rx()
859 iowrite32((rdba + rdlen), &hw->reg->RX_DSC_SW_P); in pch_gbe_configure_rx()
/drivers/net/ethernet/intel/ixgb/
Dixgb_main.c820 u32 rdlen = adapter->rx_ring.count * sizeof(struct ixgb_rx_desc); in ixgb_configure_rx() local
839 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.c3202 u32 rdlen, rctl, rxcsum, ctrl_ext; in e1000_configure_rx() local
3206 rdlen = rx_ring->count * in e1000_configure_rx()
3211 rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended); in e1000_configure_rx()
3215 rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended); in e1000_configure_rx()
3261 ew32(RDLEN(0), rdlen); in e1000_configure_rx()