Lines Matching refs:anar
1578 __u16 anar; in mii_set_media() local
1588 anar = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_set_media()
1593 anar |= ADVERTISE_100FULL; in mii_set_media()
1595 anar |= ADVERTISE_100HALF; in mii_set_media()
1597 anar |= ADVERTISE_100BASE4; in mii_set_media()
1599 anar |= ADVERTISE_10FULL; in mii_set_media()
1601 anar |= ADVERTISE_10HALF; in mii_set_media()
1602 anar |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in mii_set_media()
1603 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media()
1722 __u16 anar; in mii_set_media_pcs() local
1732 anar = mii_read (dev, phy_addr, MII_ADVERTISE) & in mii_set_media_pcs()
1736 anar |= PCS_ANAR_HALF_DUPLEX; in mii_set_media_pcs()
1738 anar |= PCS_ANAR_FULL_DUPLEX; in mii_set_media_pcs()
1739 anar |= PCS_ANAR_PAUSE | PCS_ANAR_ASYMMETRIC; in mii_set_media_pcs()
1740 mii_write (dev, phy_addr, MII_ADVERTISE, anar); in mii_set_media_pcs()