Lines Matching refs:cmd

5274 				const struct ethtool_link_ksettings *cmd)  in s2io_ethtool_set_link_ksettings()  argument
5277 if ((cmd->base.autoneg == AUTONEG_ENABLE) || in s2io_ethtool_set_link_ksettings()
5278 (cmd->base.speed != SPEED_10000) || in s2io_ethtool_set_link_ksettings()
5279 (cmd->base.duplex != DUPLEX_FULL)) in s2io_ethtool_set_link_ksettings()
5302 struct ethtool_link_ksettings *cmd) in s2io_ethtool_get_link_ksettings() argument
5306 ethtool_link_ksettings_zero_link_mode(cmd, supported); in s2io_ethtool_get_link_ksettings()
5307 ethtool_link_ksettings_add_link_mode(cmd, supported, 10000baseT_Full); in s2io_ethtool_get_link_ksettings()
5308 ethtool_link_ksettings_add_link_mode(cmd, supported, FIBRE); in s2io_ethtool_get_link_ksettings()
5310 ethtool_link_ksettings_zero_link_mode(cmd, advertising); in s2io_ethtool_get_link_ksettings()
5311 ethtool_link_ksettings_add_link_mode(cmd, advertising, 10000baseT_Full); in s2io_ethtool_get_link_ksettings()
5312 ethtool_link_ksettings_add_link_mode(cmd, advertising, FIBRE); in s2io_ethtool_get_link_ksettings()
5314 cmd->base.port = PORT_FIBRE; in s2io_ethtool_get_link_ksettings()
5317 cmd->base.speed = SPEED_10000; in s2io_ethtool_get_link_ksettings()
5318 cmd->base.duplex = DUPLEX_FULL; in s2io_ethtool_get_link_ksettings()
5320 cmd->base.speed = SPEED_UNKNOWN; in s2io_ethtool_get_link_ksettings()
5321 cmd->base.duplex = DUPLEX_UNKNOWN; in s2io_ethtool_get_link_ksettings()
5324 cmd->base.autoneg = AUTONEG_DISABLE; in s2io_ethtool_get_link_ksettings()
6618 static int s2io_ioctl(struct net_device *dev, struct ifreq *rq, int cmd) in s2io_ioctl() argument