Lines Matching refs:attn
4141 static void bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted0() argument
4150 if (attn & AEU_INPUTS_ATTN_BITS_SPIO5) { in bnx2x_attn_int_deasserted0()
4163 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0()
4169 if (attn & HW_INTERRUPT_ASSERT_SET_0) { in bnx2x_attn_int_deasserted0()
4172 val &= ~(attn & HW_INTERRUPT_ASSERT_SET_0); in bnx2x_attn_int_deasserted0()
4176 (u32)(attn & HW_INTERRUPT_ASSERT_SET_0)); in bnx2x_attn_int_deasserted0()
4181 static void bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted1() argument
4185 if (attn & AEU_INPUTS_ATTN_BITS_DOORBELLQ_HW_INTERRUPT) { in bnx2x_attn_int_deasserted1()
4194 if (attn & HW_INTERRUPT_ASSERT_SET_1) { in bnx2x_attn_int_deasserted1()
4203 val &= ~(attn & HW_INTERRUPT_ASSERT_SET_1); in bnx2x_attn_int_deasserted1()
4207 (u32)(attn & HW_INTERRUPT_ASSERT_SET_1)); in bnx2x_attn_int_deasserted1()
4212 static void bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted2() argument
4216 if (attn & AEU_INPUTS_ATTN_BITS_CFC_HW_INTERRUPT) { in bnx2x_attn_int_deasserted2()
4225 if (attn & AEU_INPUTS_ATTN_BITS_PXP_HW_INTERRUPT) { in bnx2x_attn_int_deasserted2()
4238 if (attn & HW_INTERRUPT_ASSERT_SET_2) { in bnx2x_attn_int_deasserted2()
4247 val &= ~(attn & HW_INTERRUPT_ASSERT_SET_2); in bnx2x_attn_int_deasserted2()
4251 (u32)(attn & HW_INTERRUPT_ASSERT_SET_2)); in bnx2x_attn_int_deasserted2()
4256 static void bnx2x_attn_int_deasserted3(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted3() argument
4260 if (attn & EVEREST_GEN_ATTN_IN_USE_MASK) { in bnx2x_attn_int_deasserted3()
4262 if (attn & BNX2X_PMF_LINK_ASSERT) { in bnx2x_attn_int_deasserted3()
4321 } else if (attn & BNX2X_MC_ASSERT_BITS) { in bnx2x_attn_int_deasserted3()
4331 } else if (attn & BNX2X_MCP_ASSERT) { in bnx2x_attn_int_deasserted3()
4338 BNX2X_ERR("Unknown HW assert! (attn 0x%x)\n", attn); in bnx2x_attn_int_deasserted3()
4341 if (attn & EVEREST_LATCHED_ATTN_IN_USE_MASK) { in bnx2x_attn_int_deasserted3()
4342 BNX2X_ERR("LATCHED attention 0x%08x (masked)\n", attn); in bnx2x_attn_int_deasserted3()
4343 if (attn & BNX2X_GRC_TIMEOUT) { in bnx2x_attn_int_deasserted3()
4348 if (attn & BNX2X_GRC_RSV) { in bnx2x_attn_int_deasserted3()
5005 struct attn_route attn = { {0} }; in bnx2x_chk_parity_attn() local
5008 attn.sig[0] = REG_RD(bp, in bnx2x_chk_parity_attn()
5011 attn.sig[1] = REG_RD(bp, in bnx2x_chk_parity_attn()
5014 attn.sig[2] = REG_RD(bp, in bnx2x_chk_parity_attn()
5017 attn.sig[3] = REG_RD(bp, in bnx2x_chk_parity_attn()
5023 attn.sig[3] &= ((REG_RD(bp, in bnx2x_chk_parity_attn()
5030 attn.sig[4] = REG_RD(bp, in bnx2x_chk_parity_attn()
5034 return bnx2x_parity_attn(bp, global, print, attn.sig); in bnx2x_chk_parity_attn()
5037 static void bnx2x_attn_int_deasserted4(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted4() argument
5040 if (attn & AEU_INPUTS_ATTN_BITS_PGLUE_HW_INTERRUPT) { in bnx2x_attn_int_deasserted4()
5065 if (attn & AEU_INPUTS_ATTN_BITS_ATC_HW_INTERRUPT) { in bnx2x_attn_int_deasserted4()
5082 if (attn & (AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR | in bnx2x_attn_int_deasserted4()
5085 (u32)(attn & (AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR | in bnx2x_attn_int_deasserted4()
5092 struct attn_route attn, *group_mask; in bnx2x_attn_int_deasserted() local
5120 attn.sig[0] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5121 attn.sig[1] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_2_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5122 attn.sig[2] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_3_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5123 attn.sig[3] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_4_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5125 attn.sig[4] = in bnx2x_attn_int_deasserted()
5128 attn.sig[4] = 0; in bnx2x_attn_int_deasserted()
5131 attn.sig[0], attn.sig[1], attn.sig[2], attn.sig[3], attn.sig[4]); in bnx2x_attn_int_deasserted()
5144 attn.sig[4] & group_mask->sig[4]); in bnx2x_attn_int_deasserted()
5146 attn.sig[3] & group_mask->sig[3]); in bnx2x_attn_int_deasserted()
5148 attn.sig[1] & group_mask->sig[1]); in bnx2x_attn_int_deasserted()
5150 attn.sig[2] & group_mask->sig[2]); in bnx2x_attn_int_deasserted()
5152 attn.sig[0] & group_mask->sig[0]); in bnx2x_attn_int_deasserted()