Lines Matching refs:autoneg
295 if (link_info->autoneg) { in octep_get_link_ksettings()
296 if (link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_SUPPORTED) in octep_get_link_ksettings()
298 if (link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_ADVERTISED) { in octep_get_link_ksettings()
300 cmd->base.autoneg = AUTONEG_ENABLE; in octep_get_link_ksettings()
302 cmd->base.autoneg = AUTONEG_DISABLE; in octep_get_link_ksettings()
305 cmd->base.autoneg = AUTONEG_DISABLE; in octep_get_link_ksettings()
336 u8 autoneg = 0; in octep_set_link_ksettings() local
349 if (cmd->base.autoneg == AUTONEG_ENABLE) { in octep_set_link_ksettings()
350 if (!(link_info->autoneg & OCTEP_LINK_MODE_AUTONEG_SUPPORTED)) in octep_set_link_ksettings()
352 autoneg = 1; in octep_set_link_ksettings()
435 cmd->base.autoneg == link_info->autoneg) in octep_set_link_ksettings()
440 link_info_new.autoneg = autoneg; in octep_set_link_ksettings()