Lines Matching refs:anar
1590 __u16 anar; in mii_set_media() local
1600 anar = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_set_media()
1605 anar |= ADVERTISE_100FULL; in mii_set_media()
1607 anar |= ADVERTISE_100HALF; in mii_set_media()
1609 anar |= ADVERTISE_100BASE4; in mii_set_media()
1611 anar |= ADVERTISE_10FULL; in mii_set_media()
1613 anar |= ADVERTISE_10HALF; in mii_set_media()
1614 anar |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in mii_set_media()
1615 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media()
1734 __u16 anar; in mii_set_media_pcs() local
1744 anar = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_set_media_pcs()
1748 anar |= PCS_ANAR_HALF_DUPLEX; in mii_set_media_pcs()
1750 anar |= PCS_ANAR_FULL_DUPLEX; in mii_set_media_pcs()
1751 anar |= PCS_ANAR_PAUSE | PCS_ANAR_ASYMMETRIC; in mii_set_media_pcs()
1752 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media_pcs()