Lines Matching defs:wolinfo
668 asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo)
674 wolinfo->supported = 0;
675 wolinfo->wolopts = 0;
678 wolinfo->supported = WAKE_PHY | WAKE_MAGIC;
679 wolinfo->wolopts = 0;
682 wolinfo->wolopts |= WAKE_PHY;
684 wolinfo->wolopts |= WAKE_MAGIC;
689 asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo)
694 if (wolinfo->wolopts & WAKE_PHY)
696 if (wolinfo->wolopts & WAKE_MAGIC)