Lines Matching full:wol
210 struct ethtool_wolinfo *wol) in dp83867_set_wol() argument
219 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83867_set_wol()
224 if (wol->wolopts & WAKE_MAGIC) { in dp83867_set_wol()
242 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83867_set_wol()
244 (wol->sopass[1] << 8) | wol->sopass[0]); in dp83867_set_wol()
246 (wol->sopass[3] << 8) | wol->sopass[2]); in dp83867_set_wol()
248 (wol->sopass[5] << 8) | wol->sopass[4]); in dp83867_set_wol()
255 if (wol->wolopts & WAKE_UCAST) in dp83867_set_wol()
260 if (wol->wolopts & WAKE_BCAST) in dp83867_set_wol()
276 struct ethtool_wolinfo *wol) in dp83867_get_wol() argument
280 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in dp83867_get_wol()
282 wol->wolopts = 0; in dp83867_get_wol()
287 wol->wolopts |= WAKE_UCAST; in dp83867_get_wol()
290 wol->wolopts |= WAKE_BCAST; in dp83867_get_wol()
293 wol->wolopts |= WAKE_MAGIC; in dp83867_get_wol()
298 wol->sopass[0] = (sopass_val & 0xff); in dp83867_get_wol()
299 wol->sopass[1] = (sopass_val >> 8); in dp83867_get_wol()
303 wol->sopass[2] = (sopass_val & 0xff); in dp83867_get_wol()
304 wol->sopass[3] = (sopass_val >> 8); in dp83867_get_wol()
308 wol->sopass[4] = (sopass_val & 0xff); in dp83867_get_wol()
309 wol->sopass[5] = (sopass_val >> 8); in dp83867_get_wol()
311 wol->wolopts |= WAKE_MAGICSECURE; in dp83867_get_wol()
315 wol->wolopts = 0; in dp83867_get_wol()