Lines Matching refs:ecmd
3301 struct ethtool_link_ksettings *ecmd) in qlcnic_83xx_get_link_ksettings() argument
3320 ecmd->base.speed = ahw->link_speed; in qlcnic_83xx_get_link_ksettings()
3321 ecmd->base.duplex = ahw->link_duplex; in qlcnic_83xx_get_link_ksettings()
3322 ecmd->base.autoneg = ahw->link_autoneg; in qlcnic_83xx_get_link_ksettings()
3324 ecmd->base.speed = SPEED_UNKNOWN; in qlcnic_83xx_get_link_ksettings()
3325 ecmd->base.duplex = DUPLEX_UNKNOWN; in qlcnic_83xx_get_link_ksettings()
3326 ecmd->base.autoneg = AUTONEG_DISABLE; in qlcnic_83xx_get_link_ksettings()
3336 ecmd->link_modes.advertising); in qlcnic_83xx_get_link_ksettings()
3338 if (ecmd->base.autoneg == AUTONEG_ENABLE) { in qlcnic_83xx_get_link_ksettings()
3373 ecmd->base.port = PORT_FIBRE; in qlcnic_83xx_get_link_ksettings()
3378 ecmd->base.port = PORT_TP; in qlcnic_83xx_get_link_ksettings()
3383 ecmd->base.port = PORT_DA; in qlcnic_83xx_get_link_ksettings()
3388 ecmd->base.port = PORT_OTHER; in qlcnic_83xx_get_link_ksettings()
3391 ecmd->base.phy_address = ahw->physical_port; in qlcnic_83xx_get_link_ksettings()
3393 ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.supported, in qlcnic_83xx_get_link_ksettings()
3395 ethtool_convert_legacy_u32_to_link_mode(ecmd->link_modes.advertising, in qlcnic_83xx_get_link_ksettings()
3402 const struct ethtool_link_ksettings *ecmd) in qlcnic_83xx_set_link_ksettings() argument
3409 if (ecmd->base.duplex == DUPLEX_HALF) { in qlcnic_83xx_set_link_ksettings()
3415 if (ecmd->base.autoneg) { in qlcnic_83xx_set_link_ksettings()
3422 switch (ecmd->base.speed) { in qlcnic_83xx_set_link_ksettings()