Lines Matching refs:lfa_sts
12814 u32 dont_clear_stat, lfa_sts; in bnx2x_avoid_link_flap() local
12837 lfa_sts = REG_RD(bp, params->lfa_base + in bnx2x_avoid_link_flap()
12839 lfa_sts)); in bnx2x_avoid_link_flap()
12841 dont_clear_stat = lfa_sts & SHMEM_LFA_DONT_CLEAR_STAT; in bnx2x_avoid_link_flap()
12867 lfa_sts = ((lfa_sts & ~LINK_FLAP_AVOIDANCE_COUNT_MASK) | in bnx2x_avoid_link_flap()
12868 (((((lfa_sts & LINK_FLAP_AVOIDANCE_COUNT_MASK) >> in bnx2x_avoid_link_flap()
12872 lfa_sts &= ~LFA_LINK_FLAP_REASON_MASK; in bnx2x_avoid_link_flap()
12875 offsetof(struct shmem_lfa, lfa_sts), lfa_sts); in bnx2x_avoid_link_flap()
12889 u32 lfa_sts, cfg_idx, tmp_val; in bnx2x_cannot_avoid_link_flap() local
12924 lfa_sts = REG_RD(bp, params->lfa_base + in bnx2x_cannot_avoid_link_flap()
12925 offsetof(struct shmem_lfa, lfa_sts)); in bnx2x_cannot_avoid_link_flap()
12928 lfa_sts &= ~SHMEM_LFA_DONT_CLEAR_STAT; in bnx2x_cannot_avoid_link_flap()
12931 lfa_sts &= ~LFA_LINK_FLAP_REASON_MASK; in bnx2x_cannot_avoid_link_flap()
12932 lfa_sts |= ((lfa_status & LFA_LINK_FLAP_REASON_MASK) << in bnx2x_cannot_avoid_link_flap()
12936 lfa_sts = ((lfa_sts & ~LINK_FLAP_COUNT_MASK) | in bnx2x_cannot_avoid_link_flap()
12937 (((((lfa_sts & LINK_FLAP_COUNT_MASK) >> in bnx2x_cannot_avoid_link_flap()
12941 offsetof(struct shmem_lfa, lfa_sts), lfa_sts); in bnx2x_cannot_avoid_link_flap()