Lines Matching refs:cmd
5270 const struct ethtool_link_ksettings *cmd) in s2io_ethtool_set_link_ksettings() argument
5273 if ((cmd->base.autoneg == AUTONEG_ENABLE) || in s2io_ethtool_set_link_ksettings()
5274 (cmd->base.speed != SPEED_10000) || in s2io_ethtool_set_link_ksettings()
5275 (cmd->base.duplex != DUPLEX_FULL)) in s2io_ethtool_set_link_ksettings()
5298 struct ethtool_link_ksettings *cmd) in s2io_ethtool_get_link_ksettings() argument
5302 ethtool_link_ksettings_zero_link_mode(cmd, supported); in s2io_ethtool_get_link_ksettings()
5303 ethtool_link_ksettings_add_link_mode(cmd, supported, 10000baseT_Full); in s2io_ethtool_get_link_ksettings()
5304 ethtool_link_ksettings_add_link_mode(cmd, supported, FIBRE); in s2io_ethtool_get_link_ksettings()
5306 ethtool_link_ksettings_zero_link_mode(cmd, advertising); in s2io_ethtool_get_link_ksettings()
5307 ethtool_link_ksettings_add_link_mode(cmd, advertising, 10000baseT_Full); in s2io_ethtool_get_link_ksettings()
5308 ethtool_link_ksettings_add_link_mode(cmd, advertising, FIBRE); in s2io_ethtool_get_link_ksettings()
5310 cmd->base.port = PORT_FIBRE; in s2io_ethtool_get_link_ksettings()
5313 cmd->base.speed = SPEED_10000; in s2io_ethtool_get_link_ksettings()
5314 cmd->base.duplex = DUPLEX_FULL; in s2io_ethtool_get_link_ksettings()
5316 cmd->base.speed = SPEED_UNKNOWN; in s2io_ethtool_get_link_ksettings()
5317 cmd->base.duplex = DUPLEX_UNKNOWN; in s2io_ethtool_get_link_ksettings()
5320 cmd->base.autoneg = AUTONEG_DISABLE; in s2io_ethtool_get_link_ksettings()
6611 static int s2io_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in s2io_ioctl() argument