Lines Matching refs:wol
955 adapter->wol = 0; in atl1_sw_init()
2790 u32 wufc = adapter->wol; in atl1_suspend()
2896 pci_wake_from_d3(pdev, adapter->wol); in atl1_shutdown()
3395 struct ethtool_wolinfo *wol) in atl1_get_wol() argument
3399 wol->supported = WAKE_MAGIC; in atl1_get_wol()
3400 wol->wolopts = 0; in atl1_get_wol()
3401 if (adapter->wol & ATLX_WUFC_MAG) in atl1_get_wol()
3402 wol->wolopts |= WAKE_MAGIC; in atl1_get_wol()
3406 struct ethtool_wolinfo *wol) in atl1_set_wol() argument
3410 if (wol->wolopts & (WAKE_PHY | WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in atl1_set_wol()
3413 adapter->wol = 0; in atl1_set_wol()
3414 if (wol->wolopts & WAKE_MAGIC) in atl1_set_wol()
3415 adapter->wol |= ATLX_WUFC_MAG; in atl1_set_wol()
3417 device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); in atl1_set_wol()