Lines Matching full:wol
276 * be cleared to de-assert PME signal after a WoL event happens, but in lan874x_phy_config_init()
295 struct ethtool_wolinfo *wol) in lan874x_get_wol() argument
300 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in lan874x_get_wol()
302 wol->wolopts = 0; in lan874x_get_wol()
309 wol->wolopts |= WAKE_UCAST; in lan874x_get_wol()
312 wol->wolopts |= WAKE_BCAST; in lan874x_get_wol()
315 wol->wolopts |= WAKE_MAGIC; in lan874x_get_wol()
319 wol->wolopts |= WAKE_ARP; in lan874x_get_wol()
321 wol->wolopts |= WAKE_MCAST; in lan874x_get_wol()
407 struct ethtool_wolinfo *wol) in lan874x_set_wol() argument
416 /* lan874x has only one WoL filter pattern */ in lan874x_set_wol()
417 if ((wol->wolopts & (WAKE_ARP | WAKE_MCAST)) == in lan874x_set_wol()
420 "lan874x WoL supports one of ARP|MCAST at a time\n"); in lan874x_set_wol()
430 if (wol->wolopts & WAKE_UCAST) in lan874x_set_wol()
435 if (wol->wolopts & WAKE_BCAST) in lan874x_set_wol()
440 if (wol->wolopts & WAKE_MAGIC) in lan874x_set_wol()
446 if (wol->wolopts & (WAKE_ARP | WAKE_MCAST)) in lan874x_set_wol()
451 if (wol->wolopts & WAKE_ARP) { in lan874x_set_wol()
471 if (wol->wolopts & WAKE_MCAST) { in lan874x_set_wol()
480 if (wol->wolopts & (WAKE_MAGIC | WAKE_UCAST)) { in lan874x_set_wol()
789 /* WoL */
826 /* WoL */