Lines Matching refs:cmd
52 struct ethtool_link_ksettings *cmd) in igbvf_get_link_ksettings() argument
58 ethtool_link_ksettings_zero_link_mode(cmd, supported); in igbvf_get_link_ksettings()
59 ethtool_link_ksettings_add_link_mode(cmd, supported, 1000baseT_Full); in igbvf_get_link_ksettings()
60 ethtool_link_ksettings_zero_link_mode(cmd, advertising); in igbvf_get_link_ksettings()
61 ethtool_link_ksettings_add_link_mode(cmd, advertising, 1000baseT_Full); in igbvf_get_link_ksettings()
63 cmd->base.port = -1; in igbvf_get_link_ksettings()
68 cmd->base.speed = SPEED_1000; in igbvf_get_link_ksettings()
70 cmd->base.speed = SPEED_100; in igbvf_get_link_ksettings()
72 cmd->base.speed = SPEED_10; in igbvf_get_link_ksettings()
75 cmd->base.duplex = DUPLEX_FULL; in igbvf_get_link_ksettings()
77 cmd->base.duplex = DUPLEX_HALF; in igbvf_get_link_ksettings()
79 cmd->base.speed = SPEED_UNKNOWN; in igbvf_get_link_ksettings()
80 cmd->base.duplex = DUPLEX_UNKNOWN; in igbvf_get_link_ksettings()
83 cmd->base.autoneg = AUTONEG_DISABLE; in igbvf_get_link_ksettings()
89 const struct ethtool_link_ksettings *cmd) in igbvf_set_link_ksettings() argument