Lines Matching refs:fctrl
4914 u32 fctrl, vmolr = IXGBE_VMOLR_BAM | IXGBE_VMOLR_AUPE; in ixgbe_set_rx_mode() local
4919 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_set_rx_mode()
4922 fctrl &= ~IXGBE_FCTRL_SBP; /* disable store-bad-packets */ in ixgbe_set_rx_mode()
4923 fctrl |= IXGBE_FCTRL_BAM; in ixgbe_set_rx_mode()
4924 fctrl |= IXGBE_FCTRL_DPF; /* discard pause frames when FC enabled */ in ixgbe_set_rx_mode()
4925 fctrl |= IXGBE_FCTRL_PMCF; in ixgbe_set_rx_mode()
4928 fctrl &= ~(IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE); in ixgbe_set_rx_mode()
4931 fctrl |= (IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE); in ixgbe_set_rx_mode()
4936 fctrl |= IXGBE_FCTRL_MPE; in ixgbe_set_rx_mode()
4948 fctrl |= IXGBE_FCTRL_UPE; in ixgbe_set_rx_mode()
4958 fctrl |= IXGBE_FCTRL_MPE; in ixgbe_set_rx_mode()
4975 fctrl |= (IXGBE_FCTRL_SBP | /* Receive bad packets */ in ixgbe_set_rx_mode()
4979 fctrl &= ~(IXGBE_FCTRL_DPF); in ixgbe_set_rx_mode()
4983 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_set_rx_mode()
6934 u32 fctrl; in __ixgbe_shutdown() local
6943 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in __ixgbe_shutdown()
6944 fctrl |= IXGBE_FCTRL_MPE; in __ixgbe_shutdown()
6945 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in __ixgbe_shutdown()