Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/net/ethernet/atheros/alx/
Dethtool.c142 if (hw->adv_cfg & ADVERTISED_Autoneg) in alx_get_settings()
143 ecmd->advertising |= hw->adv_cfg; in alx_get_settings()
148 if (hw->adv_cfg & ADVERTISED_Autoneg) in alx_get_settings()
154 if (hw->flowctrl & ALX_FC_ANEG && hw->adv_cfg & ADVERTISED_Autoneg) { in alx_get_settings()
175 u32 adv_cfg; in alx_set_settings() local
182 adv_cfg = ecmd->advertising | ADVERTISED_Autoneg; in alx_set_settings()
184 adv_cfg = alx_speed_to_ethadv(ethtool_cmd_speed(ecmd), in alx_set_settings()
187 if (!adv_cfg || adv_cfg == ADVERTISED_1000baseT_Full) in alx_set_settings()
191 hw->adv_cfg = adv_cfg; in alx_set_settings()
192 return alx_setup_speed_duplex(hw, adv_cfg, hw->flowctrl); in alx_set_settings()
[all …]
Dhw.h486 u32 adv_cfg; member
Dmain.c717 hw->adv_cfg = ADVERTISED_Autoneg | in alx_init_sw()
1335 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()