Lines Matching refs:attn

4151 static void bnx2x_attn_int_deasserted0(struct bnx2x *bp, u32 attn)  in bnx2x_attn_int_deasserted0()  argument
4160 if (attn & AEU_INPUTS_ATTN_BITS_SPIO5) { in bnx2x_attn_int_deasserted0()
4173 if ((attn & bp->link_vars.aeu_int_mask) && bp->port.pmf) { in bnx2x_attn_int_deasserted0()
4179 if (attn & HW_INTERRUPT_ASSERT_SET_0) { in bnx2x_attn_int_deasserted0()
4182 val &= ~(attn & HW_INTERRUPT_ASSERT_SET_0); in bnx2x_attn_int_deasserted0()
4186 (u32)(attn & HW_INTERRUPT_ASSERT_SET_0)); in bnx2x_attn_int_deasserted0()
4191 static void bnx2x_attn_int_deasserted1(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted1() argument
4195 if (attn & AEU_INPUTS_ATTN_BITS_DOORBELLQ_HW_INTERRUPT) { in bnx2x_attn_int_deasserted1()
4204 if (attn & HW_INTERRUPT_ASSERT_SET_1) { in bnx2x_attn_int_deasserted1()
4213 val &= ~(attn & HW_INTERRUPT_ASSERT_SET_1); in bnx2x_attn_int_deasserted1()
4217 (u32)(attn & HW_INTERRUPT_ASSERT_SET_1)); in bnx2x_attn_int_deasserted1()
4222 static void bnx2x_attn_int_deasserted2(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted2() argument
4226 if (attn & AEU_INPUTS_ATTN_BITS_CFC_HW_INTERRUPT) { in bnx2x_attn_int_deasserted2()
4235 if (attn & AEU_INPUTS_ATTN_BITS_PXP_HW_INTERRUPT) { in bnx2x_attn_int_deasserted2()
4248 if (attn & HW_INTERRUPT_ASSERT_SET_2) { in bnx2x_attn_int_deasserted2()
4257 val &= ~(attn & HW_INTERRUPT_ASSERT_SET_2); in bnx2x_attn_int_deasserted2()
4261 (u32)(attn & HW_INTERRUPT_ASSERT_SET_2)); in bnx2x_attn_int_deasserted2()
4266 static void bnx2x_attn_int_deasserted3(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted3() argument
4270 if (attn & EVEREST_GEN_ATTN_IN_USE_MASK) { in bnx2x_attn_int_deasserted3()
4272 if (attn & BNX2X_PMF_LINK_ASSERT) { in bnx2x_attn_int_deasserted3()
4332 } else if (attn & BNX2X_MC_ASSERT_BITS) { in bnx2x_attn_int_deasserted3()
4342 } else if (attn & BNX2X_MCP_ASSERT) { in bnx2x_attn_int_deasserted3()
4349 BNX2X_ERR("Unknown HW assert! (attn 0x%x)\n", attn); in bnx2x_attn_int_deasserted3()
4352 if (attn & EVEREST_LATCHED_ATTN_IN_USE_MASK) { in bnx2x_attn_int_deasserted3()
4353 BNX2X_ERR("LATCHED attention 0x%08x (masked)\n", attn); in bnx2x_attn_int_deasserted3()
4354 if (attn & BNX2X_GRC_TIMEOUT) { in bnx2x_attn_int_deasserted3()
4359 if (attn & BNX2X_GRC_RSV) { in bnx2x_attn_int_deasserted3()
5016 struct attn_route attn = { {0} }; in bnx2x_chk_parity_attn() local
5019 attn.sig[0] = REG_RD(bp, in bnx2x_chk_parity_attn()
5022 attn.sig[1] = REG_RD(bp, in bnx2x_chk_parity_attn()
5025 attn.sig[2] = REG_RD(bp, in bnx2x_chk_parity_attn()
5028 attn.sig[3] = REG_RD(bp, in bnx2x_chk_parity_attn()
5034 attn.sig[3] &= ((REG_RD(bp, in bnx2x_chk_parity_attn()
5041 attn.sig[4] = REG_RD(bp, in bnx2x_chk_parity_attn()
5045 return bnx2x_parity_attn(bp, global, print, attn.sig); in bnx2x_chk_parity_attn()
5048 static void bnx2x_attn_int_deasserted4(struct bnx2x *bp, u32 attn) in bnx2x_attn_int_deasserted4() argument
5051 if (attn & AEU_INPUTS_ATTN_BITS_PGLUE_HW_INTERRUPT) { in bnx2x_attn_int_deasserted4()
5076 if (attn & AEU_INPUTS_ATTN_BITS_ATC_HW_INTERRUPT) { in bnx2x_attn_int_deasserted4()
5093 if (attn & (AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR | in bnx2x_attn_int_deasserted4()
5096 (u32)(attn & (AEU_INPUTS_ATTN_BITS_PGLUE_PARITY_ERROR | in bnx2x_attn_int_deasserted4()
5103 struct attn_route attn, *group_mask; in bnx2x_attn_int_deasserted() local
5131 attn.sig[0] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_1_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5132 attn.sig[1] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_2_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5133 attn.sig[2] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_3_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5134 attn.sig[3] = REG_RD(bp, MISC_REG_AEU_AFTER_INVERT_4_FUNC_0 + port*4); in bnx2x_attn_int_deasserted()
5136 attn.sig[4] = in bnx2x_attn_int_deasserted()
5139 attn.sig[4] = 0; in bnx2x_attn_int_deasserted()
5142 attn.sig[0], attn.sig[1], attn.sig[2], attn.sig[3], attn.sig[4]); in bnx2x_attn_int_deasserted()
5155 attn.sig[4] & group_mask->sig[4]); in bnx2x_attn_int_deasserted()
5157 attn.sig[3] & group_mask->sig[3]); in bnx2x_attn_int_deasserted()
5159 attn.sig[1] & group_mask->sig[1]); in bnx2x_attn_int_deasserted()
5161 attn.sig[2] & group_mask->sig[2]); in bnx2x_attn_int_deasserted()
5163 attn.sig[0] & group_mask->sig[0]); in bnx2x_attn_int_deasserted()