Lines Matching refs:bmsr
1474 __u16 bmsr; in mii_wait_link() local
1482 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_wait_link()
1483 if (bmsr & BMSR_LSTATUS) in mii_wait_link()
1493 __u16 bmsr; in mii_get_media() local
1502 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_get_media()
1504 if (!(bmsr & BMSR_ANEGCOMPLETE)) { in mii_get_media()
1580 __u16 bmsr; in mii_set_media() local
1590 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_set_media()
1595 if (bmsr & BMSR_100FULL) in mii_set_media()
1597 if (bmsr & BMSR_100HALF) in mii_set_media()
1599 if (bmsr & BMSR_100BASE4) in mii_set_media()
1601 if (bmsr & BMSR_10FULL) in mii_set_media()
1603 if (bmsr & BMSR_10HALF) in mii_set_media()
1668 __u16 bmsr; in mii_get_media_pcs() local
1675 bmsr = mii_read (dev, phy_addr, PCS_BMSR); in mii_get_media_pcs()
1677 if (!(bmsr & BMSR_ANEGCOMPLETE)) { in mii_get_media_pcs()