Lines Matching refs:ethcmd
226 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
228 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
230 .cmd = ethcmd, in ethtool_get_one_feature()
240 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
248 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2671 u32 ethcmd, sub_cmd; in dev_ethtool() local
2678 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
2681 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool()
2682 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()
2685 sub_cmd = ethcmd; in dev_ethtool()
2738 switch (ethcmd) { in dev_ethtool()
2758 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2819 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2826 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2840 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
2845 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
2880 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in dev_ethtool()
2888 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in dev_ethtool()