wolopts           750 drivers/net/dsa/bcm_sf2.c 	if (pwol.wolopts & WAKE_MAGICSECURE)
wolopts           754 drivers/net/dsa/bcm_sf2.c 		wol->wolopts = pwol.wolopts;
wolopts           756 drivers/net/dsa/bcm_sf2.c 		wol->wolopts = 0;
wolopts           769 drivers/net/dsa/bcm_sf2.c 	if (wol->wolopts & ~pwol.supported)
wolopts           772 drivers/net/dsa/bcm_sf2.c 	if (wol->wolopts)
wolopts          2983 drivers/net/ethernet/3com/3c59x.c 	wol->wolopts = 0;
wolopts          2985 drivers/net/ethernet/3com/3c59x.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          2995 drivers/net/ethernet/3com/3c59x.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          2998 drivers/net/ethernet/3com/3c59x.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          1116 drivers/net/ethernet/3com/typhoon.c 	wol->wolopts = 0;
wolopts          1118 drivers/net/ethernet/3com/typhoon.c 		wol->wolopts |= WAKE_PHY;
wolopts          1120 drivers/net/ethernet/3com/typhoon.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          1129 drivers/net/ethernet/3com/typhoon.c 	if(wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
wolopts          1133 drivers/net/ethernet/3com/typhoon.c 	if(wol->wolopts & WAKE_PHY)
wolopts          1135 drivers/net/ethernet/3com/typhoon.c 	if(wol->wolopts & WAKE_MAGIC)
wolopts          1425 drivers/net/ethernet/amd/amd8111e.c 		wol_info->wolopts = WAKE_MAGIC;
wolopts          1431 drivers/net/ethernet/amd/amd8111e.c 	if (wol_info->wolopts & ~(WAKE_MAGIC|WAKE_PHY))
wolopts          1434 drivers/net/ethernet/amd/amd8111e.c 	if (wol_info->wolopts & WAKE_MAGIC)
wolopts          1437 drivers/net/ethernet/amd/amd8111e.c 	else if(wol_info->wolopts & WAKE_PHY)
wolopts           357 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	wol->wolopts = 0;
wolopts           360 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           371 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           375 drivers/net/ethernet/aquantia/atlantic/aq_ethtool.c 	err = device_set_wakeup_enable(&pdev->dev, wol->wolopts);
wolopts           236 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	wol->wolopts = 0;
wolopts           239 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts           241 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts           243 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts           245 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           247 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 		wol->wolopts |= WAKE_PHY;
wolopts           254 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE |
wolopts           260 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           262 drivers/net/ethernet/atheros/atl1c/atl1c_ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts           323 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	wol->wolopts = 0;
wolopts           326 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts           328 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts           330 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts           332 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           334 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 		wol->wolopts |= WAKE_PHY;
wolopts           341 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE |
wolopts           347 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           349 drivers/net/ethernet/atheros/atl1e/atl1e_ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts          3359 drivers/net/ethernet/atheros/atlx/atl1.c 	wol->wolopts = 0;
wolopts          3361 drivers/net/ethernet/atheros/atlx/atl1.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          3369 drivers/net/ethernet/atheros/atlx/atl1.c 	if (wol->wolopts & (WAKE_PHY | WAKE_UCAST | WAKE_MCAST | WAKE_BCAST |
wolopts          3373 drivers/net/ethernet/atheros/atlx/atl1.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2027 drivers/net/ethernet/atheros/atlx/atl2.c 	wol->wolopts = 0;
wolopts          2030 drivers/net/ethernet/atheros/atlx/atl2.c 		wol->wolopts |= WAKE_UCAST;
wolopts          2032 drivers/net/ethernet/atheros/atlx/atl2.c 		wol->wolopts |= WAKE_MCAST;
wolopts          2034 drivers/net/ethernet/atheros/atlx/atl2.c 		wol->wolopts |= WAKE_BCAST;
wolopts          2036 drivers/net/ethernet/atheros/atlx/atl2.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          2038 drivers/net/ethernet/atheros/atlx/atl2.c 		wol->wolopts |= WAKE_PHY;
wolopts          2045 drivers/net/ethernet/atheros/atlx/atl2.c 	if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE))
wolopts          2048 drivers/net/ethernet/atheros/atlx/atl2.c 	if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST))
wolopts          2054 drivers/net/ethernet/atheros/atlx/atl2.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2056 drivers/net/ethernet/atheros/atlx/atl2.c 	if (wol->wolopts & WAKE_PHY)
wolopts          2099 drivers/net/ethernet/broadcom/b44.c 		wol->wolopts = WAKE_MAGIC;
wolopts          2101 drivers/net/ethernet/broadcom/b44.c 		wol->wolopts = 0;
wolopts          2110 drivers/net/ethernet/broadcom/b44.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2116 drivers/net/ethernet/broadcom/b44.c 	device_set_wakeup_enable(bp->sdev->dev, wol->wolopts & WAKE_MAGIC);
wolopts           517 drivers/net/ethernet/broadcom/bcmsysport.c 	wol->wolopts = priv->wolopts;
wolopts           519 drivers/net/ethernet/broadcom/bcmsysport.c 	if (!(priv->wolopts & WAKE_MAGICSECURE))
wolopts           535 drivers/net/ethernet/broadcom/bcmsysport.c 	if (wol->wolopts & ~supported)
wolopts           538 drivers/net/ethernet/broadcom/bcmsysport.c 	if (wol->wolopts & WAKE_MAGICSECURE)
wolopts           542 drivers/net/ethernet/broadcom/bcmsysport.c 	if (wol->wolopts) {
wolopts           555 drivers/net/ethernet/broadcom/bcmsysport.c 	priv->wolopts = wol->wolopts;
wolopts          2600 drivers/net/ethernet/broadcom/bcmsysport.c 	if (priv->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE))
wolopts          2603 drivers/net/ethernet/broadcom/bcmsysport.c 	if (priv->wolopts & WAKE_MAGICSECURE) {
wolopts          2613 drivers/net/ethernet/broadcom/bcmsysport.c 	if (priv->wolopts & WAKE_FILTER) {
wolopts          2692 drivers/net/ethernet/broadcom/bcmsysport.c 	if (!priv->wolopts)
wolopts          2714 drivers/net/ethernet/broadcom/bcmsysport.c 	if (device_may_wakeup(d) && priv->wolopts)
wolopts           770 drivers/net/ethernet/broadcom/bcmsysport.h 	u32			wolopts;
wolopts          7123 drivers/net/ethernet/broadcom/bnx2.c 		wol->wolopts = 0;
wolopts          7128 drivers/net/ethernet/broadcom/bnx2.c 			wol->wolopts = WAKE_MAGIC;
wolopts          7130 drivers/net/ethernet/broadcom/bnx2.c 			wol->wolopts = 0;
wolopts          7140 drivers/net/ethernet/broadcom/bnx2.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          7143 drivers/net/ethernet/broadcom/bnx2.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts          1153 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 		wol->wolopts = 0;
wolopts          1157 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 			wol->wolopts = WAKE_MAGIC;
wolopts          1159 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 			wol->wolopts = 0;
wolopts          1168 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC) {
wolopts          1173 drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts          1255 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	wol->wolopts = 0;
wolopts          1260 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 			wol->wolopts = WAKE_MAGIC;
wolopts          1268 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          1271 drivers/net/ethernet/broadcom/bnxt/bnxt_ethtool.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts          3637 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	if (priv->wolopts)
wolopts          3654 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	if (priv->wolopts)
wolopts          3706 drivers/net/ethernet/broadcom/genet/bcmgenet.c 	if (device_may_wakeup(d) && priv->wolopts) {
wolopts           676 drivers/net/ethernet/broadcom/genet/bcmgenet.h 	u32 wolopts;
wolopts            47 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c 	wol->wolopts = priv->wolopts;
wolopts            50 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c 	if (wol->wolopts & WAKE_MAGICSECURE) {
wolopts            70 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c 	if (wol->wolopts & ~(WAKE_MAGIC | WAKE_MAGICSECURE))
wolopts            74 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c 	if (wol->wolopts & WAKE_MAGICSECURE) {
wolopts            86 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c 	if (wol->wolopts) {
wolopts           100 drivers/net/ethernet/broadcom/genet/bcmgenet_wol.c 	priv->wolopts = wol->wolopts;
wolopts          12335 drivers/net/ethernet/broadcom/tg3.c 	wol->wolopts = 0;
wolopts          12337 drivers/net/ethernet/broadcom/tg3.c 		wol->wolopts = WAKE_MAGIC;
wolopts          12346 drivers/net/ethernet/broadcom/tg3.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          12348 drivers/net/ethernet/broadcom/tg3.c 	if ((wol->wolopts & WAKE_MAGIC) &&
wolopts          12352 drivers/net/ethernet/broadcom/tg3.c 	device_set_wakeup_enable(dp, wol->wolopts & WAKE_MAGIC);
wolopts           308 drivers/net/ethernet/brocade/bna/bnad_ethtool.c 	wolinfo->wolopts = 0;
wolopts          2709 drivers/net/ethernet/cadence/macb_main.c 	wol->wolopts = 0;
wolopts          2715 drivers/net/ethernet/cadence/macb_main.c 			wol->wolopts |= WAKE_MAGIC;
wolopts          2724 drivers/net/ethernet/cadence/macb_main.c 	    (wol->wolopts & ~WAKE_MAGIC))
wolopts          2727 drivers/net/ethernet/cadence/macb_main.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           382 drivers/net/ethernet/calxeda/xgmac.c 	int wolopts;
wolopts          1642 drivers/net/ethernet/calxeda/xgmac.c 		wol->wolopts = priv->wolopts;
wolopts          1655 drivers/net/ethernet/calxeda/xgmac.c 	if (wol->wolopts & ~support)
wolopts          1658 drivers/net/ethernet/calxeda/xgmac.c 	priv->wolopts = wol->wolopts;
wolopts          1660 drivers/net/ethernet/calxeda/xgmac.c 	if (wol->wolopts) {
wolopts          1772 drivers/net/ethernet/calxeda/xgmac.c 		priv->wolopts = WAKE_MAGIC;	/* Magic Frame as default */
wolopts          1875 drivers/net/ethernet/calxeda/xgmac.c 		xgmac_pmt(priv->base, priv->wolopts);
wolopts          2104 drivers/net/ethernet/chelsio/cxgb3/cxgb3_main.c 	wol->wolopts = 0;
wolopts          1912 drivers/net/ethernet/chelsio/cxgb4vf/cxgb4vf_main.c 	wol->wolopts = 0;
wolopts           696 drivers/net/ethernet/davicom/dm9000.c 	w->wolopts = dm->wake_state;
wolopts           703 drivers/net/ethernet/davicom/dm9000.c 	u32 opts = w->wolopts;
wolopts          1093 drivers/net/ethernet/dec/tulip/dmfe.c 	if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST |
wolopts          1097 drivers/net/ethernet/dec/tulip/dmfe.c 	db->wol_mode = wolinfo->wolopts;
wolopts          1107 drivers/net/ethernet/dec/tulip/dmfe.c 	wolinfo->wolopts = db->wol_mode;
wolopts           270 drivers/net/ethernet/dec/tulip/tulip_core.c static void tulip_set_wolopts(struct pci_dev *pdev, u32 wolopts);
wolopts           881 drivers/net/ethernet/dec/tulip/tulip_core.c 	if (wolinfo->wolopts & (~tp->wolinfo.supported))
wolopts           884 drivers/net/ethernet/dec/tulip/tulip_core.c 	tp->wolinfo.wolopts = wolinfo->wolopts;
wolopts           885 drivers/net/ethernet/dec/tulip/tulip_core.c 	device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts);
wolopts           895 drivers/net/ethernet/dec/tulip/tulip_core.c 	wolinfo->wolopts = tp->wolinfo.wolopts;
wolopts          1455 drivers/net/ethernet/dec/tulip/tulip_core.c 	tp->wolinfo.wolopts = 0;
wolopts          1796 drivers/net/ethernet/dec/tulip/tulip_core.c static void tulip_set_wolopts (struct pci_dev *pdev, u32 wolopts)
wolopts          1814 drivers/net/ethernet/dec/tulip/tulip_core.c 		if (wolopts & WAKE_MAGIC)
wolopts          1816 drivers/net/ethernet/dec/tulip/tulip_core.c 		if (wolopts & WAKE_PHY)
wolopts          1852 drivers/net/ethernet/dec/tulip/tulip_core.c 		tulip_set_wolopts(pdev, tp->wolinfo.wolopts);
wolopts          1853 drivers/net/ethernet/dec/tulip/tulip_core.c 		rc = pci_enable_wake(pdev, pstate, tp->wolinfo.wolopts);
wolopts          1001 drivers/net/ethernet/dec/tulip/uli526x.c 	wol->wolopts = 0;
wolopts          1754 drivers/net/ethernet/dlink/sundance.c 	wol->wolopts = 0;
wolopts          1762 drivers/net/ethernet/dlink/sundance.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          1764 drivers/net/ethernet/dlink/sundance.c 		wol->wolopts |= WAKE_PHY;
wolopts          1777 drivers/net/ethernet/dlink/sundance.c 	np->wol_enabled = !!(wol->wolopts);
wolopts          1783 drivers/net/ethernet/dlink/sundance.c 		if (wol->wolopts & WAKE_MAGIC)
wolopts          1785 drivers/net/ethernet/dlink/sundance.c 		if (wol->wolopts & WAKE_PHY)
wolopts           790 drivers/net/ethernet/emulex/benet/be_ethtool.c 			wol->wolopts |= WAKE_MAGIC;
wolopts           792 drivers/net/ethernet/emulex/benet/be_ethtool.c 		wol->wolopts = 0;
wolopts           806 drivers/net/ethernet/emulex/benet/be_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts           821 drivers/net/ethernet/emulex/benet/be_ethtool.c 	enable = wol->wolopts & WAKE_MAGIC;
wolopts          2666 drivers/net/ethernet/freescale/fec_main.c 		wol->wolopts = fep->wol_flag & FEC_WOL_FLAG_ENABLE ? WAKE_MAGIC : 0;
wolopts          2668 drivers/net/ethernet/freescale/fec_main.c 		wol->supported = wol->wolopts = 0;
wolopts          2680 drivers/net/ethernet/freescale/fec_main.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          2683 drivers/net/ethernet/freescale/fec_main.c 	device_set_wakeup_enable(&ndev->dev, wol->wolopts & WAKE_MAGIC);
wolopts           581 drivers/net/ethernet/freescale/gianfar_ethtool.c 	wol->wolopts = 0;
wolopts           590 drivers/net/ethernet/freescale/gianfar_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           593 drivers/net/ethernet/freescale/gianfar_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts           602 drivers/net/ethernet/freescale/gianfar_ethtool.c 	if (!priv->wol_supported && wol->wolopts)
wolopts           605 drivers/net/ethernet/freescale/gianfar_ethtool.c 	if (wol->wolopts & ~(WAKE_MAGIC | WAKE_UCAST))
wolopts           608 drivers/net/ethernet/freescale/gianfar_ethtool.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts           611 drivers/net/ethernet/freescale/gianfar_ethtool.c 		if (wol->wolopts & WAKE_UCAST)
wolopts           354 drivers/net/ethernet/freescale/ucc_geth_ethtool.c 	wol->wolopts = ugeth->wol_en;
wolopts           362 drivers/net/ethernet/freescale/ucc_geth_ethtool.c 	if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
wolopts           364 drivers/net/ethernet/freescale/ucc_geth_ethtool.c 	else if (wol->wolopts & WAKE_PHY && (!phydev || !phydev->irq))
wolopts           366 drivers/net/ethernet/freescale/ucc_geth_ethtool.c 	else if (wol->wolopts & WAKE_MAGIC && !qe_alive_during_sleep())
wolopts           369 drivers/net/ethernet/freescale/ucc_geth_ethtool.c 	ugeth->wol_en = wol->wolopts;
wolopts          2470 drivers/net/ethernet/intel/e100.c 	wol->wolopts = (nic->flags & wol_magic) ? WAKE_MAGIC : 0;
wolopts          2477 drivers/net/ethernet/intel/e100.c 	if ((wol->wolopts && wol->wolopts != WAKE_MAGIC) ||
wolopts          2481 drivers/net/ethernet/intel/e100.c 	if (wol->wolopts)
wolopts          2486 drivers/net/ethernet/intel/e100.c 	device_set_wakeup_enable(&nic->pdev->dev, wol->wolopts);
wolopts          1643 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	wol->wolopts = 0;
wolopts          1667 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts          1669 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts          1671 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts          1673 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          1681 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE))
wolopts          1686 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		return wol->wolopts ? -EOPNOTSUPP : 0;
wolopts          1690 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 		if (wol->wolopts & WAKE_UCAST) {
wolopts          1703 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts          1705 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts          1707 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts          1709 drivers/net/ethernet/intel/e1000/e1000_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          1887 drivers/net/ethernet/intel/e1000e/ethtool.c 	wol->wolopts = 0;
wolopts          1905 drivers/net/ethernet/intel/e1000e/ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts          1907 drivers/net/ethernet/intel/e1000e/ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts          1909 drivers/net/ethernet/intel/e1000e/ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts          1911 drivers/net/ethernet/intel/e1000e/ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          1913 drivers/net/ethernet/intel/e1000e/ethtool.c 		wol->wolopts |= WAKE_PHY;
wolopts          1922 drivers/net/ethernet/intel/e1000e/ethtool.c 	    (wol->wolopts & ~(WAKE_UCAST | WAKE_MCAST | WAKE_BCAST |
wolopts          1929 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts          1931 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts          1933 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts          1935 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          1937 drivers/net/ethernet/intel/e1000e/ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts          2612 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		wol->wolopts = 0;
wolopts          2615 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0);
wolopts          2647 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          2651 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 	if (pf->wol_en != !!wol->wolopts) {
wolopts          2652 drivers/net/ethernet/intel/i40e/i40e_ethtool.c 		pf->wol_en = !!wol->wolopts;
wolopts          2088 drivers/net/ethernet/intel/igb/igb_ethtool.c 	wol->wolopts = 0;
wolopts          2104 drivers/net/ethernet/intel/igb/igb_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts          2106 drivers/net/ethernet/intel/igb/igb_ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts          2108 drivers/net/ethernet/intel/igb/igb_ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts          2110 drivers/net/ethernet/intel/igb/igb_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          2112 drivers/net/ethernet/intel/igb/igb_ethtool.c 		wol->wolopts |= WAKE_PHY;
wolopts          2119 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | WAKE_FILTER))
wolopts          2123 drivers/net/ethernet/intel/igb/igb_ethtool.c 		return wol->wolopts ? -EOPNOTSUPP : 0;
wolopts          2128 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts          2130 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts          2132 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts          2134 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2136 drivers/net/ethernet/intel/igb/igb_ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts           309 drivers/net/ethernet/intel/igbvf/ethtool.c 	wol->wolopts = 0;
wolopts          2189 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	wol->wolopts = 0;
wolopts          2196 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts          2198 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts          2200 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts          2202 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          2209 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE |
wolopts          2214 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 		return wol->wolopts ? -EOPNOTSUPP : 0;
wolopts          2218 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts          2220 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts          2222 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts          2224 drivers/net/ethernet/intel/ixgbe/ixgbe_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2555 drivers/net/ethernet/jme.c 	wol->wolopts = 0;
wolopts          2558 drivers/net/ethernet/jme.c 		wol->wolopts |= WAKE_PHY;
wolopts          2561 drivers/net/ethernet/jme.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          2571 drivers/net/ethernet/jme.c 	if (wol->wolopts & (WAKE_MAGICSECURE |
wolopts          2580 drivers/net/ethernet/jme.c 	if (wol->wolopts & WAKE_PHY)
wolopts          2583 drivers/net/ethernet/jme.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          1547 drivers/net/ethernet/marvell/mv643xx_eth.c 	wol->wolopts = 0;
wolopts          4290 drivers/net/ethernet/marvell/mvneta.c 		device_set_wakeup_enable(&dev->dev, !!wol->wolopts);
wolopts           240 drivers/net/ethernet/marvell/skge.c 	wol->wolopts = skge->wol;
wolopts           248 drivers/net/ethernet/marvell/skge.c 	if ((wol->wolopts & ~wol_supported(hw)) ||
wolopts           252 drivers/net/ethernet/marvell/skge.c 	skge->wol = wol->wolopts;
wolopts          3530 drivers/net/ethernet/marvell/sky2.c 	wol->wolopts = sky2->wol;
wolopts          3540 drivers/net/ethernet/marvell/sky2.c 	if ((wol->wolopts & ~sky2_wol_supported(sky2->hw)) ||
wolopts          3544 drivers/net/ethernet/marvell/sky2.c 	sky2->wol = wol->wolopts;
wolopts           245 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		wol->wolopts = 0;
wolopts           261 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		wol->wolopts = WAKE_MAGIC;
wolopts           263 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 		wol->wolopts = 0;
wolopts           292 drivers/net/ethernet/mellanox/mlx4/en_ethtool.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts          1495 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	wol->wolopts = mlx5e_reformat_wol_mode_mlx5_to_linux(mlx5_wol_mode);
wolopts          1508 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	if (wol->wolopts & ~wol_supported)
wolopts          1511 drivers/net/ethernet/mellanox/mlx5/core/en_ethtool.c 	mlx5_wol_mode = mlx5e_reformat_wol_mode_linux_to_mlx5(wol->wolopts);
wolopts          6175 drivers/net/ethernet/micrel/ksz884x.c 	wol->wolopts = hw_priv->wol_enable;
wolopts          6197 drivers/net/ethernet/micrel/ksz884x.c 	if (wol->wolopts & ~hw_priv->wol_support)
wolopts          6200 drivers/net/ethernet/micrel/ksz884x.c 	hw_priv->wol_enable = wol->wolopts;
wolopts          6203 drivers/net/ethernet/micrel/ksz884x.c 	if (wol->wolopts)
wolopts           782 drivers/net/ethernet/microchip/lan743x_ethtool.c 	wol->wolopts = 0;
wolopts           788 drivers/net/ethernet/microchip/lan743x_ethtool.c 	wol->wolopts |= adapter->wolopts;
wolopts           796 drivers/net/ethernet/microchip/lan743x_ethtool.c 	adapter->wolopts = 0;
wolopts           797 drivers/net/ethernet/microchip/lan743x_ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts           798 drivers/net/ethernet/microchip/lan743x_ethtool.c 		adapter->wolopts |= WAKE_UCAST;
wolopts           799 drivers/net/ethernet/microchip/lan743x_ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts           800 drivers/net/ethernet/microchip/lan743x_ethtool.c 		adapter->wolopts |= WAKE_MCAST;
wolopts           801 drivers/net/ethernet/microchip/lan743x_ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts           802 drivers/net/ethernet/microchip/lan743x_ethtool.c 		adapter->wolopts |= WAKE_BCAST;
wolopts           803 drivers/net/ethernet/microchip/lan743x_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           804 drivers/net/ethernet/microchip/lan743x_ethtool.c 		adapter->wolopts |= WAKE_MAGIC;
wolopts           805 drivers/net/ethernet/microchip/lan743x_ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts           806 drivers/net/ethernet/microchip/lan743x_ethtool.c 		adapter->wolopts |= WAKE_PHY;
wolopts           807 drivers/net/ethernet/microchip/lan743x_ethtool.c 	if (wol->wolopts & WAKE_ARP)
wolopts           808 drivers/net/ethernet/microchip/lan743x_ethtool.c 		adapter->wolopts |= WAKE_ARP;
wolopts           810 drivers/net/ethernet/microchip/lan743x_ethtool.c 	device_set_wakeup_enable(&adapter->pdev->dev, (bool)wol->wolopts);
wolopts          2893 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts & WAKE_PHY) {
wolopts          2897 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts & WAKE_MAGIC) {
wolopts          2902 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts & WAKE_UCAST) {
wolopts          2908 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts & WAKE_BCAST) {
wolopts          2914 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts & WAKE_MCAST) {
wolopts          2944 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts & WAKE_ARP) {
wolopts          2984 drivers/net/ethernet/microchip/lan743x_main.c 	if (adapter->wolopts)
wolopts           703 drivers/net/ethernet/microchip/lan743x_main.h 	u32			wolopts;
wolopts          2612 drivers/net/ethernet/natsemi/natsemi.c 	netdev_get_wol(dev, &wol->supported, &wol->wolopts);
wolopts          2622 drivers/net/ethernet/natsemi/natsemi.c 	netdev_set_wol(dev, wol->wolopts);
wolopts          4272 drivers/net/ethernet/nvidia/forcedeth.c 		wolinfo->wolopts = WAKE_MAGIC;
wolopts          4282 drivers/net/ethernet/nvidia/forcedeth.c 	if (wolinfo->wolopts == 0) {
wolopts          4284 drivers/net/ethernet/nvidia/forcedeth.c 	} else if (wolinfo->wolopts & WAKE_MAGIC) {
wolopts           212 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	wol->wolopts = 0;
wolopts           215 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts           217 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts           219 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts           221 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           237 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	if ((wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE)))
wolopts           242 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	if ((wol->wolopts & WAKE_UCAST))
wolopts           244 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	if ((wol->wolopts & WAKE_MCAST))
wolopts           246 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	if ((wol->wolopts & WAKE_BCAST))
wolopts           248 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_ethtool.c 	if ((wol->wolopts & WAKE_MAGIC))
wolopts           688 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	wol->wolopts = 0;
wolopts           699 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           711 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts           719 drivers/net/ethernet/qlogic/netxen/netxen_nic_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           707 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 		wol->wolopts = edev->wol_enabled ? WAKE_MAGIC : 0;
wolopts           717 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC) {
wolopts           723 drivers/net/ethernet/qlogic/qede/qede_ethtool.c 	wol_requested = !!(wol->wolopts & WAKE_MAGIC);
wolopts          1480 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	wol->wolopts = 0;
wolopts          1490 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          1502 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          1514 drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          1333 drivers/net/ethernet/realtek/8139cp.c 	if (wol->wolopts) {
wolopts          1334 drivers/net/ethernet/realtek/8139cp.c 		if (wol->wolopts & WAKE_PHY)	options |= LinkUp;
wolopts          1335 drivers/net/ethernet/realtek/8139cp.c 		if (wol->wolopts & WAKE_MAGIC)	options |= MagicPacket;
wolopts          1345 drivers/net/ethernet/realtek/8139cp.c 	if (wol->wolopts) {
wolopts          1346 drivers/net/ethernet/realtek/8139cp.c 		if (wol->wolopts & WAKE_UCAST)  options |= UWF;
wolopts          1347 drivers/net/ethernet/realtek/8139cp.c 		if (wol->wolopts & WAKE_BCAST)	options |= BWF;
wolopts          1348 drivers/net/ethernet/realtek/8139cp.c 		if (wol->wolopts & WAKE_MCAST)	options |= MWF;
wolopts          1353 drivers/net/ethernet/realtek/8139cp.c 	cp->wol_enabled = (wol->wolopts) ? 1 : 0;
wolopts          1364 drivers/net/ethernet/realtek/8139cp.c 	wol->wolopts   = 0; /* Start from scratch */
wolopts          1371 drivers/net/ethernet/realtek/8139cp.c 	if (options & LinkUp)        wol->wolopts |= WAKE_PHY;
wolopts          1372 drivers/net/ethernet/realtek/8139cp.c 	if (options & MagicPacket)   wol->wolopts |= WAKE_MAGIC;
wolopts          1376 drivers/net/ethernet/realtek/8139cp.c 	if (options & UWF)           wol->wolopts |= WAKE_UCAST;
wolopts          1377 drivers/net/ethernet/realtek/8139cp.c 	if (options & BWF)           wol->wolopts |= WAKE_BCAST;
wolopts          1378 drivers/net/ethernet/realtek/8139cp.c 	if (options & MWF)           wol->wolopts |= WAKE_MCAST;
wolopts          2318 drivers/net/ethernet/realtek/8139too.c 		wol->wolopts = 0;
wolopts          2320 drivers/net/ethernet/realtek/8139too.c 			wol->wolopts |= WAKE_PHY;
wolopts          2322 drivers/net/ethernet/realtek/8139too.c 			wol->wolopts |= WAKE_MAGIC;
wolopts          2326 drivers/net/ethernet/realtek/8139too.c 			wol->wolopts |= WAKE_UCAST;
wolopts          2328 drivers/net/ethernet/realtek/8139too.c 			wol->wolopts |= WAKE_MCAST;
wolopts          2330 drivers/net/ethernet/realtek/8139too.c 			wol->wolopts |= WAKE_BCAST;
wolopts          2350 drivers/net/ethernet/realtek/8139too.c 	if (wol->wolopts & ~support)
wolopts          2355 drivers/net/ethernet/realtek/8139too.c 	if (wol->wolopts & WAKE_PHY)
wolopts          2357 drivers/net/ethernet/realtek/8139too.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2367 drivers/net/ethernet/realtek/8139too.c 	if (wol->wolopts & WAKE_UCAST)
wolopts          2369 drivers/net/ethernet/realtek/8139too.c 	if (wol->wolopts & WAKE_MCAST)
wolopts          2371 drivers/net/ethernet/realtek/8139too.c 	if (wol->wolopts & WAKE_BCAST)
wolopts          1452 drivers/net/ethernet/realtek/r8169_main.c 	wol->wolopts = tp->saved_wolopts;
wolopts          1456 drivers/net/ethernet/realtek/r8169_main.c static void __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts)
wolopts          1477 drivers/net/ethernet/realtek/r8169_main.c 		if (wolopts & WAKE_MAGIC)
wolopts          1485 drivers/net/ethernet/realtek/r8169_main.c 		if (wolopts & WAKE_MAGIC)
wolopts          1493 drivers/net/ethernet/realtek/r8169_main.c 		if (wolopts & cfg[i].opt)
wolopts          1501 drivers/net/ethernet/realtek/r8169_main.c 		if (wolopts)
wolopts          1509 drivers/net/ethernet/realtek/r8169_main.c 		if (wolopts)
wolopts          1519 drivers/net/ethernet/realtek/r8169_main.c 	device_set_wakeup_enable(tp_to_dev(tp), wolopts);
wolopts          1520 drivers/net/ethernet/realtek/r8169_main.c 	tp->dev->wol_enabled = wolopts ? 1 : 0;
wolopts          1528 drivers/net/ethernet/realtek/r8169_main.c 	if (wol->wolopts & ~WAKE_ANY)
wolopts          1535 drivers/net/ethernet/realtek/r8169_main.c 	tp->saved_wolopts = wol->wolopts;
wolopts          1288 drivers/net/ethernet/renesas/ravb_main.c 	wol->wolopts = priv->wol_enabled ? WAKE_MAGIC : 0;
wolopts          1295 drivers/net/ethernet/renesas/ravb_main.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          1298 drivers/net/ethernet/renesas/ravb_main.c 	priv->wol_enabled = !!(wol->wolopts & WAKE_MAGIC);
wolopts          2398 drivers/net/ethernet/renesas/sh_eth.c 	wol->wolopts = 0;
wolopts          2402 drivers/net/ethernet/renesas/sh_eth.c 		wol->wolopts = mdp->wol_enabled ? WAKE_MAGIC : 0;
wolopts          2410 drivers/net/ethernet/renesas/sh_eth.c 	if (!mdp->cd->magic || wol->wolopts & ~WAKE_MAGIC)
wolopts          2413 drivers/net/ethernet/renesas/sh_eth.c 	mdp->wol_enabled = !!(wol->wolopts & WAKE_MAGIC);
wolopts          2129 drivers/net/ethernet/sfc/ef10.c 	wol->wolopts = 0;
wolopts           779 drivers/net/ethernet/sfc/ethtool.c 	return efx->type->set_wol(efx, wol->wolopts);
wolopts           757 drivers/net/ethernet/sfc/falcon/ethtool.c 	return efx->type->set_wol(efx, wol->wolopts);
wolopts          2690 drivers/net/ethernet/sfc/falcon/falcon.c 	wol->wolopts = 0;
wolopts           668 drivers/net/ethernet/sfc/siena.c 		wol->wolopts = WAKE_MAGIC;
wolopts           670 drivers/net/ethernet/sfc/siena.c 		wol->wolopts = 0;
wolopts          1267 drivers/net/ethernet/silan/sc92031.c 	wolinfo->wolopts = 0;
wolopts          1270 drivers/net/ethernet/silan/sc92031.c 		wolinfo->wolopts |= WAKE_PHY;
wolopts          1273 drivers/net/ethernet/silan/sc92031.c 		wolinfo->wolopts |= WAKE_MAGIC;
wolopts          1277 drivers/net/ethernet/silan/sc92031.c 		wolinfo->wolopts |= WAKE_UCAST | WAKE_MCAST | WAKE_BCAST;
wolopts          1292 drivers/net/ethernet/silan/sc92031.c 	if (wolinfo->wolopts & WAKE_PHY)
wolopts          1295 drivers/net/ethernet/silan/sc92031.c 	if (wolinfo->wolopts & WAKE_MAGIC)
wolopts          1299 drivers/net/ethernet/silan/sc92031.c 	if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST))
wolopts          2084 drivers/net/ethernet/sis/sis900.c 	if (wol->wolopts == 0) {
wolopts          2094 drivers/net/ethernet/sis/sis900.c 	if (wol->wolopts & (WAKE_MAGICSECURE | WAKE_UCAST | WAKE_MCAST
wolopts          2098 drivers/net/ethernet/sis/sis900.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts          2100 drivers/net/ethernet/sis/sis900.c 	if (wol->wolopts & WAKE_PHY)
wolopts          2122 drivers/net/ethernet/sis/sis900.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          2124 drivers/net/ethernet/sis/sis900.c 		wol->wolopts |= WAKE_PHY;
wolopts           265 drivers/net/ethernet/socionext/sni_ave.c 	u32			wolopts;
wolopts           421 drivers/net/ethernet/socionext/sni_ave.c 	wol->wolopts   = 0;
wolopts           431 drivers/net/ethernet/socionext/sni_ave.c 	    (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)))
wolopts           444 drivers/net/ethernet/socionext/sni_ave.c 		device_set_wakeup_enable(&ndev->dev, !!wol->wolopts);
wolopts          1224 drivers/net/ethernet/socionext/sni_ave.c 	wol.wolopts = 0;
wolopts          1761 drivers/net/ethernet/socionext/sni_ave.c 	priv->wolopts = wol.wolopts;
wolopts          1776 drivers/net/ethernet/socionext/sni_ave.c 	wol.wolopts = priv->wolopts;
wolopts           192 drivers/net/ethernet/stmicro/stmmac/stmmac.h 	int wolopts;
wolopts           606 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 		wol->wolopts = priv->wolopts;
wolopts           620 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 		wol->wolopts &= ~WAKE_MAGIC;
wolopts           625 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 	if (wol->wolopts & ~support)
wolopts           628 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 	if (wol->wolopts) {
wolopts           638 drivers/net/ethernet/stmicro/stmmac/stmmac_ethtool.c 	priv->wolopts = wol->wolopts;
wolopts          4785 drivers/net/ethernet/stmicro/stmmac/stmmac_main.c 		stmmac_pmt(priv, priv->hw, priv->wolopts);
wolopts          2669 drivers/net/ethernet/sun/sungem.c 		wol->wolopts = gp->wake_on_lan;
wolopts          2672 drivers/net/ethernet/sun/sungem.c 		wol->wolopts = 0;
wolopts          2682 drivers/net/ethernet/sun/sungem.c 	gp->wake_on_lan = wol->wolopts & WOL_SUPPORTED_MASK;
wolopts           320 drivers/net/ethernet/ti/cpsw_ethtool.c 	wol->wolopts = 0;
wolopts          1294 drivers/net/ethernet/toshiba/ps3_gelic_net.c 	wol->wolopts = ps3_sys_manager_get_wol() ? wol->supported : 0;
wolopts          1308 drivers/net/ethernet/toshiba/ps3_gelic_net.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts          1312 drivers/net/ethernet/toshiba/ps3_gelic_net.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts            81 drivers/net/ethernet/toshiba/spider_net_ethtool.c 	wolinfo->wolopts = 0;
wolopts           479 drivers/net/ethernet/via/via-rhine.c 	u8 wolopts;
wolopts          2365 drivers/net/ethernet/via/via-rhine.c 	wol->wolopts = rp->wolopts;
wolopts          2378 drivers/net/ethernet/via/via-rhine.c 	if (wol->wolopts & ~support)
wolopts          2382 drivers/net/ethernet/via/via-rhine.c 	rp->wolopts = wol->wolopts;
wolopts          2490 drivers/net/ethernet/via/via-rhine.c 	if (rp->wolopts & WAKE_MAGIC) {
wolopts          2499 drivers/net/ethernet/via/via-rhine.c 	if (rp->wolopts & (WAKE_BCAST|WAKE_MCAST))
wolopts          2502 drivers/net/ethernet/via/via-rhine.c 	if (rp->wolopts & WAKE_PHY)
wolopts          2505 drivers/net/ethernet/via/via-rhine.c 	if (rp->wolopts & WAKE_UCAST)
wolopts          2508 drivers/net/ethernet/via/via-rhine.c 	if (rp->wolopts) {
wolopts          3423 drivers/net/ethernet/via/via-velocity.c 	wol->wolopts |= WAKE_MAGIC;
wolopts          3429 drivers/net/ethernet/via/via-velocity.c 		wol->wolopts |= WAKE_UCAST;
wolopts          3431 drivers/net/ethernet/via/via-velocity.c 		wol->wolopts |= WAKE_ARP;
wolopts          3439 drivers/net/ethernet/via/via-velocity.c 	if (!(wol->wolopts & (WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP)))
wolopts          3450 drivers/net/ethernet/via/via-velocity.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts          3454 drivers/net/ethernet/via/via-velocity.c 	if (wol->wolopts & WAKE_UCAST) {
wolopts          3458 drivers/net/ethernet/via/via-velocity.c 	if (wol->wolopts & WAKE_ARP) {
wolopts           179 drivers/net/phy/at803x.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts           213 drivers/net/phy/at803x.c 	wol->wolopts = 0;
wolopts           217 drivers/net/phy/at803x.c 		wol->wolopts |= WAKE_MAGIC;
wolopts            98 drivers/net/phy/dp83822.c 	if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) {
wolopts           116 drivers/net/phy/dp83822.c 		if (wol->wolopts & WAKE_MAGIC)
wolopts           121 drivers/net/phy/dp83822.c 		if (wol->wolopts & WAKE_MAGICSECURE) {
wolopts           158 drivers/net/phy/dp83822.c 	wol->wolopts = 0;
wolopts           163 drivers/net/phy/dp83822.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           181 drivers/net/phy/dp83822.c 		wol->wolopts |= WAKE_MAGICSECURE;
wolopts           186 drivers/net/phy/dp83822.c 		wol->wolopts = 0;
wolopts           104 drivers/net/phy/dp83tc811.c 	if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) {
wolopts           122 drivers/net/phy/dp83tc811.c 		if (wol->wolopts & WAKE_MAGIC)
wolopts           127 drivers/net/phy/dp83tc811.c 		if (wol->wolopts & WAKE_MAGICSECURE) {
wolopts           161 drivers/net/phy/dp83tc811.c 	wol->wolopts = 0;
wolopts           166 drivers/net/phy/dp83tc811.c 		wol->wolopts |= WAKE_MAGIC;
wolopts           184 drivers/net/phy/dp83tc811.c 		wol->wolopts |= WAKE_MAGICSECURE;
wolopts           189 drivers/net/phy/dp83tc811.c 		wol->wolopts = 0;
wolopts          1489 drivers/net/phy/marvell.c 	wol->wolopts = 0;
wolopts          1497 drivers/net/phy/marvell.c 		wol->wolopts |= WAKE_MAGIC;
wolopts          1512 drivers/net/phy/marvell.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts            21 drivers/net/phy/microchip.c 	__u32	wolopts;
wolopts            64 drivers/net/phy/microchip.c 	if (!priv->wolopts)
wolopts           226 drivers/net/phy/microchip.c 	priv->wolopts = 0;
wolopts           272 drivers/net/phy/microchip.c 	priv->wolopts = wol->wolopts;
wolopts           615 drivers/net/phy/mscc.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts           629 drivers/net/phy/mscc.c 	if (wol_conf->wolopts & WAKE_MAGICSECURE) {
wolopts           643 drivers/net/phy/mscc.c 	if (wol_conf->wolopts & WAKE_MAGICSECURE)
wolopts           653 drivers/net/phy/mscc.c 	if (wol->wolopts & WAKE_MAGIC) {
wolopts           693 drivers/net/phy/mscc.c 		wol_conf->wolopts |= WAKE_MAGICSECURE;
wolopts           694 drivers/net/phy/mscc.c 	if (wol_conf->wolopts & WAKE_MAGICSECURE) {
wolopts          1459 drivers/net/phy/phy_device.c 	if (wol.wolopts || (netdev && netdev->wol_enabled))
wolopts          1062 drivers/net/phy/phylink.c 	wol->wolopts = 0;
wolopts           220 drivers/net/usb/aqc111.c 	wolinfo->wolopts = 0;
wolopts           223 drivers/net/usb/aqc111.c 		wolinfo->wolopts |= WAKE_MAGIC;
wolopts           232 drivers/net/usb/aqc111.c 	if (wolinfo->wolopts & ~WAKE_MAGIC)
wolopts           236 drivers/net/usb/aqc111.c 	if (wolinfo->wolopts & WAKE_MAGIC)
wolopts           581 drivers/net/usb/asix_common.c 		wolinfo->wolopts = 0;
wolopts           585 drivers/net/usb/asix_common.c 	wolinfo->wolopts = 0;
wolopts           587 drivers/net/usb/asix_common.c 		wolinfo->wolopts |= WAKE_PHY;
wolopts           589 drivers/net/usb/asix_common.c 		wolinfo->wolopts |= WAKE_MAGIC;
wolopts           597 drivers/net/usb/asix_common.c 	if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
wolopts           600 drivers/net/usb/asix_common.c 	if (wolinfo->wolopts & WAKE_PHY)
wolopts           602 drivers/net/usb/asix_common.c 	if (wolinfo->wolopts & WAKE_MAGIC)
wolopts           539 drivers/net/usb/ax88179_178a.c 		wolinfo->wolopts = 0;
wolopts           544 drivers/net/usb/ax88179_178a.c 	wolinfo->wolopts = 0;
wolopts           546 drivers/net/usb/ax88179_178a.c 		wolinfo->wolopts |= WAKE_PHY;
wolopts           548 drivers/net/usb/ax88179_178a.c 		wolinfo->wolopts |= WAKE_MAGIC;
wolopts           557 drivers/net/usb/ax88179_178a.c 	if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
wolopts           560 drivers/net/usb/ax88179_178a.c 	if (wolinfo->wolopts & WAKE_PHY)
wolopts           562 drivers/net/usb/ax88179_178a.c 	if (wolinfo->wolopts & WAKE_MAGIC)
wolopts          1369 drivers/net/usb/lan78xx.c 		wol->wolopts = 0;
wolopts          1373 drivers/net/usb/lan78xx.c 			wol->wolopts = pdata->wol;
wolopts          1376 drivers/net/usb/lan78xx.c 			wol->wolopts = 0;
wolopts          1394 drivers/net/usb/lan78xx.c 	if (wol->wolopts & ~WAKE_ALL)
wolopts          1397 drivers/net/usb/lan78xx.c 	pdata->wol = wol->wolopts;
wolopts          1399 drivers/net/usb/lan78xx.c 	device_set_wakeup_enable(&dev->udev->dev, (bool)wol->wolopts);
wolopts           908 drivers/net/usb/pegasus.c 	wol->wolopts = pegasus->wolopts;
wolopts           918 drivers/net/usb/pegasus.c 	if (wol->wolopts & ~WOL_SUPPORTED)
wolopts           921 drivers/net/usb/pegasus.c 	if (wol->wolopts & WAKE_MAGIC)
wolopts           923 drivers/net/usb/pegasus.c 	if (wol->wolopts & WAKE_PHY)
wolopts           926 drivers/net/usb/pegasus.c 	if (wol->wolopts)
wolopts           930 drivers/net/usb/pegasus.c 	pegasus->wolopts = wol->wolopts;
wolopts           935 drivers/net/usb/pegasus.c 						wol->wolopts);
wolopts            87 drivers/net/usb/pegasus.h 	u32			wolopts;
wolopts          2782 drivers/net/usb/r8152.c 	u32 wolopts = 0;
wolopts          2786 drivers/net/usb/r8152.c 		wolopts |= WAKE_PHY;
wolopts          2790 drivers/net/usb/r8152.c 		wolopts |= WAKE_UCAST;
wolopts          2792 drivers/net/usb/r8152.c 		wolopts |= WAKE_BCAST;
wolopts          2794 drivers/net/usb/r8152.c 		wolopts |= WAKE_MCAST;
wolopts          2798 drivers/net/usb/r8152.c 		wolopts |= WAKE_MAGIC;
wolopts          2800 drivers/net/usb/r8152.c 	return wolopts;
wolopts          2803 drivers/net/usb/r8152.c static void __rtl_set_wol(struct r8152 *tp, u32 wolopts)
wolopts          2811 drivers/net/usb/r8152.c 	if (wolopts & WAKE_PHY)
wolopts          2817 drivers/net/usb/r8152.c 	if (wolopts & WAKE_UCAST)
wolopts          2819 drivers/net/usb/r8152.c 	if (wolopts & WAKE_BCAST)
wolopts          2821 drivers/net/usb/r8152.c 	if (wolopts & WAKE_MCAST)
wolopts          2829 drivers/net/usb/r8152.c 	if (wolopts & WAKE_MAGIC)
wolopts          2833 drivers/net/usb/r8152.c 	if (wolopts & WAKE_ANY)
wolopts          4890 drivers/net/usb/r8152.c 		wol->wolopts = 0;
wolopts          4894 drivers/net/usb/r8152.c 		wol->wolopts = __rtl_get_wol(tp);
wolopts          4909 drivers/net/usb/r8152.c 	if (wol->wolopts & ~WAKE_ANY)
wolopts          4918 drivers/net/usb/r8152.c 	__rtl_set_wol(tp, wol->wolopts);
wolopts          4919 drivers/net/usb/r8152.c 	tp->saved_wolopts = wol->wolopts & WAKE_ANY;
wolopts            56 drivers/net/usb/smsc75xx.c 	u32 wolopts;
wolopts           711 drivers/net/usb/smsc75xx.c 	wolinfo->wolopts = pdata->wolopts;
wolopts           721 drivers/net/usb/smsc75xx.c 	if (wolinfo->wolopts & ~SUPPORTED_WAKE)
wolopts           724 drivers/net/usb/smsc75xx.c 	pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE;
wolopts           726 drivers/net/usb/smsc75xx.c 	ret = device_set_wakeup_enable(&dev->udev->dev, pdata->wolopts);
wolopts          1815 drivers/net/usb/smsc75xx.c 	if (!(pdata->wolopts & SUPPORTED_WAKE) ||
wolopts          1816 drivers/net/usb/smsc75xx.c 		!(link_up || (pdata->wolopts & WAKE_PHY))) {
wolopts          1852 drivers/net/usb/smsc75xx.c 	if (pdata->wolopts & WAKE_PHY) {
wolopts          1886 drivers/net/usb/smsc75xx.c 	if (pdata->wolopts & (WAKE_MCAST | WAKE_ARP)) {
wolopts          1898 drivers/net/usb/smsc75xx.c 		if (pdata->wolopts & WAKE_MCAST) {
wolopts          1911 drivers/net/usb/smsc75xx.c 		if (pdata->wolopts & WAKE_ARP) {
wolopts          1985 drivers/net/usb/smsc75xx.c 	if (pdata->wolopts & WAKE_PHY) {
wolopts          2005 drivers/net/usb/smsc75xx.c 	if (pdata->wolopts & WAKE_MAGIC) {
wolopts          2023 drivers/net/usb/smsc75xx.c 	if (pdata->wolopts & WAKE_BCAST) {
wolopts          2040 drivers/net/usb/smsc75xx.c 	if (pdata->wolopts & WAKE_UCAST) {
wolopts            59 drivers/net/usb/smsc95xx.c 	u32 wolopts;
wolopts           753 drivers/net/usb/smsc95xx.c 	wolinfo->wolopts = pdata->wolopts;
wolopts           763 drivers/net/usb/smsc95xx.c 	if (wolinfo->wolopts & ~SUPPORTED_WAKE)
wolopts           766 drivers/net/usb/smsc95xx.c 	pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE;
wolopts           768 drivers/net/usb/smsc95xx.c 	ret = device_set_wakeup_enable(&dev->udev->dev, pdata->wolopts);
wolopts          1404 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & WAKE_PHY)
wolopts          1610 drivers/net/usb/smsc95xx.c 	if (!(pdata->wolopts & SUPPORTED_WAKE) ||
wolopts          1611 drivers/net/usb/smsc95xx.c 		!(link_up || (pdata->wolopts & WAKE_PHY))) {
wolopts          1639 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & WAKE_PHY) {
wolopts          1657 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & (WAKE_BCAST | WAKE_MCAST | WAKE_ARP | WAKE_UCAST)) {
wolopts          1677 drivers/net/usb/smsc95xx.c 		if (pdata->wolopts & WAKE_BCAST) {
wolopts          1690 drivers/net/usb/smsc95xx.c 		if (pdata->wolopts & WAKE_MCAST) {
wolopts          1703 drivers/net/usb/smsc95xx.c 		if (pdata->wolopts & WAKE_ARP) {
wolopts          1716 drivers/net/usb/smsc95xx.c 		if (pdata->wolopts & WAKE_UCAST) {
wolopts          1767 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & WAKE_MAGIC) {
wolopts          1785 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & (WAKE_BCAST | WAKE_MCAST | WAKE_ARP | WAKE_UCAST)) {
wolopts          1793 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & WAKE_MAGIC) {
wolopts          1813 drivers/net/usb/smsc95xx.c 	if (pdata->wolopts & WAKE_PHY)
wolopts           406 drivers/net/usb/sr9800.c 		wolinfo->wolopts = 0;
wolopts           410 drivers/net/usb/sr9800.c 	wolinfo->wolopts = 0;
wolopts           412 drivers/net/usb/sr9800.c 		wolinfo->wolopts |= WAKE_PHY;
wolopts           414 drivers/net/usb/sr9800.c 		wolinfo->wolopts |= WAKE_MAGIC;
wolopts           423 drivers/net/usb/sr9800.c 	if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC))
wolopts           426 drivers/net/usb/sr9800.c 	if (wolinfo->wolopts & WAKE_PHY)
wolopts           428 drivers/net/usb/sr9800.c 	if (wolinfo->wolopts & WAKE_MAGIC)
wolopts           461 drivers/net/vmxnet3/vmxnet3_ethtool.c 	wol->wolopts = adapter->wol;
wolopts           470 drivers/net/vmxnet3/vmxnet3_ethtool.c 	if (wol->wolopts & (WAKE_PHY | WAKE_MCAST | WAKE_BCAST |
wolopts           475 drivers/net/vmxnet3/vmxnet3_ethtool.c 	adapter->wol = wol->wolopts;
wolopts            75 drivers/net/wireless/marvell/libertas/ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts            77 drivers/net/wireless/marvell/libertas/ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts            79 drivers/net/wireless/marvell/libertas/ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts            81 drivers/net/wireless/marvell/libertas/ethtool.c 		wol->wolopts |= WAKE_PHY;
wolopts            89 drivers/net/wireless/marvell/libertas/ethtool.c 	if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY))
wolopts            93 drivers/net/wireless/marvell/libertas/ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts            95 drivers/net/wireless/marvell/libertas/ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts            97 drivers/net/wireless/marvell/libertas/ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts            99 drivers/net/wireless/marvell/libertas/ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts           101 drivers/net/wireless/marvell/libertas/ethtool.c 	if (wol->wolopts == 0)
wolopts            34 drivers/net/wireless/marvell/mwifiex/ethtool.c 		wol->wolopts |= WAKE_UCAST;
wolopts            36 drivers/net/wireless/marvell/mwifiex/ethtool.c 		wol->wolopts |= WAKE_MCAST;
wolopts            38 drivers/net/wireless/marvell/mwifiex/ethtool.c 		wol->wolopts |= WAKE_BCAST;
wolopts            40 drivers/net/wireless/marvell/mwifiex/ethtool.c 		wol->wolopts |= WAKE_PHY;
wolopts            49 drivers/net/wireless/marvell/mwifiex/ethtool.c 	if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY))
wolopts            52 drivers/net/wireless/marvell/mwifiex/ethtool.c 	if (wol->wolopts & WAKE_UCAST)
wolopts            54 drivers/net/wireless/marvell/mwifiex/ethtool.c 	if (wol->wolopts & WAKE_MCAST)
wolopts            56 drivers/net/wireless/marvell/mwifiex/ethtool.c 	if (wol->wolopts & WAKE_BCAST)
wolopts            58 drivers/net/wireless/marvell/mwifiex/ethtool.c 	if (wol->wolopts & WAKE_PHY)
wolopts            60 drivers/net/wireless/marvell/mwifiex/ethtool.c 	if (wol->wolopts == 0)
wolopts           436 drivers/staging/qlge/qlge_ethtool.c 		wol->wolopts = qdev->wol;
wolopts           452 drivers/staging/qlge/qlge_ethtool.c 	if (wol->wolopts & ~WAKE_MAGIC)
wolopts           454 drivers/staging/qlge/qlge_ethtool.c 	qdev->wol = wol->wolopts;
wolopts           206 include/uapi/linux/ethtool.h 	__u32	wolopts;
wolopts          1428 net/core/ethtool.c 	dev->wol_enabled = !!wol.wolopts;