Lines Matching refs:wol
204 u32 wol; member
1013 struct ethtool_wolinfo *wol) in lan78xx_get_wol() argument
1025 wol->supported = 0; in lan78xx_get_wol()
1026 wol->wolopts = 0; in lan78xx_get_wol()
1029 wol->supported = WAKE_ALL; in lan78xx_get_wol()
1030 wol->wolopts = pdata->wol; in lan78xx_get_wol()
1032 wol->supported = 0; in lan78xx_get_wol()
1033 wol->wolopts = 0; in lan78xx_get_wol()
1041 struct ethtool_wolinfo *wol) in lan78xx_set_wol() argument
1051 if (wol->wolopts & ~WAKE_ALL) in lan78xx_set_wol()
1054 pdata->wol = wol->wolopts; in lan78xx_set_wol()
1056 device_set_wakeup_enable(&dev->udev->dev, (bool)wol->wolopts); in lan78xx_set_wol()
1058 phy_ethtool_set_wol(netdev->phydev, wol); in lan78xx_set_wol()
2225 pdata->wol = WAKE_MAGIC; in lan78xx_bind()
3021 static int lan78xx_set_suspend(struct lan78xx_net *dev, u32 wol) in lan78xx_set_suspend() argument
3055 if (wol & WAKE_PHY) { in lan78xx_set_suspend()
3062 if (wol & WAKE_MAGIC) { in lan78xx_set_suspend()
3069 if (wol & WAKE_BCAST) { in lan78xx_set_suspend()
3076 if (wol & WAKE_MCAST) { in lan78xx_set_suspend()
3111 if (wol & WAKE_UCAST) { in lan78xx_set_suspend()
3118 if (wol & WAKE_ARP) { in lan78xx_set_suspend()
3145 if (hweight_long((unsigned long)wol) > 1) { in lan78xx_set_suspend()
3249 lan78xx_set_suspend(dev, pdata->wol); in lan78xx_suspend()