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()
2719 u32 ethcmd, struct ethtool_devlink_compat *devlink_state) in __dev_ethtool() argument
2730 if (ethcmd == ETHTOOL_PERQUEUE) { in __dev_ethtool()
2731 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in __dev_ethtool()
2734 sub_cmd = ethcmd; in __dev_ethtool()
2795 switch (ethcmd) { in __dev_ethtool()
2815 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2876 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2883 rc = ethtool_get_value(dev, useraddr, ethcmd, in __dev_ethtool()
2897 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
2902 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in __dev_ethtool()
2937 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
2945 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in __dev_ethtool()
3020 u32 ethcmd; in dev_ethtool() local
3023 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
3030 switch (ethcmd) { in dev_ethtool()
3041 rc = __dev_ethtool(net, ifr, useraddr, ethcmd, state); in dev_ethtool()
3046 switch (ethcmd) { in dev_ethtool()