Lines Matching refs:wolinfo
573 void asix_get_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_get_wol() argument
580 wolinfo->supported = 0; in asix_get_wol()
581 wolinfo->wolopts = 0; in asix_get_wol()
584 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
585 wolinfo->wolopts = 0; in asix_get_wol()
587 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
589 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
592 int asix_set_wol(struct net_device *net, struct ethtool_wolinfo *wolinfo) in asix_set_wol() argument
597 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
600 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol()
602 if (wolinfo->wolopts & WAKE_MAGIC) in asix_set_wol()