Lines Matching refs:attn

2986 static inline void bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn)  in bnx2x_attn_int_deasserted0()  argument
2995 if (attn & AEU_INPUTS_ATTN_BITS_SPIO5) { in bnx2x_attn_int_deasserted0()
3008 if (attn & (AEU_INPUTS_ATTN_BITS_GPIO3_FUNCTION_0 | in bnx2x_attn_int_deasserted0()
3015 if (attn & HW_INTERRUT_ASSERT_SET_0) { in bnx2x_attn_int_deasserted0()
3018 val &= ~(attn & HW_INTERRUT_ASSERT_SET_0); in bnx2x_attn_int_deasserted0()
3022 (u32)(attn & HW_INTERRUT_ASSERT_SET_0)); in bnx2x_attn_int_deasserted0()
3027 static inline void bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted1() argument
3031 if (attn & AEU_INPUTS_ATTN_BITS_DOORBELLQ_HW_INTERRUPT) { in bnx2x_attn_int_deasserted1()
3040 if (attn & HW_INTERRUT_ASSERT_SET_1) { in bnx2x_attn_int_deasserted1()
3049 val &= ~(attn & HW_INTERRUT_ASSERT_SET_1); in bnx2x_attn_int_deasserted1()
3053 (u32)(attn & HW_INTERRUT_ASSERT_SET_1)); in bnx2x_attn_int_deasserted1()
3058 static inline void bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted2() argument
3062 if (attn & AEU_INPUTS_ATTN_BITS_CFC_HW_INTERRUPT) { in bnx2x_attn_int_deasserted2()
3071 if (attn & AEU_INPUTS_ATTN_BITS_PXP_HW_INTERRUPT) { in bnx2x_attn_int_deasserted2()
3084 if (attn & HW_INTERRUT_ASSERT_SET_2) { in bnx2x_attn_int_deasserted2()
3093 val &= ~(attn & HW_INTERRUT_ASSERT_SET_2); in bnx2x_attn_int_deasserted2()
3097 (u32)(attn & HW_INTERRUT_ASSERT_SET_2)); in bnx2x_attn_int_deasserted2()
3102 static inline void bnx2x_attn_int_deasserted3(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted3() argument
3106 if (attn & EVEREST_GEN_ATTN_IN_USE_MASK) { in bnx2x_attn_int_deasserted3()
3108 if (attn & BNX2X_PMF_LINK_ASSERT) { in bnx2x_attn_int_deasserted3()
3133 } else if (attn & BNX2X_MC_ASSERT_BITS) { in bnx2x_attn_int_deasserted3()
3142 } else if (attn & BNX2X_MCP_ASSERT) { in bnx2x_attn_int_deasserted3()
3149 BNX2X_ERR("Unknown HW assert! (attn 0x%x)\n", attn); in bnx2x_attn_int_deasserted3()
3152 if (attn & EVEREST_LATCHED_ATTN_IN_USE_MASK) { in bnx2x_attn_int_deasserted3()
3153 BNX2X_ERR("LATCHED attention 0x%08x (masked)\n", attn); in bnx2x_attn_int_deasserted3()
3154 if (attn & BNX2X_GRC_TIMEOUT) { in bnx2x_attn_int_deasserted3()
3159 if (attn & BNX2X_GRC_RSV) { in bnx2x_attn_int_deasserted3()
3446 struct attn_route attn; in bnx2x_chk_parity_attn() local
3449 attn.sig[0] = REG_RD(bp, in bnx2x_chk_parity_attn()
3452 attn.sig[1] = REG_RD(bp, in bnx2x_chk_parity_attn()
3455 attn.sig[2] = REG_RD(bp, in bnx2x_chk_parity_attn()
3458 attn.sig[3] = REG_RD(bp, in bnx2x_chk_parity_attn()
3462 return bnx2x_parity_attn(bp, attn.sig[0], attn.sig[1], attn.sig[2], in bnx2x_chk_parity_attn()
3463 attn.sig[3]); in bnx2x_chk_parity_attn()
3467 static inline void bnx2x_attn_int_deasserted4(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted4() argument
3470 if (attn & AEU_INPUTS_ATTN_BITS_PGLUE_HW_INTERRUPT) { in bnx2x_attn_int_deasserted4()
3504 if (attn & AEU_INPUTS_ATTN_BITS_ATC_HW_INTERRUPT) { in bnx2x_attn_int_deasserted4()
3525 if (attn & (AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR | in bnx2x_attn_int_deasserted4()
3528 (u32)(attn & (AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR | in bnx2x_attn_int_deasserted4()
3536 struct attn_route attn, *group_mask; in bnx2x_attn_int_deasserted() local
3560 attn.sig[0] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
3561 attn.sig[1] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_2_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
3562 attn.sig[2] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_3_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
3563 attn.sig[3] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_4_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
3565 attn.sig[4] = in bnx2x_attn_int_deasserted()
3568 attn.sig[4] = 0; in bnx2x_attn_int_deasserted()
3571 attn.sig[0], attn.sig[1], attn.sig[2], attn.sig[3], attn.sig[4]); in bnx2x_attn_int_deasserted()
3585 attn.sig[4] & group_mask->sig[4]); in bnx2x_attn_int_deasserted()
3587 attn.sig[3] & group_mask->sig[3]); in bnx2x_attn_int_deasserted()
3589 attn.sig[1] & group_mask->sig[1]); in bnx2x_attn_int_deasserted()
3591 attn.sig[2] & group_mask->sig[2]); in bnx2x_attn_int_deasserted()
3593 attn.sig[0] & group_mask->sig[0]); in bnx2x_attn_int_deasserted()