Lines Matching refs:fctrl
4904 u32 fctrl, vmolr = IXGBE_VMOLR_BAM | IXGBE_VMOLR_AUPE; in ixgbe_set_rx_mode() local
4909 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in ixgbe_set_rx_mode()
4912 fctrl &= ~IXGBE_FCTRL_SBP; /* disable store-bad-packets */ in ixgbe_set_rx_mode()
4913 fctrl |= IXGBE_FCTRL_BAM; in ixgbe_set_rx_mode()
4914 fctrl |= IXGBE_FCTRL_DPF; /* discard pause frames when FC enabled */ in ixgbe_set_rx_mode()
4915 fctrl |= IXGBE_FCTRL_PMCF; in ixgbe_set_rx_mode()
4918 fctrl &= ~(IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE); in ixgbe_set_rx_mode()
4921 fctrl |= (IXGBE_FCTRL_UPE | IXGBE_FCTRL_MPE); in ixgbe_set_rx_mode()
4926 fctrl |= IXGBE_FCTRL_MPE; in ixgbe_set_rx_mode()
4938 fctrl |= IXGBE_FCTRL_UPE; in ixgbe_set_rx_mode()
4948 fctrl |= IXGBE_FCTRL_MPE; in ixgbe_set_rx_mode()
4965 fctrl |= (IXGBE_FCTRL_SBP | /* Receive bad packets */ in ixgbe_set_rx_mode()
4969 fctrl &= ~(IXGBE_FCTRL_DPF); in ixgbe_set_rx_mode()
4973 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in ixgbe_set_rx_mode()
6943 u32 fctrl; in __ixgbe_shutdown() local
6952 fctrl = IXGBE_READ_REG(hw, IXGBE_FCTRL); in __ixgbe_shutdown()
6953 fctrl |= IXGBE_FCTRL_MPE; in __ixgbe_shutdown()
6954 IXGBE_WRITE_REG(hw, IXGBE_FCTRL, fctrl); in __ixgbe_shutdown()