Lines Matching refs:ethcmd
246 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
248 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
250 .cmd = ethcmd, in ethtool_get_one_feature()
260 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
268 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2769 u32 ethcmd, struct ethtool_devlink_compat *devlink_state) in __dev_ethtool() argument
2780 if (ethcmd == ETHTOOL_PERQUEUE) { in __dev_ethtool()
2781 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
2784 sub_cmd = ethcmd; in __dev_ethtool()
2845 switch (ethcmd) { in __dev_ethtool()
2865 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2926 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2933 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2947 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
2952 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
2987 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
2995 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3070 u32 ethcmd; in dev_ethtool() local
3073 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
3080 switch (ethcmd) { in dev_ethtool()
3091 rc = __dev_ethtool(net, ifr, useraddr, ethcmd, state); in dev_ethtool()
3096 switch (ethcmd) { in dev_ethtool()