Lines Matching refs:lfa_sts
12816 u32 dont_clear_stat, lfa_sts; in bnx2x_avoid_link_flap() local
12839 lfa_sts = REG_RD(bp, params->lfa_base + in bnx2x_avoid_link_flap()
12841 lfa_sts)); in bnx2x_avoid_link_flap()
12843 dont_clear_stat = lfa_sts & SHMEM_LFA_DONT_CLEAR_STAT; in bnx2x_avoid_link_flap()
12869 lfa_sts = ((lfa_sts & ~LINK_FLAP_AVOIDANCE_COUNT_MASK) | in bnx2x_avoid_link_flap()
12870 (((((lfa_sts & LINK_FLAP_AVOIDANCE_COUNT_MASK) >> in bnx2x_avoid_link_flap()
12874 lfa_sts &= ~LFA_LINK_FLAP_REASON_MASK; in bnx2x_avoid_link_flap()
12877 offsetof(struct shmem_lfa, lfa_sts), lfa_sts); in bnx2x_avoid_link_flap()
12891 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local
12926 lfa_sts = REG_RD(bp, params->lfa_base + in bnx2x_cannot_avoid_link_flap()
12927 offsetof(struct shmem_lfa, lfa_sts)); in bnx2x_cannot_avoid_link_flap()
12930 lfa_sts &= ~SHMEM_LFA_DONT_CLEAR_STAT; in bnx2x_cannot_avoid_link_flap()
12933 lfa_sts &= ~LFA_LINK_FLAP_REASON_MASK; in bnx2x_cannot_avoid_link_flap()
12934 lfa_sts |= ((lfa_status & LFA_LINK_FLAP_REASON_MASK) << in bnx2x_cannot_avoid_link_flap()
12938 lfa_sts = ((lfa_sts & ~LINK_FLAP_COUNT_MASK) | in bnx2x_cannot_avoid_link_flap()
12939 (((((lfa_sts & LINK_FLAP_COUNT_MASK) >> in bnx2x_cannot_avoid_link_flap()
12943 offsetof(struct shmem_lfa, lfa_sts), lfa_sts); in bnx2x_cannot_avoid_link_flap()