Home
last modified time | relevance | path

Searched refs:ethadv (Results 1 – 3 of 3) sorted by relevance

/linux-6.1.9/include/linux/
Dmii.h115 static inline u32 ethtool_adv_to_mii_adv_t(u32 ethadv) in ethtool_adv_to_mii_adv_t() argument
119 if (ethadv & ADVERTISED_10baseT_Half) in ethtool_adv_to_mii_adv_t()
121 if (ethadv & ADVERTISED_10baseT_Full) in ethtool_adv_to_mii_adv_t()
123 if (ethadv & ADVERTISED_100baseT_Half) in ethtool_adv_to_mii_adv_t()
125 if (ethadv & ADVERTISED_100baseT_Full) in ethtool_adv_to_mii_adv_t()
127 if (ethadv & ADVERTISED_Pause) in ethtool_adv_to_mii_adv_t()
129 if (ethadv & ADVERTISED_Asym_Pause) in ethtool_adv_to_mii_adv_t()
198 static inline u32 ethtool_adv_to_mii_ctrl1000_t(u32 ethadv) in ethtool_adv_to_mii_ctrl1000_t() argument
202 if (ethadv & ADVERTISED_1000baseT_Half) in ethtool_adv_to_mii_ctrl1000_t()
204 if (ethadv & ADVERTISED_1000baseT_Full) in ethtool_adv_to_mii_ctrl1000_t()
[all …]
/linux-6.1.9/drivers/net/ethernet/atheros/alx/
Dhw.c722 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl) in alx_setup_speed_duplex() argument
732 if (ethadv & ADVERTISED_Autoneg) { in alx_setup_speed_duplex()
734 adv |= ethtool_adv_to_mii_adv_t(ethadv); in alx_setup_speed_duplex()
747 giga = ethtool_adv_to_mii_ctrl1000_t(ethadv); in alx_setup_speed_duplex()
757 if (ethadv == ADVERTISED_100baseT_Half || in alx_setup_speed_duplex()
758 ethadv == ADVERTISED_100baseT_Full) in alx_setup_speed_duplex()
760 if (ethadv == ADVERTISED_10baseT_Full || in alx_setup_speed_duplex()
761 ethadv == ADVERTISED_100baseT_Full) in alx_setup_speed_duplex()
769 val |= ethadv_to_hw_cfg(hw, ethadv); in alx_setup_speed_duplex()
Dhw.h550 int alx_setup_speed_duplex(struct alx_hw *hw, u32 ethadv, u8 flowctrl);