Lines Matching refs:eicr
2766 u32 eicr = adapter->interrupt_event; in ixgbe_check_overtemp_subtask() local
2786 if (!(eicr & IXGBE_EICR_GPI_SDP0_8259X) && in ixgbe_check_overtemp_subtask()
2787 !(eicr & IXGBE_EICR_LSC)) in ixgbe_check_overtemp_subtask()
2790 if (!(eicr & IXGBE_EICR_LSC) && hw->mac.ops.check_link) { in ixgbe_check_overtemp_subtask()
2814 if (!(eicr & IXGBE_EICR_GPI_SDP0(hw))) in ixgbe_check_overtemp_subtask()
2823 static void ixgbe_check_fan_failure(struct ixgbe_adapter *adapter, u32 eicr) in ixgbe_check_fan_failure() argument
2828 (eicr & IXGBE_EICR_GPI_SDP1(hw))) { in ixgbe_check_fan_failure()
2835 static void ixgbe_check_overtemp_event(struct ixgbe_adapter *adapter, u32 eicr) in ixgbe_check_overtemp_event() argument
2848 if (((eicr & IXGBE_EICR_GPI_SDP0(hw)) || in ixgbe_check_overtemp_event()
2849 (eicr & IXGBE_EICR_LSC)) && in ixgbe_check_overtemp_event()
2851 adapter->interrupt_event = eicr; in ixgbe_check_overtemp_event()
2858 if (eicr & IXGBE_EICR_GPI_SDP0_X550EM_a) { in ixgbe_check_overtemp_event()
2859 adapter->interrupt_event = eicr; in ixgbe_check_overtemp_event()
2870 if (!(eicr & IXGBE_EICR_TS)) in ixgbe_check_overtemp_event()
2902 static void ixgbe_check_sfp_event(struct ixgbe_adapter *adapter, u32 eicr) in ixgbe_check_sfp_event() argument
2914 if (eicr & eicr_mask) { in ixgbe_check_sfp_event()
2925 (eicr & IXGBE_EICR_GPI_SDP1(hw))) { in ixgbe_check_sfp_event()
3047 u32 eicr; in ixgbe_msix_other() local
3055 eicr = IXGBE_READ_REG(hw, IXGBE_EICS); in ixgbe_msix_other()
3064 eicr &= 0xFFFF0000; in ixgbe_msix_other()
3066 IXGBE_WRITE_REG(hw, IXGBE_EICR, eicr); in ixgbe_msix_other()
3068 if (eicr & IXGBE_EICR_LSC) in ixgbe_msix_other()
3071 if (eicr & IXGBE_EICR_MAILBOX) in ixgbe_msix_other()
3081 (eicr & IXGBE_EICR_GPI_SDP0_X540)) { in ixgbe_msix_other()
3087 if (eicr & IXGBE_EICR_ECC) { in ixgbe_msix_other()
3094 if (eicr & IXGBE_EICR_FLOW_DIR) { in ixgbe_msix_other()
3110 ixgbe_check_sfp_event(adapter, eicr); in ixgbe_msix_other()
3111 ixgbe_check_overtemp_event(adapter, eicr); in ixgbe_msix_other()
3117 ixgbe_check_fan_failure(adapter, eicr); in ixgbe_msix_other()
3119 if (unlikely(eicr & IXGBE_EICR_TIMESYNC)) in ixgbe_msix_other()
3290 u32 eicr; in ixgbe_intr() local
3300 eicr = IXGBE_READ_REG(hw, IXGBE_EICR); in ixgbe_intr()
3301 if (!eicr) { in ixgbe_intr()
3314 if (eicr & IXGBE_EICR_LSC) in ixgbe_intr()
3319 ixgbe_check_sfp_event(adapter, eicr); in ixgbe_intr()
3325 if (eicr & IXGBE_EICR_ECC) { in ixgbe_intr()
3331 ixgbe_check_overtemp_event(adapter, eicr); in ixgbe_intr()
3337 ixgbe_check_fan_failure(adapter, eicr); in ixgbe_intr()
3338 if (unlikely(eicr & IXGBE_EICR_TIMESYNC)) in ixgbe_intr()