Lines Matching refs:wol
400 struct ethtool_wolinfo *wol) in bcm_sysport_get_wol() argument
405 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE; in bcm_sysport_get_wol()
406 wol->wolopts = priv->wolopts; in bcm_sysport_get_wol()
413 put_unaligned_be16(reg, &wol->sopass[0]); in bcm_sysport_get_wol()
415 put_unaligned_be32(reg, &wol->sopass[2]); in bcm_sysport_get_wol()
419 struct ethtool_wolinfo *wol) in bcm_sysport_set_wol() argument
428 if (wol->wolopts & ~supported) in bcm_sysport_set_wol()
432 if (wol->wolopts & WAKE_MAGICSECURE) { in bcm_sysport_set_wol()
433 umac_writel(priv, get_unaligned_be16(&wol->sopass[0]), in bcm_sysport_set_wol()
435 umac_writel(priv, get_unaligned_be32(&wol->sopass[2]), in bcm_sysport_set_wol()
440 if (wol->wolopts) { in bcm_sysport_set_wol()
453 priv->wolopts = wol->wolopts; in bcm_sysport_set_wol()
854 netif_dbg(priv, wol, priv->netdev, "resumed from WOL\n"); in bcm_sysport_resume_from_wol()
1904 netif_err(priv, wol, ndev, "failed to enter WOL mode\n"); in bcm_sysport_suspend_to_wol()
1914 netif_dbg(priv, wol, ndev, "entered WOL mode\n"); in bcm_sysport_suspend_to_wol()