Lines Matching refs:anar
286 uint32_t anar; in phy_rt_rtl8211f_cfg_link() local
307 ret = phy_rt_rtl8211f_read(dev, MII_ANAR, &anar); in phy_rt_rtl8211f_cfg_link()
322 anar |= MII_ADVERTISE_100_FULL; in phy_rt_rtl8211f_cfg_link()
324 anar &= ~MII_ADVERTISE_100_FULL; in phy_rt_rtl8211f_cfg_link()
327 anar |= MII_ADVERTISE_100_HALF; in phy_rt_rtl8211f_cfg_link()
329 anar &= ~MII_ADVERTISE_100_HALF; in phy_rt_rtl8211f_cfg_link()
332 anar |= MII_ADVERTISE_10_FULL; in phy_rt_rtl8211f_cfg_link()
334 anar &= ~MII_ADVERTISE_10_FULL; in phy_rt_rtl8211f_cfg_link()
337 anar |= MII_ADVERTISE_10_HALF; in phy_rt_rtl8211f_cfg_link()
339 anar &= ~MII_ADVERTISE_10_HALF; in phy_rt_rtl8211f_cfg_link()
350 ret = phy_rt_rtl8211f_write(dev, MII_ANAR, anar); in phy_rt_rtl8211f_cfg_link()