Searched refs:anar (Results 1 – 2 of 2) sorted by relevance
/Linux-v5.4/drivers/net/ethernet/dlink/ |
D | dl2k.c | 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 [all …]
|
/Linux-v5.4/drivers/net/usb/ |
D | r8152.c | 3355 u16 anar; in r8152b_enable_fc() local 3357 anar = r8152_mdio_read(tp, MII_ADVERTISE); in r8152b_enable_fc() 3358 anar |= ADVERTISE_PAUSE_CAP | ADVERTISE_PAUSE_ASYM; in r8152b_enable_fc() 3359 r8152_mdio_write(tp, MII_ADVERTISE, anar); in r8152b_enable_fc() 3904 u16 anar, tmp1; in rtl8152_set_speed() local 3916 anar = r8152_mdio_read(tp, MII_ADVERTISE); in rtl8152_set_speed() 3917 tmp1 = anar & ~(ADVERTISE_10HALF | ADVERTISE_10FULL | in rtl8152_set_speed() 3937 if (anar != tmp1) { in rtl8152_set_speed()
|