Lines Matching refs:ethcmd
251 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
253 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
255 .cmd = ethcmd, in ethtool_get_one_feature()
265 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
273 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
3087 u32 ethcmd, struct ethtool_devlink_compat *devlink_state) in __dev_ethtool() argument
3098 if (ethcmd == ETHTOOL_PERQUEUE) { in __dev_ethtool()
3099 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
3102 sub_cmd = ethcmd; in __dev_ethtool()
3164 switch (ethcmd) { in __dev_ethtool()
3184 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
3245 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
3252 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
3266 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
3271 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
3306 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3314 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3390 u32 ethcmd; in dev_ethtool() local
3393 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
3400 switch (ethcmd) { in dev_ethtool()
3411 rc = __dev_ethtool(net, ifr, useraddr, ethcmd, state); in dev_ethtool()
3416 switch (ethcmd) { in dev_ethtool()