Lines Matching refs:cmd
1462 struct ethtool_link_ksettings *cmd) in enc28j60_get_link_ksettings() argument
1466 ethtool_link_ksettings_zero_link_mode(cmd, supported); in enc28j60_get_link_ksettings()
1467 ethtool_link_ksettings_add_link_mode(cmd, supported, 10baseT_Half); in enc28j60_get_link_ksettings()
1468 ethtool_link_ksettings_add_link_mode(cmd, supported, 10baseT_Full); in enc28j60_get_link_ksettings()
1469 ethtool_link_ksettings_add_link_mode(cmd, supported, TP); in enc28j60_get_link_ksettings()
1471 cmd->base.speed = SPEED_10; in enc28j60_get_link_ksettings()
1472 cmd->base.duplex = priv->full_duplex ? DUPLEX_FULL : DUPLEX_HALF; in enc28j60_get_link_ksettings()
1473 cmd->base.port = PORT_TP; in enc28j60_get_link_ksettings()
1474 cmd->base.autoneg = AUTONEG_DISABLE; in enc28j60_get_link_ksettings()
1481 const struct ethtool_link_ksettings *cmd) in enc28j60_set_link_ksettings() argument
1483 return enc28j60_setlink(dev, cmd->base.autoneg, in enc28j60_set_link_ksettings()
1484 cmd->base.speed, cmd->base.duplex); in enc28j60_set_link_ksettings()