Lines Matching full:wol
16 struct ethtool_wolinfo *wol) in ngbe_get_wol() argument
22 wol->supported = WAKE_MAGIC; in ngbe_get_wol()
23 wol->wolopts = 0; in ngbe_get_wol()
24 if (wx->wol & WX_PSR_WKUP_CTL_MAG) in ngbe_get_wol()
25 wol->wolopts |= WAKE_MAGIC; in ngbe_get_wol()
29 struct ethtool_wolinfo *wol) in ngbe_set_wol() argument
37 wx->wol = 0; in ngbe_set_wol()
38 if (wol->wolopts & WAKE_MAGIC) in ngbe_set_wol()
39 wx->wol = WX_PSR_WKUP_CTL_MAG; in ngbe_set_wol()
40 netdev->ethtool->wol_enabled = !!(wx->wol); in ngbe_set_wol()
41 wr32(wx, WX_PSR_WKUP_CTL, wx->wol); in ngbe_set_wol()