Lines Matching refs:anar
168 uint32_t anar = 0; in phy_ti_dp83825_get_link() local
195 ret = phy_ti_dp83825_read(dev, MII_ANAR, &anar); in phy_ti_dp83825_get_link()
213 mutual_capabilities = anar & anlpar; in phy_ti_dp83825_get_link()
366 uint32_t anar; in phy_ti_dp83825_cfg_link() local
397 ret = phy_ti_dp83825_read(dev, MII_ANAR, &anar); in phy_ti_dp83825_cfg_link()
405 anar |= MII_ADVERTISE_100_FULL; in phy_ti_dp83825_cfg_link()
407 anar &= ~MII_ADVERTISE_100_FULL; in phy_ti_dp83825_cfg_link()
411 anar |= MII_ADVERTISE_100_HALF; in phy_ti_dp83825_cfg_link()
413 anar &= ~MII_ADVERTISE_100_HALF; in phy_ti_dp83825_cfg_link()
417 anar |= MII_ADVERTISE_10_FULL; in phy_ti_dp83825_cfg_link()
419 anar &= ~MII_ADVERTISE_10_FULL; in phy_ti_dp83825_cfg_link()
423 anar |= MII_ADVERTISE_10_HALF; in phy_ti_dp83825_cfg_link()
425 anar &= ~MII_ADVERTISE_10_HALF; in phy_ti_dp83825_cfg_link()
429 ret = phy_ti_dp83825_write(dev, MII_ANAR, anar); in phy_ti_dp83825_cfg_link()