Lines Matching refs:autoneg
298 if (link_info->autoneg) { in octep_get_link_ksettings()
299 if (link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_SUPPORTED) in octep_get_link_ksettings()
301 if (link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_ADVERTISED) { in octep_get_link_ksettings()
303 cmd->base.autoneg = AUTONEG_ENABLE; in octep_get_link_ksettings()
305 cmd->base.autoneg = AUTONEG_DISABLE; in octep_get_link_ksettings()
308 cmd->base.autoneg = AUTONEG_DISABLE; in octep_get_link_ksettings()
339 u8 autoneg = 0; in octep_set_link_ksettings() local
352 if (cmd->base.autoneg == AUTONEG_ENABLE) { in octep_set_link_ksettings()
353 if (!(link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_SUPPORTED)) in octep_set_link_ksettings()
355 autoneg = 1; in octep_set_link_ksettings()
438 cmd->base.autoneg == link_info->autoneg) in octep_set_link_ksettings()
443 link_info_new.autoneg = autoneg; in octep_set_link_ksettings()