/linux-6.1.9/drivers/net/ethernet/intel/igc/ |
D | igc_base.c | 334 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local 347 rxdctl[i] = rd32(IGC_RXDCTL(i)); in igc_rx_fifo_flush_base() 349 rxdctl[i] & ~IGC_RXDCTL_QUEUE_ENABLE); in igc_rx_fifo_flush_base() 386 wr32(IGC_RXDCTL(i), rxdctl[i]); in igc_rx_fifo_flush_base()
|
D | igc_main.c | 598 u32 srrctl = 0, rxdctl = 0; in igc_configure_rx_ring() local 650 rxdctl |= IGC_RX_PTHRESH; in igc_configure_rx_ring() 651 rxdctl |= IGC_RX_HTHRESH << 8; in igc_configure_rx_ring() 652 rxdctl |= IGC_RX_WTHRESH << 16; in igc_configure_rx_ring() 663 rxdctl |= IGC_RXDCTL_QUEUE_ENABLE; in igc_configure_rx_ring() 665 wr32(IGC_RXDCTL(reg_idx), rxdctl); in igc_configure_rx_ring() 7040 u32 rxdctl; in igc_disable_rx_ring_hw() local 7042 rxdctl = rd32(IGC_RXDCTL(idx)); in igc_disable_rx_ring_hw() 7043 rxdctl &= ~IGC_RXDCTL_QUEUE_ENABLE; in igc_disable_rx_ring_hw() 7044 rxdctl |= IGC_RXDCTL_SWFLUSH; in igc_disable_rx_ring_hw() [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/igbvf/ |
D | netdev.c | 1371 u32 rxdctl; in igbvf_configure_rx() local 1374 rxdctl = er32(RXDCTL(0)); in igbvf_configure_rx() 1375 ew32(RXDCTL(0), rxdctl & ~E1000_RXDCTL_QUEUE_ENABLE); in igbvf_configure_rx() 1391 rxdctl |= E1000_RXDCTL_QUEUE_ENABLE; in igbvf_configure_rx() 1392 rxdctl &= 0xFFF00000; in igbvf_configure_rx() 1393 rxdctl |= IGBVF_RX_PTHRESH; in igbvf_configure_rx() 1394 rxdctl |= IGBVF_RX_HTHRESH << 8; in igbvf_configure_rx() 1395 rxdctl |= IGBVF_RX_WTHRESH << 16; in igbvf_configure_rx() 1400 ew32(RXDCTL(0), rxdctl); in igbvf_configure_rx() 1566 u32 rxdctl, txdctl; in igbvf_down() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbevf/ |
D | ixgbevf_main.c | 1806 u32 rxdctl; in ixgbevf_disable_rx_queue() local 1811 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_disable_rx_queue() 1812 rxdctl &= ~IXGBE_RXDCTL_ENABLE; in ixgbevf_disable_rx_queue() 1815 IXGBE_WRITE_REG(hw, IXGBE_VFRXDCTL(reg_idx), rxdctl); in ixgbevf_disable_rx_queue() 1820 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_disable_rx_queue() 1821 } while (--wait_loop && (rxdctl & IXGBE_RXDCTL_ENABLE)); in ixgbevf_disable_rx_queue() 1833 u32 rxdctl; in ixgbevf_rx_desc_queue_enable() local 1840 rxdctl = IXGBE_READ_REG(hw, IXGBE_VFRXDCTL(reg_idx)); in ixgbevf_rx_desc_queue_enable() 1841 } while (--wait_loop && !(rxdctl & IXGBE_RXDCTL_ENABLE)); in ixgbevf_rx_desc_queue_enable() 1911 u32 rxdctl; in ixgbevf_configure_rx_ring() local [all …]
|
/linux-6.1.9/drivers/net/ethernet/intel/fm10k/ |
D | fm10k_pci.c | 984 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()
|
/linux-6.1.9/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_main.c | 4035 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 …]
|
/linux-6.1.9/drivers/net/ethernet/intel/igb/ |
D | e1000_82575.c | 1947 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()
|
D | igb_main.c | 4694 u32 rxdctl = 0; in igb_configure_rx_ring() local 4721 rxdctl |= IGB_RX_PTHRESH; in igb_configure_rx_ring() 4722 rxdctl |= IGB_RX_HTHRESH << 8; in igb_configure_rx_ring() 4723 rxdctl |= IGB_RX_WTHRESH << 16; in igb_configure_rx_ring() 4734 rxdctl |= E1000_RXDCTL_QUEUE_ENABLE; in igb_configure_rx_ring() 4735 wr32(E1000_RXDCTL(reg_idx), rxdctl); in igb_configure_rx_ring()
|
/linux-6.1.9/drivers/net/ethernet/intel/e1000e/ |
D | netdev.c | 3289 u32 rxdctl = er32(RXDCTL(0)); in e1000_configure_rx() local 3291 ew32(RXDCTL(0), rxdctl | 0x3 | BIT(8)); in e1000_configure_rx() 3844 u32 rctl, rxdctl; in e1000_flush_rx_ring() local 3852 rxdctl = er32(RXDCTL(0)); in e1000_flush_rx_ring() 3854 rxdctl &= 0xffffc000; in e1000_flush_rx_ring() 3859 rxdctl |= (0x1F | BIT(8) | E1000_RXDCTL_THRESH_UNIT_DESC); in e1000_flush_rx_ring() 3861 ew32(RXDCTL(0), rxdctl); in e1000_flush_rx_ring()
|