Lines Matching refs:ethcmd
245 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
247 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
249 .cmd = ethcmd, in ethtool_get_one_feature()
259 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
267 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2756 u32 ethcmd, struct ethtool_devlink_compat *devlink_state) in __dev_ethtool() argument
2767 if (ethcmd == ETHTOOL_PERQUEUE) { in __dev_ethtool()
2768 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
2771 sub_cmd = ethcmd; in __dev_ethtool()
2832 switch (ethcmd) { in __dev_ethtool()
2852 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2913 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2920 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2934 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
2939 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
2974 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
2982 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3057 u32 ethcmd; in dev_ethtool() local
3060 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
3067 switch (ethcmd) { in dev_ethtool()
3078 rc = __dev_ethtool(net, ifr, useraddr, ethcmd, state); in dev_ethtool()
3083 switch (ethcmd) { in dev_ethtool()