Lines Matching refs:ethcmd
423 static void *__ethtool_get_one_feature_actor(struct net_device *dev, u32 ethcmd) in __ethtool_get_one_feature_actor() argument
430 switch (ethcmd) { in __ethtool_get_one_feature_actor()
452 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
454 u32 mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
456 .cmd = ethcmd, in ethtool_get_one_feature()
464 actor = __ethtool_get_one_feature_actor(dev, ethcmd); in ethtool_get_one_feature()
467 if (ethcmd == ETHTOOL_GRXCSUM && !actor) in ethtool_get_one_feature()
486 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
494 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
515 switch (ethcmd) { in ethtool_set_one_feature()
1752 u32 ethcmd; in dev_ethtool() local
1759 if (copy_from_user(ðcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
1766 if (ethcmd == ETHTOOL_GDRVINFO) in dev_ethtool()
1773 switch (ethcmd) { in dev_ethtool()
1810 switch (ethcmd) { in dev_ethtool()
1830 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
1883 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
1892 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
1904 rc = ethtool_get_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
1909 rc = ethtool_set_rxnfc(dev, ethcmd, useraddr); in dev_ethtool()
1945 rc = ethtool_get_one_feature(dev, useraddr, ethcmd); in dev_ethtool()
1954 rc = ethtool_set_one_feature(dev, useraddr, ethcmd); in dev_ethtool()