Lines Matching refs:advertising
265 cmd->advertising &= phydev->supported; in phy_ethtool_sset()
271 if (cmd->autoneg == AUTONEG_ENABLE && cmd->advertising == 0) in phy_ethtool_sset()
286 phydev->advertising = cmd->advertising; in phy_ethtool_sset()
289 phydev->advertising |= ADVERTISED_Autoneg; in phy_ethtool_sset()
291 phydev->advertising &= ~ADVERTISED_Autoneg; in phy_ethtool_sset()
310 u32 advertising; in phy_ethtool_ksettings_set() local
315 ethtool_convert_link_mode_to_legacy_u32(&advertising, in phy_ethtool_ksettings_set()
316 cmd->link_modes.advertising); in phy_ethtool_ksettings_set()
319 advertising &= phydev->supported; in phy_ethtool_ksettings_set()
325 if (autoneg == AUTONEG_ENABLE && advertising == 0) in phy_ethtool_ksettings_set()
340 phydev->advertising = advertising; in phy_ethtool_ksettings_set()
343 phydev->advertising |= ADVERTISED_Autoneg; in phy_ethtool_ksettings_set()
345 phydev->advertising &= ~ADVERTISED_Autoneg; in phy_ethtool_ksettings_set()
364 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.advertising, in phy_ethtool_ksettings_get()
365 phydev->advertising); in phy_ethtool_ksettings_get()
437 phydev->advertising = mii_adv_to_ethtool_adv_t(val); in phy_mii_ioctl()
592 u32 adv_old = phydev->advertising; in phy_speed_down()
599 phydev->advertising &= ~(PHY_100BT_FEATURES | in phy_speed_down()
602 phydev->advertising &= ~PHY_1000BT_FEATURES; in phy_speed_down()
604 if (phydev->advertising == adv_old) in phy_speed_down()
624 u32 adv_old = phydev->advertising; in phy_speed_up()
629 phydev->advertising = (adv_old & ~mask) | (phydev->supported & mask); in phy_speed_up()
631 if (phydev->advertising == adv_old) in phy_speed_up()