Lines Matching refs:bmsr
925 u32 bmsr; in bnx2_report_fw_link() local
959 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_report_fw_link()
960 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_report_fw_link()
962 if (!(bmsr & BMSR_ANEGCOMPLETE) || in bnx2_report_fw_link()
1538 u32 bmsr; in bnx2_set_link() local
1552 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_set_link()
1553 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_set_link()
1572 bmsr |= BMSR_LSTATUS; in bnx2_set_link()
1574 bmsr &= ~BMSR_LSTATUS; in bnx2_set_link()
1577 if (bmsr & BMSR_LSTATUS) { in bnx2_set_link()
2113 u32 bmsr; in bnx2_setup_copper_phy() local
2115 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2116 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2118 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
2125 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2126 bnx2_read_phy(bp, bp->mii_bmsr, &bmsr); in bnx2_setup_copper_phy()
2135 if (bmsr & BMSR_LSTATUS) { in bnx2_setup_copper_phy()
5974 u32 bmsr; in bnx2_test_link() local
5986 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_test_link()
5987 bnx2_read_phy(bp, bp->mii_bmsr1, &bmsr); in bnx2_test_link()
5991 if (bmsr & BMSR_LSTATUS) { in bnx2_test_link()