Home
last modified time | relevance | path

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

/illumos-gate/usr/src/uts/common/io/igc/core/
H A Digc_base.c120 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in igc_rx_fifo_flush_base() local
135 rxdctl[i] = IGC_READ_REG(hw, IGC_RXDCTL(i)); in igc_rx_fifo_flush_base()
137 rxdctl[i] & ~IGC_RXDCTL_QUEUE_ENABLE); in igc_rx_fifo_flush_base()
174 IGC_WRITE_REG(hw, IGC_RXDCTL(i), rxdctl[i]); in igc_rx_fifo_flush_base()
/illumos-gate/usr/src/uts/common/io/e1000g/
H A De1000g_rx.c154 uint32_t rxdctl; in e1000g_rx_setup() local
322 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0)); in e1000g_rx_setup()
323 E1000_WRITE_REG(hw, E1000_RXDCTL(0), rxdctl | 0x3); in e1000g_rx_setup()
918 uint32_t rctl, rxdctl; in e1000g_flush_rx_ring() local
925 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(0)); in e1000g_flush_rx_ring()
927 rxdctl &= 0xffffc000; in e1000g_flush_rx_ring()
932 rxdctl |= (0x1F | (1 << 8) | E1000_RXDCTL_THRESH_UNIT_DESC); in e1000g_flush_rx_ring()
933 E1000_WRITE_REG(hw, E1000_RXDCTL(0), rxdctl); in e1000g_flush_rx_ring()
/illumos-gate/usr/src/uts/common/io/igb/
H A Digb_main.c2147 uint32_t rxdctl; in igb_setup_rx_ring() local
2188 rxdctl = E1000_READ_REG(hw, E1000_RXDCTL(rx_ring->index)); in igb_setup_rx_ring()
2189 rxdctl &= igb->capab->rxdctl_mask; in igb_setup_rx_ring()
2190 rxdctl |= E1000_RXDCTL_QUEUE_ENABLE; in igb_setup_rx_ring()
2191 rxdctl |= 16; /* pthresh */ in igb_setup_rx_ring()
2192 rxdctl |= 8 << 8; /* hthresh */ in igb_setup_rx_ring()
2193 rxdctl |= 1 << 16; /* wthresh */ in igb_setup_rx_ring()
2194 E1000_WRITE_REG(hw, E1000_RXDCTL(rx_ring->index), rxdctl); in igb_setup_rx_ring()
/illumos-gate/usr/src/uts/common/io/e1000api/
H A De1000_82575.c2149 u32 rctl, rlpml, rxdctl[4], rfctl, temp_rctl, rx_enabled; in e1000_rx_fifo_flush_82575() local
2165 rxdctl[i] = E1000_READ_REG(hw, E1000_RXDCTL(i)); in e1000_rx_fifo_flush_82575()
2167 rxdctl[i] & ~E1000_RXDCTL_QUEUE_ENABLE); in e1000_rx_fifo_flush_82575()
2204 E1000_WRITE_REG(hw, E1000_RXDCTL(i), rxdctl[i]); in e1000_rx_fifo_flush_82575()