Lines Matching defs:wol
191 static void bcmasp_get_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
195 wol->supported = BCMASP_SUPPORTED_WAKE;
196 wol->wolopts = intf->wolopts;
197 memset(wol->sopass, 0, sizeof(wol->sopass));
199 if (wol->wolopts & WAKE_MAGICSECURE)
200 memcpy(wol->sopass, intf->sopass, sizeof(intf->sopass));
203 static int bcmasp_set_wol(struct net_device *dev, struct ethtool_wolinfo *wol)
213 intf->wolopts = wol->wolopts;
215 memcpy(intf->sopass, wol->sopass, sizeof(wol->sopass));