Lines Matching refs:rctl
493 u32 rctl, tctl; in e1000_down() local
496 rctl = er32(RCTL); in e1000_down()
497 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_down()
1786 u32 rctl; in e1000_setup_rctl() local
1788 rctl = er32(RCTL); in e1000_setup_rctl()
1790 rctl &= ~(3 << E1000_RCTL_MO_SHIFT); in e1000_setup_rctl()
1792 rctl |= E1000_RCTL_BAM | E1000_RCTL_LBM_NO | in e1000_setup_rctl()
1797 rctl |= E1000_RCTL_SBP; in e1000_setup_rctl()
1799 rctl &= ~E1000_RCTL_SBP; in e1000_setup_rctl()
1802 rctl &= ~E1000_RCTL_LPE; in e1000_setup_rctl()
1804 rctl |= E1000_RCTL_LPE; in e1000_setup_rctl()
1807 rctl &= ~E1000_RCTL_SZ_4096; in e1000_setup_rctl()
1808 rctl |= E1000_RCTL_BSEX; in e1000_setup_rctl()
1812 rctl |= E1000_RCTL_SZ_2048; in e1000_setup_rctl()
1813 rctl &= ~E1000_RCTL_BSEX; in e1000_setup_rctl()
1816 rctl |= E1000_RCTL_SZ_4096; in e1000_setup_rctl()
1819 rctl |= E1000_RCTL_SZ_8192; in e1000_setup_rctl()
1822 rctl |= E1000_RCTL_SZ_16384; in e1000_setup_rctl()
1831 rctl |= (E1000_RCTL_SBP | /* Receive bad packets */ in e1000_setup_rctl()
1835 rctl &= ~(E1000_RCTL_VFE | /* Disable VLAN filter */ in e1000_setup_rctl()
1843 ew32(RCTL, rctl); in e1000_setup_rctl()
1856 u32 rdlen, rctl, rxcsum; in e1000_configure_rx() local
1871 rctl = er32(RCTL); in e1000_configure_rx()
1872 ew32(RCTL, rctl & ~E1000_RCTL_EN); in e1000_configure_rx()
1914 ew32(RCTL, rctl | E1000_RCTL_EN); in e1000_configure_rx()
2155 u32 rctl; in e1000_enter_82542_rst() local
2159 rctl = er32(RCTL); in e1000_enter_82542_rst()
2160 rctl |= E1000_RCTL_RST; in e1000_enter_82542_rst()
2161 ew32(RCTL, rctl); in e1000_enter_82542_rst()
2173 u32 rctl; in e1000_leave_82542_rst() local
2175 rctl = er32(RCTL); in e1000_leave_82542_rst()
2176 rctl &= ~E1000_RCTL_RST; in e1000_leave_82542_rst()
2177 ew32(RCTL, rctl); in e1000_leave_82542_rst()
2239 u32 rctl; in e1000_set_rx_mode() local
2250 rctl = er32(RCTL); in e1000_set_rx_mode()
2253 rctl |= (E1000_RCTL_UPE | E1000_RCTL_MPE); in e1000_set_rx_mode()
2254 rctl &= ~E1000_RCTL_VFE; in e1000_set_rx_mode()
2257 rctl |= E1000_RCTL_MPE; in e1000_set_rx_mode()
2259 rctl &= ~E1000_RCTL_MPE; in e1000_set_rx_mode()
2262 rctl |= E1000_RCTL_VFE; in e1000_set_rx_mode()
2266 rctl |= E1000_RCTL_UPE; in e1000_set_rx_mode()
2268 rctl &= ~E1000_RCTL_UPE; in e1000_set_rx_mode()
2272 ew32(RCTL, rctl); in e1000_set_rx_mode()
4905 u32 rctl; in e1000_vlan_filter_on_off() local
4913 rctl = er32(RCTL); in e1000_vlan_filter_on_off()
4914 rctl &= ~E1000_RCTL_CFIEN; in e1000_vlan_filter_on_off()
4916 rctl |= E1000_RCTL_VFE; in e1000_vlan_filter_on_off()
4917 ew32(RCTL, rctl); in e1000_vlan_filter_on_off()
4921 rctl = er32(RCTL); in e1000_vlan_filter_on_off()
4922 rctl &= ~E1000_RCTL_VFE; in e1000_vlan_filter_on_off()
4923 ew32(RCTL, rctl); in e1000_vlan_filter_on_off()
5063 u32 ctrl, ctrl_ext, rctl, status; in __e1000_shutdown() local
5086 rctl = er32(RCTL); in __e1000_shutdown()
5090 rctl |= E1000_RCTL_MPE; in __e1000_shutdown()
5093 ew32(RCTL, rctl | E1000_RCTL_EN); in __e1000_shutdown()