Lines Matching refs:bmsr
947 u32 bmsr; in bnx2_report_fw_link() local
981 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_report_fw_link()
982 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_report_fw_link()
984 if (!(bmsr & BMSR_ANEGCOMPLETE) || in bnx2_report_fw_link()
1560 u32 bmsr; in bnx2_set_link() local
1574 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_set_link()
1575 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_set_link()
1594 bmsr |= BMSR_LSTATUS; in bnx2_set_link()
1596 bmsr &= ~BMSR_LSTATUS; in bnx2_set_link()
1599 if (bmsr & BMSR_LSTATUS) { in bnx2_set_link()
2135 u32 bmsr; in bnx2_setup_copper_phy() local
2137 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2138 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2140 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
2147 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2148 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2157 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
6004 u32 bmsr; in bnx2_test_link() local
6016 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_test_link()
6017 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_test_link()
6021 if (bmsr & BMSR_LSTATUS) { in bnx2_test_link()