Lines Matching refs:options
1330 u8 options; in netdev_set_wol() local
1332 options = cpr8 (Config3) & ~(LinkUp | MagicPacket); in netdev_set_wol()
1335 if (wol->wolopts & WAKE_PHY) options |= LinkUp; in netdev_set_wol()
1336 if (wol->wolopts & WAKE_MAGIC) options |= MagicPacket; in netdev_set_wol()
1340 cpw8 (Config3, options); in netdev_set_wol()
1343 options = 0; /* Paranoia setting */ in netdev_set_wol()
1344 options = cpr8 (Config5) & ~(UWF | MWF | BWF); in netdev_set_wol()
1347 if (wol->wolopts & WAKE_UCAST) options |= UWF; in netdev_set_wol()
1348 if (wol->wolopts & WAKE_BCAST) options |= BWF; in netdev_set_wol()
1349 if (wol->wolopts & WAKE_MCAST) options |= MWF; in netdev_set_wol()
1352 cpw8 (Config5, options); in netdev_set_wol()
1363 u8 options; in netdev_get_wol() local
1371 options = cpr8 (Config3); in netdev_get_wol()
1372 if (options & LinkUp) wol->wolopts |= WAKE_PHY; in netdev_get_wol()
1373 if (options & MagicPacket) wol->wolopts |= WAKE_MAGIC; in netdev_get_wol()
1375 options = 0; /* Paranoia setting */ in netdev_get_wol()
1376 options = cpr8 (Config5); in netdev_get_wol()
1377 if (options & UWF) wol->wolopts |= WAKE_UCAST; in netdev_get_wol()
1378 if (options & BWF) wol->wolopts |= WAKE_BCAST; in netdev_get_wol()
1379 if (options & MWF) wol->wolopts |= WAKE_MCAST; in netdev_get_wol()