Searched refs:ethcmd (Results 1 – 4 of 4) sorted by relevance
| /OK3568_Linux_fs/buildroot/package/atop/ |
| H A D | 0001-ifprop.c-fix-build-with-kernel-4.6.patch | 30 struct ethtool_cmd ethcmd; // deprecated 47 ethcmd.cmd = ETHTOOL_GSET; 48 ifreq.ifr_ifru.ifru_data = (void *)ðcmd;
|
| /OK3568_Linux_fs/kernel/drivers/staging/wlan-ng/ |
| H A D | p80211netdev.c | 469 u32 ethcmd; in p80211netdev_ethtool() local 476 if (copy_from_user(ðcmd, 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()
|
| /OK3568_Linux_fs/kernel/net/ethtool/ |
| H A D | ioctl.c | 226 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(ðcmd, 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 …]
|
| /OK3568_Linux_fs/kernel/drivers/net/ethernet/realtek/r8168/ |
| H A D | r8168_n.c | 24789 u32 ethcmd; in ethtool_ioctl() local 24801 if (copy_from_user(ðcmd, useraddr, sizeof (ethcmd))) in ethtool_ioctl() 24804 switch (ethcmd) { in ethtool_ioctl()
|