Searched refs:anar (Results 1 – 3 of 3) sorted by relevance
/Zephyr-latest/drivers/ethernet/phy/ |
D | phy_microchip_ksz8081.c | 149 uint32_t anar = 0; in phy_mc_ksz8081_get_link() local 175 ret = phy_mc_ksz8081_read(dev, MII_ANAR, &anar); in phy_mc_ksz8081_get_link() 193 uint32_t mutual_capabilities = anar & anlpar; in phy_mc_ksz8081_get_link() 331 uint32_t anar; in phy_mc_ksz8081_cfg_link() local 350 ret = phy_mc_ksz8081_read(dev, MII_ANAR, &anar); in phy_mc_ksz8081_cfg_link() 358 anar |= MII_ADVERTISE_100_FULL; in phy_mc_ksz8081_cfg_link() 360 anar &= ~MII_ADVERTISE_100_FULL; in phy_mc_ksz8081_cfg_link() 363 anar |= MII_ADVERTISE_100_HALF; in phy_mc_ksz8081_cfg_link() 365 anar &= ~MII_ADVERTISE_100_HALF; in phy_mc_ksz8081_cfg_link() 368 anar |= MII_ADVERTISE_10_FULL; in phy_mc_ksz8081_cfg_link() [all …]
|
D | phy_ti_dp83825.c | 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() [all …]
|
D | phy_realtek_rtl8211f.c | 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() [all …]
|