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()
3394 struct ethtool_wolinfo *wol) in atl1_get_wol() argument
3398 wol->supported = WAKE_MAGIC; in atl1_get_wol()
3399 wol->wolopts = 0; in atl1_get_wol()
3400 if (adapter->wol & ATLX_WUFC_MAG) in atl1_get_wol()
3401 wol->wolopts |= WAKE_MAGIC; in atl1_get_wol()
3405 struct ethtool_wolinfo *wol) in atl1_set_wol() argument
3409 if (wol->wolopts & (WAKE_PHY | WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in atl1_set_wol()
3412 adapter->wol = 0; in atl1_set_wol()
3413 if (wol->wolopts & WAKE_MAGIC) in atl1_set_wol()
3414 adapter->wol |= ATLX_WUFC_MAG; in atl1_set_wol()
3416 device_set_wakeup_enable(&adapter->pdev->dev, adapter->wol); in atl1_set_wol()