Lines Matching refs:cmd
1206 struct ethtool_link_ksettings *cmd) argument
1240 cmd->base.port = PORT_FIBRE;
1248 cmd->base.port = PORT_MII;
1251 ethtool_convert_legacy_u32_to_link_mode(cmd->link_modes.supported,
1254 cmd->base.duplex = fullduplex ? DUPLEX_FULL : DUPLEX_HALF;
1257 cmd->base.speed = SPEED_1000;
1260 cmd->base.speed = SPEED_100;
1263 cmd->base.speed = SPEED_10;
1266 cmd->base.autoneg = (tbicr & TBICR_MR_AN_ENABLE)
1273 const struct ethtool_link_ksettings *cmd) argument
1298 if (cmd->base.duplex != fullduplex) {
1301 if (cmd->base.duplex == DUPLEX_FULL) {
1325 if (cmd->base.autoneg == AUTONEG_ENABLE) {
1340 cmd->base.autoneg ? "ENABLED" : "DISABLED");