Home
last modified time | relevance | path

Searched refs:adv_cfg (Results 1 – 4 of 4) sorted by relevance

/Linux-v5.4/drivers/net/ethernet/atheros/alx/
Dethtool.c144 if (hw->adv_cfg & ADVERTISED_Autoneg) in alx_get_link_ksettings()
145 advertising |= hw->adv_cfg; in alx_get_link_ksettings()
150 if (hw->adv_cfg & ADVERTISED_Autoneg) in alx_get_link_ksettings()
155 if (hw->flowctrl & ALX_FC_ANEG && hw->adv_cfg & ADVERTISED_Autoneg) { in alx_get_link_ksettings()
182 u32 adv_cfg; in alx_set_link_ksettings() local
193 adv_cfg = advertising | ADVERTISED_Autoneg; in alx_set_link_ksettings()
195 adv_cfg = alx_speed_to_ethadv(cmd->base.speed, in alx_set_link_ksettings()
198 if (!adv_cfg || adv_cfg == ADVERTISED_1000baseT_Full) in alx_set_link_ksettings()
202 hw->adv_cfg = adv_cfg; in alx_set_link_ksettings()
203 return alx_setup_speed_duplex(hw, adv_cfg, hw->flowctrl); in alx_set_link_ksettings()
[all …]
Dhw.h488 u32 adv_cfg; member
Dmain.c1078 hw->adv_cfg = ADVERTISED_Autoneg | in alx_init_sw()
1788 err = alx_setup_speed_duplex(hw, hw->adv_cfg, hw->flowctrl); in alx_probe()
Dhw.c855 cfg = ethadv_to_hw_cfg(hw, hw->adv_cfg); in alx_phy_configured()