Searched refs:rdlen (Results 1 – 7 of 7) sorted by relevance
/drivers/net/wireless/brcm80211/brcmfmac/ |
D | dhd_sdio.c | 1474 uint rdlen, pad; in brcmf_sdbrcm_read_control() local 1496 rdlen = len - BRCMF_FIRSTREAD; in brcmf_sdbrcm_read_control() 1497 if (bus->roundup && bus->blocksize && (rdlen > bus->blocksize)) { in brcmf_sdbrcm_read_control() 1498 pad = bus->blocksize - (rdlen % bus->blocksize); in brcmf_sdbrcm_read_control() 1501 rdlen += pad; in brcmf_sdbrcm_read_control() 1502 } else if (rdlen % BRCMF_SDALIGN) { in brcmf_sdbrcm_read_control() 1503 rdlen += BRCMF_SDALIGN - (rdlen % BRCMF_SDALIGN); in brcmf_sdbrcm_read_control() 1507 if (rdlen & (ALIGNMENT - 1)) in brcmf_sdbrcm_read_control() 1508 rdlen = roundup(rdlen, ALIGNMENT); in brcmf_sdbrcm_read_control() 1511 if ((rdlen + BRCMF_FIRSTREAD) > bus->sdiodev->bus_if->maxctl) { in brcmf_sdbrcm_read_control() [all …]
|
/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_main.c | 895 u32 rdba, rdlen, rxdma; in pch_gbe_configure_rx() local 917 rdlen = adapter->rx_ring->size - 0x10; in pch_gbe_configure_rx() 919 iowrite32(rdlen, &hw->reg->RX_DSC_SIZE); in pch_gbe_configure_rx() 920 iowrite32((rdba + rdlen), &hw->reg->RX_DSC_SW_P); in pch_gbe_configure_rx()
|
/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1155 u32 rdlen; in ixgbevf_configure_rx() local 1163 rdlen = adapter->rx_ring[0].count * sizeof(union ixgbe_adv_rx_desc); in ixgbevf_configure_rx() 1172 IXGBE_WRITE_REG(hw, IXGBE_VFRDLEN(j), rdlen); in ixgbevf_configure_rx()
|
/drivers/net/ethernet/intel/ixgb/ |
D | ixgb_main.c | 863 u32 rdlen = adapter->rx_ring.count * sizeof(struct ixgb_rx_desc); in ixgb_configure_rx() local 882 IXGB_WRITE_REG(hw, RDLEN, rdlen); in ixgb_configure_rx()
|
/drivers/net/ethernet/intel/e1000/ |
D | e1000_main.c | 1860 u32 rdlen, rctl, rxcsum; in e1000_configure_rx() local 1863 rdlen = adapter->rx_ring[0].count * in e1000_configure_rx() 1868 rdlen = adapter->rx_ring[0].count * in e1000_configure_rx() 1894 ew32(RDLEN, rdlen); in e1000_configure_rx()
|
/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3135 u32 rdlen, rctl, rxcsum, ctrl_ext; in e1000_configure_rx() local 3139 rdlen = rx_ring->count * in e1000_configure_rx() 3144 rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended); in e1000_configure_rx() 3148 rdlen = rx_ring->count * sizeof(union e1000_rx_desc_extended); in e1000_configure_rx() 3202 ew32(RDLEN(0), rdlen); in e1000_configure_rx()
|
/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1362 u32 rdlen, rxdctl; in igbvf_configure_rx() local 1370 rdlen = rx_ring->count * sizeof(union e1000_adv_rx_desc); in igbvf_configure_rx()
|