Searched refs:wol_info (Results 1 – 1 of 1) sorted by relevance
1485 struct ethtool_wolinfo wol_info = { ETHTOOL_GWOL }; in amd8111e_ethtool_ioctl() local1487 wol_info.supported = WAKE_MAGIC|WAKE_PHY; in amd8111e_ethtool_ioctl()1488 wol_info.wolopts = 0; in amd8111e_ethtool_ioctl()1490 wol_info.wolopts = WAKE_MAGIC; in amd8111e_ethtool_ioctl()1491 memset(&wol_info.sopass, 0, sizeof(wol_info.sopass)); in amd8111e_ethtool_ioctl()1492 if (copy_to_user(useraddr, &wol_info, sizeof(wol_info))) in amd8111e_ethtool_ioctl()1497 struct ethtool_wolinfo wol_info; in amd8111e_ethtool_ioctl() local1499 if (copy_from_user(&wol_info, useraddr, sizeof(wol_info))) in amd8111e_ethtool_ioctl()1501 if (wol_info.wolopts & ~(WAKE_MAGIC |WAKE_PHY)) in amd8111e_ethtool_ioctl()1504 if(wol_info.wolopts & WAKE_MAGIC) in amd8111e_ethtool_ioctl()[all …]