Home
last modified time | relevance | path

Searched refs:ethcmd (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/staging/wlan-ng/
Dp80211netdev.c469 u32 ethcmd; in p80211netdev_ethtool() local
476 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in p80211netdev_ethtool()
479 switch (ethcmd) { in p80211netdev_ethtool()
481 info.cmd = ethcmd; in p80211netdev_ethtool()
492 edata.cmd = ethcmd; in p80211netdev_ethtool()
/kernel/linux/linux-5.10/net/ethtool/
Dioctl.c226 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(&ethcmd, 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()
[all …]
/kernel/linux/patches/linux-4.19/hispark_taurus_patch/
Dhispark_taurus.patch364358 rc = ethtool_get_one_feature(dev, useraddr, ethcmd);
364366 rc = ethtool_set_one_feature(dev, useraddr, ethcmd);