Lines Matching full:wol
246 struct ethtool_wolinfo *wol) in dp83869_set_wol() argument
261 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83869_set_wol()
266 if (wol->wolopts & WAKE_MAGIC || in dp83869_set_wol()
267 wol->wolopts & WAKE_MAGICSECURE) { in dp83869_set_wol()
296 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83869_set_wol()
299 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83869_set_wol()
305 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83869_set_wol()
310 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83869_set_wol()
319 if (wol->wolopts & WAKE_UCAST) in dp83869_set_wol()
324 if (wol->wolopts & WAKE_BCAST) in dp83869_set_wol()
341 struct ethtool_wolinfo *wol) in dp83869_get_wol() argument
345 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in dp83869_get_wol()
347 wol->wolopts = 0; in dp83869_get_wol()
356 wol->wolopts |= WAKE_UCAST; in dp83869_get_wol()
359 wol->wolopts |= WAKE_BCAST; in dp83869_get_wol()
362 wol->wolopts |= WAKE_MAGIC; in dp83869_get_wol()
372 wol->sopass[0] = (sopass_val & 0xff); in dp83869_get_wol()
373 wol->sopass[1] = (sopass_val >> 8); in dp83869_get_wol()
382 wol->sopass[2] = (sopass_val & 0xff); in dp83869_get_wol()
383 wol->sopass[3] = (sopass_val >> 8); in dp83869_get_wol()
392 wol->sopass[4] = (sopass_val & 0xff); in dp83869_get_wol()
393 wol->sopass[5] = (sopass_val >> 8); in dp83869_get_wol()
395 wol->wolopts |= WAKE_MAGICSECURE; in dp83869_get_wol()
399 wol->wolopts = 0; in dp83869_get_wol()