Lines Matching defs:wol
3693 * @wol: Ethtool structure to retrieve WoL settings
3695 static void ice_get_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
3705 wol->supported = WAKE_MAGIC;
3706 wol->wolopts = pf->wol_ena ? WAKE_MAGIC : 0;
3708 wol->supported = 0;
3709 wol->wolopts = 0;
3716 * @wol: Ethtool structure to set WoL
3718 static int ice_set_wol(struct net_device *netdev, struct ethtool_wolinfo *wol)
3728 if (wol->wolopts && wol->wolopts != WAKE_MAGIC)
3732 if (pf->wol_ena != !!wol->wolopts) {
3733 pf->wol_ena = !!wol->wolopts;