Lines Matching refs:ethcmd
294 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
296 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
298 .cmd = ethcmd, in ethtool_get_one_feature()
308 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
316 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2607 u32 ethcmd, sub_cmd; in dev_ethtool() local
2614 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
2617 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool()
2618 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()
2621 sub_cmd = ethcmd; in dev_ethtool()
2674 switch (ethcmd) { in dev_ethtool()
2694 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2753 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2760 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2772 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
2777 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
2812 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in dev_ethtool()
2820 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in dev_ethtool()