Lines Matching full:wol
323 * be cleared to de-assert PME signal after a WoL event happens, but in lan874x_phy_config_init()
342 struct ethtool_wolinfo *wol) in lan874x_get_wol() argument
347 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in lan874x_get_wol()
349 wol->wolopts = 0; in lan874x_get_wol()
356 wol->wolopts |= WAKE_UCAST; in lan874x_get_wol()
359 wol->wolopts |= WAKE_BCAST; in lan874x_get_wol()
362 wol->wolopts |= WAKE_MAGIC; in lan874x_get_wol()
366 wol->wolopts |= WAKE_ARP; in lan874x_get_wol()
368 wol->wolopts |= WAKE_MCAST; in lan874x_get_wol()
454 struct ethtool_wolinfo *wol) in lan874x_set_wol() argument
463 /* lan874x has only one WoL filter pattern */ in lan874x_set_wol()
464 if ((wol->wolopts & (WAKE_ARP | WAKE_MCAST)) == in lan874x_set_wol()
467 "lan874x WoL supports one of ARP|MCAST at a time\n"); in lan874x_set_wol()
477 if (wol->wolopts & WAKE_UCAST) in lan874x_set_wol()
482 if (wol->wolopts & WAKE_BCAST) in lan874x_set_wol()
487 if (wol->wolopts & WAKE_MAGIC) in lan874x_set_wol()
493 if (wol->wolopts & (WAKE_ARP | WAKE_MCAST)) in lan874x_set_wol()
498 if (wol->wolopts & WAKE_ARP) { in lan874x_set_wol()
518 if (wol->wolopts & WAKE_MCAST) { in lan874x_set_wol()
527 if (wol->wolopts & (WAKE_MAGIC | WAKE_UCAST)) { in lan874x_set_wol()
838 /* WoL */
875 /* WoL */