Lines Matching full:wol
60 struct ethtool_wolinfo *wol) in at803x_set_wol() argument
64 if (wol->wolopts & WAKE_MAGIC) { in at803x_set_wol()
86 /* Enable WOL interrupt */ in at803x_set_wol()
91 /* Disable WOL interrupt */ in at803x_set_wol()
97 /* Clear WOL status */ in at803x_set_wol()
102 /* Check if there are other interrupts except for WOL triggered when PHY is in at803x_set_wol()
119 struct ethtool_wolinfo *wol) in at8031_set_wol() argument
123 /* First setup MAC address and enable WOL interrupt */ in at8031_set_wol()
124 ret = at803x_set_wol(phydev, wol); in at8031_set_wol()
128 if (wol->wolopts & WAKE_MAGIC) in at8031_set_wol()
129 /* Enable WOL function for 1588 */ in at8031_set_wol()
134 /* Disable WoL function for 1588 */ in at8031_set_wol()
144 struct ethtool_wolinfo *wol) in at803x_get_wol() argument
148 wol->supported = WAKE_MAGIC; in at803x_get_wol()
149 wol->wolopts = 0; in at803x_get_wol()
156 wol->wolopts |= WAKE_MAGIC; in at803x_get_wol()