Home
last modified time | relevance | path

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

/linux-4.1.27/net/core/
Dethtool.c252 char __user *useraddr, u32 ethcmd) in ethtool_get_one_feature() argument
254 netdev_features_t mask = ethtool_get_feature_mask(ethcmd); in ethtool_get_one_feature()
256 .cmd = ethcmd, in ethtool_get_one_feature()
266 void __user *useraddr, u32 ethcmd) in ethtool_set_one_feature() argument
274 mask = ethtool_get_feature_mask(ethcmd); in ethtool_set_one_feature()
1746 u32 ethcmd; in dev_ethtool() local
1753 if (copy_from_user(&ethcmd, useraddr, sizeof(ethcmd))) in dev_ethtool()
1757 switch (ethcmd) { in dev_ethtool()
1803 switch (ethcmd) { in dev_ethtool()
1823 rc = ethtool_get_value(dev, useraddr, ethcmd, in dev_ethtool()
[all …]
/linux-4.1.27/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.1.27/net/
Dsocket.c2688 u32 ethcmd; in ethtool_ioctl() local
2697 if (get_user(ethcmd, &compat_rxnfc->cmd)) in ethtool_ioctl()
2703 switch (ethcmd) { in ethtool_ioctl()
2778 if (ethcmd == ETHTOOL_GRXCLSRLALL) { in ethtool_ioctl()