Home
last modified time | relevance | path

Searched refs:rxdctl (Results 1 – 9 of 9) sorted by relevance

/drivers/net/ethernet/intel/igc/
Digc_base.c339 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local
352 rxdctl[i] = rd32(IGC_RXDCTL(i)); in igc_rx_fifo_flush_base()
354 rxdctl[i] & ~IGC_RXDCTL_QUEUE_ENABLE); in igc_rx_fifo_flush_base()
391 wr32(IGC_RXDCTL(i), rxdctl[i]); in igc_rx_fifo_flush_base()
Digc_main.c518 u32 srrctl = 0, rxdctl = 0; in igc_configure_rx_ring() local
550 rxdctl |= IGC_RX_PTHRESH; in igc_configure_rx_ring()
551 rxdctl |= IGC_RX_HTHRESH << 8; in igc_configure_rx_ring()
552 rxdctl |= IGC_RX_WTHRESH << 16; in igc_configure_rx_ring()
563 rxdctl |= IGC_RXDCTL_QUEUE_ENABLE; in igc_configure_rx_ring()
565 wr32(IGC_RXDCTL(reg_idx), rxdctl); in igc_configure_rx_ring()
/drivers/net/ethernet/intel/igbvf/
Dnetdev.c1375 u32 rxdctl; in igbvf_configure_rx() local
1378 rxdctl = er32(RXDCTL(0)); in igbvf_configure_rx()
1379 ew32(RXDCTL(0), rxdctl & ~E1000_RXDCTL_QUEUE_ENABLE); in igbvf_configure_rx()
1395 rxdctl |= E1000_RXDCTL_QUEUE_ENABLE; in igbvf_configure_rx()
1396 rxdctl &= 0xFFF00000; in igbvf_configure_rx()
1397 rxdctl |= IGBVF_RX_PTHRESH; in igbvf_configure_rx()
1398 rxdctl |= IGBVF_RX_HTHRESH << 8; in igbvf_configure_rx()
1399 rxdctl |= IGBVF_RX_WTHRESH << 16; in igbvf_configure_rx()
1404 ew32(RXDCTL(0), rxdctl); in igbvf_configure_rx()
1571 u32 rxdctl, txdctl; in igbvf_down() local
[all …]
/drivers/net/ethernet/intel/ixgbevf/
Dixgbevf_main.c1814 u32 rxdctl; in ixgbevf_disable_rx_queue() local
1819 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_disable_rx_queue()
1820 rxdctl &= ~IXGBE_RXDCTL_ENABLE; in ixgbevf_disable_rx_queue()
1823 IXGBE_WRITE_REG(hw, IXGBE_VFRXDCTL(reg_idx), rxdctl); in ixgbevf_disable_rx_queue()
1828 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_disable_rx_queue()
1829 } while (--wait_loop && (rxdctl & IXGBE_RXDCTL_ENABLE)); in ixgbevf_disable_rx_queue()
1841 u32 rxdctl; in ixgbevf_rx_desc_queue_enable() local
1848 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_rx_desc_queue_enable()
1849 } while (--wait_loop && !(rxdctl & IXGBE_RXDCTL_ENABLE)); in ixgbevf_rx_desc_queue_enable()
1919 u32 rxdctl; in ixgbevf_configure_rx_ring() local
[all …]
/drivers/net/ethernet/intel/fm10k/
Dfm10k_pci.c984 u32 rxqctl, rxdctl = FM10K_RXDCTL_WRITE_BACK_MIN_DELAY; in fm10k_configure_rx_ring() local
1028 rxdctl |= FM10K_RXDCTL_DROP_ON_EMPTY; in fm10k_configure_rx_ring()
1030 fm10k_write_reg(hw, FM10K_RXDCTL(reg_idx), rxdctl); in fm10k_configure_rx_ring()
1075 u32 rxdctl = FM10K_RXDCTL_WRITE_BACK_MIN_DELAY; in fm10k_update_rx_drop_en() local
1079 rxdctl |= FM10K_RXDCTL_DROP_ON_EMPTY; in fm10k_update_rx_drop_en()
1081 fm10k_write_reg(hw, FM10K_RXDCTL(reg_idx), rxdctl); in fm10k_update_rx_drop_en()
1331 const u32 rxdctl = FM10K_RXDCTL_WRITE_BACK_MIN_DELAY; in fm10k_reset_drop_on_empty() local
1345 fm10k_write_reg(hw, FM10K_RXDCTL(q), rxdctl); in fm10k_reset_drop_on_empty()
/drivers/net/ethernet/intel/ixgbe/
Dixgbe_main.c4035 u32 rxdctl; in ixgbe_rx_desc_queue_enable() local
4047 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_rx_desc_queue_enable()
4048 } while (--wait_loop && !(rxdctl & IXGBE_RXDCTL_ENABLE)); in ixgbe_rx_desc_queue_enable()
4062 u32 rxdctl; in ixgbe_configure_rx_ring() local
4078 rxdctl = IXGBE_READ_REG(hw, IXGBE_RXDCTL(reg_idx)); in ixgbe_configure_rx_ring()
4079 rxdctl &= ~IXGBE_RXDCTL_ENABLE; in ixgbe_configure_rx_ring()
4082 IXGBE_WRITE_REG(hw, IXGBE_RXDCTL(reg_idx), rxdctl); in ixgbe_configure_rx_ring()
4107 rxdctl &= ~0x3FFFFF; in ixgbe_configure_rx_ring()
4108 rxdctl |= 0x080420; in ixgbe_configure_rx_ring()
4112 rxdctl &= ~(IXGBE_RXDCTL_RLPMLMASK | in ixgbe_configure_rx_ring()
[all …]
/drivers/net/ethernet/intel/igb/
De1000_82575.c1947 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igb_rx_fifo_flush_82575() local
1961 rxdctl[i] = rd32(E1000_RXDCTL(i)); in igb_rx_fifo_flush_82575()
1963 rxdctl[i] & ~E1000_RXDCTL_QUEUE_ENABLE); in igb_rx_fifo_flush_82575()
2000 wr32(E1000_RXDCTL(i), rxdctl[i]); in igb_rx_fifo_flush_82575()
Digb_main.c4688 u32 rxdctl = 0; in igb_configure_rx_ring() local
4715 rxdctl |= IGB_RX_PTHRESH; in igb_configure_rx_ring()
4716 rxdctl |= IGB_RX_HTHRESH << 8; in igb_configure_rx_ring()
4717 rxdctl |= IGB_RX_WTHRESH << 16; in igb_configure_rx_ring()
4728 rxdctl |= E1000_RXDCTL_QUEUE_ENABLE; in igb_configure_rx_ring()
4729 wr32(E1000_RXDCTL(reg_idx), rxdctl); in igb_configure_rx_ring()
/drivers/net/ethernet/intel/e1000e/
Dnetdev.c3288 u32 rxdctl = er32(RXDCTL(0)); in e1000_configure_rx() local
3290 ew32(RXDCTL(0), rxdctl | 0x3 | BIT(8)); in e1000_configure_rx()
3846 u32 rctl, rxdctl; in e1000_flush_rx_ring() local
3854 rxdctl = er32(RXDCTL(0)); in e1000_flush_rx_ring()
3856 rxdctl &= 0xffffc000; in e1000_flush_rx_ring()
3861 rxdctl |= (0x1F | BIT(8) | E1000_RXDCTL_THRESH_UNIT_DESC); in e1000_flush_rx_ring()
3863 ew32(RXDCTL(0), rxdctl); in e1000_flush_rx_ring()