Lines Matching refs:bmsr
941 u32 bmsr; in bnx2_report_fw_link() local
975 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_report_fw_link()
976 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_report_fw_link()
978 if (!(bmsr & BMSR_ANEGCOMPLETE) || in bnx2_report_fw_link()
1554 u32 bmsr; in bnx2_set_link() local
1568 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_set_link()
1569 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_set_link()
1588 bmsr |= BMSR_LSTATUS; in bnx2_set_link()
1590 bmsr &= ~BMSR_LSTATUS; in bnx2_set_link()
1593 if (bmsr & BMSR_LSTATUS) { in bnx2_set_link()
2129 u32 bmsr; in bnx2_setup_copper_phy() local
2131 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2132 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2134 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
2141 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2142 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2151 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
5998 u32 bmsr; in bnx2_test_link() local
6010 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_test_link()
6011 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_test_link()
6015 if (bmsr & BMSR_LSTATUS) { in bnx2_test_link()