Lines Matching refs:bmsr
1483 __u16 bmsr; in mii_wait_link() local
1491 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_wait_link()
1492 if (bmsr & BMSR_LSTATUS) in mii_wait_link()
1502 __u16 bmsr; in mii_get_media() local
1511 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_get_media()
1513 if (!(bmsr & BMSR_ANEGCOMPLETE)) { in mii_get_media()
1589 __u16 bmsr; in mii_set_media() local
1599 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_set_media()
1604 if (bmsr & BMSR_100FULL) in mii_set_media()
1606 if (bmsr & BMSR_100HALF) in mii_set_media()
1608 if (bmsr & BMSR_100BASE4) in mii_set_media()
1610 if (bmsr & BMSR_10FULL) in mii_set_media()
1612 if (bmsr & BMSR_10HALF) in mii_set_media()
1677 __u16 bmsr; in mii_get_media_pcs() local
1684 bmsr = mii_read (dev, phy_addr, PCS_BMSR); in mii_get_media_pcs()
1686 if (!(bmsr & BMSR_ANEGCOMPLETE)) { in mii_get_media_pcs()