Lines Matching full:wol
211 struct ethtool_wolinfo *wol) in dp83869_set_wol() argument
226 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83869_set_wol()
231 if (wol->wolopts & WAKE_MAGIC || in dp83869_set_wol()
232 wol->wolopts & WAKE_MAGICSECURE) { in dp83869_set_wol()
261 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83869_set_wol()
264 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83869_set_wol()
270 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83869_set_wol()
275 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83869_set_wol()
284 if (wol->wolopts & WAKE_UCAST) in dp83869_set_wol()
289 if (wol->wolopts & WAKE_BCAST) in dp83869_set_wol()
306 struct ethtool_wolinfo *wol) in dp83869_get_wol() argument
310 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in dp83869_get_wol()
312 wol->wolopts = 0; in dp83869_get_wol()
321 wol->wolopts |= WAKE_UCAST; in dp83869_get_wol()
324 wol->wolopts |= WAKE_BCAST; in dp83869_get_wol()
327 wol->wolopts |= WAKE_MAGIC; in dp83869_get_wol()
337 wol->sopass[0] = (sopass_val & 0xff); in dp83869_get_wol()
338 wol->sopass[1] = (sopass_val >> 8); in dp83869_get_wol()
347 wol->sopass[2] = (sopass_val & 0xff); in dp83869_get_wol()
348 wol->sopass[3] = (sopass_val >> 8); in dp83869_get_wol()
357 wol->sopass[4] = (sopass_val & 0xff); in dp83869_get_wol()
358 wol->sopass[5] = (sopass_val >> 8); in dp83869_get_wol()
360 wol->wolopts |= WAKE_MAGICSECURE; in dp83869_get_wol()
364 wol->wolopts = 0; in dp83869_get_wol()