Searched refs:me_reg (Results 1 – 2 of 2) sorted by relevance
196 u32 me_reg; in bnx2x_get_vf_id() local201 me_reg = readl(bp->doorbells); in bnx2x_get_vf_id()202 if (GOOD_ME_REG(me_reg)) in bnx2x_get_vf_id()208 me_reg); in bnx2x_get_vf_id()211 if (!GOOD_ME_REG(me_reg)) { in bnx2x_get_vf_id()212 BNX2X_ERR("Invalid ME register value: 0x%08x\n", me_reg); in bnx2x_get_vf_id()216 DP(BNX2X_MSG_IOV, "valid ME register value: 0x%08x\n", me_reg); in bnx2x_get_vf_id()218 *vf_id = (me_reg & ME_REG_VF_NUM_MASK) >> ME_REG_VF_NUM_SHIFT; in bnx2x_get_vf_id()
2418 #define GOOD_ME_REG(me_reg) (((me_reg) & ME_REG_VF_VALID) && \ argument2419 (!((me_reg) & ME_REG_VF_ERR)))