Lines Matching refs:bmsr
1475 __u16 bmsr; in mii_wait_link() local
1483 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_wait_link()
1484 if (bmsr & BMSR_LSTATUS) in mii_wait_link()
1494 __u16 bmsr; in mii_get_media() local
1503 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_get_media()
1505 if (!(bmsr & BMSR_ANEGCOMPLETE)) { in mii_get_media()
1581 __u16 bmsr; in mii_set_media() local
1591 bmsr = mii_read (dev, phy_addr, MII_BMSR); in mii_set_media()
1596 if (bmsr & BMSR_100FULL) in mii_set_media()
1598 if (bmsr & BMSR_100HALF) in mii_set_media()
1600 if (bmsr & BMSR_100BASE4) in mii_set_media()
1602 if (bmsr & BMSR_10FULL) in mii_set_media()
1604 if (bmsr & BMSR_10HALF) in mii_set_media()
1669 __u16 bmsr; in mii_get_media_pcs() local
1676 bmsr = mii_read (dev, phy_addr, PCS_BMSR); in mii_get_media_pcs()
1678 if (!(bmsr & BMSR_ANEGCOMPLETE)) { in mii_get_media_pcs()