Home
last modified time | relevance | path

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

/linux-4.4.14/net/core/
Dethtool.c263 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
265 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
267 .cmd = ethcmd, in ethtool_get_one_feature()
277 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
285 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
1757 u32 ethcmd; in dev_ethtool() local
1764 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
1768 switch (ethcmd) { in dev_ethtool()
1814 switch (ethcmd) { in dev_ethtool()
1834 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
[all …]
/linux-4.4.14/drivers/staging/wlan-ng/
Dp80211netdev.c464 u32 ethcmd; in p80211netdev_ethtool() local
471 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in p80211netdev_ethtool()
474 switch (ethcmd) { in p80211netdev_ethtool()
476 info.cmd = ethcmd; in p80211netdev_ethtool()
487 edata.cmd = ethcmd; in p80211netdev_ethtool()
/linux-4.4.14/net/
Dsocket.c2679 u32 ethcmd; in ethtool_ioctl() local
2688 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl()
2694 switch (ethcmd) { in ethtool_ioctl()
2769 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()