Lines Matching refs:wol
401 struct ethtool_wolinfo *wol) in bcm_sysport_get_wol() argument
406 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE; in bcm_sysport_get_wol()
407 wol->wolopts = priv->wolopts; in bcm_sysport_get_wol()
414 put_unaligned_be16(reg, &wol->sopass[0]); in bcm_sysport_get_wol()
416 put_unaligned_be32(reg, &wol->sopass[2]); in bcm_sysport_get_wol()
420 struct ethtool_wolinfo *wol) in bcm_sysport_set_wol() argument
429 if (wol->wolopts & ~supported) in bcm_sysport_set_wol()
433 if (wol->wolopts & WAKE_MAGICSECURE) { in bcm_sysport_set_wol()
434 umac_writel(priv, get_unaligned_be16(&wol->sopass[0]), in bcm_sysport_set_wol()
436 umac_writel(priv, get_unaligned_be32(&wol->sopass[2]), in bcm_sysport_set_wol()
441 if (wol->wolopts) { in bcm_sysport_set_wol()
454 priv->wolopts = wol->wolopts; in bcm_sysport_set_wol()
790 netif_dbg(priv, wol, priv->netdev, "resumed from WOL\n"); in bcm_sysport_resume_from_wol()
1815 netif_err(priv, wol, ndev, "failed to enter WOL mode\n"); in bcm_sysport_suspend_to_wol()
1825 netif_dbg(priv, wol, ndev, "entered WOL mode\n"); in bcm_sysport_suspend_to_wol()