Lines Matching refs:ethcmd
225 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
227 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
229 .cmd = ethcmd, in ethtool_get_one_feature()
239 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
247 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
2567 u32 ethcmd, sub_cmd; in dev_ethtool() local
2574 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
2577 if (ethcmd == ETHTOOL_PERQUEUE) { in dev_ethtool()
2578 if (copy_from_user(&sub_cmd, useraddr + sizeof(ethcmd), sizeof(sub_cmd))) in dev_ethtool()
2581 sub_cmd = ethcmd; in dev_ethtool()
2634 switch (ethcmd) { in dev_ethtool()
2654 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2715 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2722 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
2736 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
2741 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
2776 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in dev_ethtool()
2784 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in dev_ethtool()