Lines Matching refs:wolopts
1333 if (wol->wolopts) { in netdev_set_wol()
1334 if (wol->wolopts & WAKE_PHY) options |= LinkUp; in netdev_set_wol()
1335 if (wol->wolopts & WAKE_MAGIC) options |= MagicPacket; in netdev_set_wol()
1345 if (wol->wolopts) { in netdev_set_wol()
1346 if (wol->wolopts & WAKE_UCAST) options |= UWF; in netdev_set_wol()
1347 if (wol->wolopts & WAKE_BCAST) options |= BWF; in netdev_set_wol()
1348 if (wol->wolopts & WAKE_MCAST) options |= MWF; in netdev_set_wol()
1353 cp->wol_enabled = (wol->wolopts) ? 1 : 0; in netdev_set_wol()
1364 wol->wolopts = 0; /* Start from scratch */ in netdev_get_wol()
1371 if (options & LinkUp) wol->wolopts |= WAKE_PHY; in netdev_get_wol()
1372 if (options & MagicPacket) wol->wolopts |= WAKE_MAGIC; in netdev_get_wol()
1376 if (options & UWF) wol->wolopts |= WAKE_UCAST; in netdev_get_wol()
1377 if (options & BWF) wol->wolopts |= WAKE_BCAST; in netdev_get_wol()
1378 if (options & MWF) wol->wolopts |= WAKE_MCAST; in netdev_get_wol()