/linux-4.1.27/drivers/net/wireless/libertas/ |
D | ethtool.c | 77 wol->wolopts |= WAKE_UCAST; in lbs_ethtool_get_wol() 79 wol->wolopts |= WAKE_MCAST; in lbs_ethtool_get_wol() 81 wol->wolopts |= WAKE_BCAST; in lbs_ethtool_get_wol() 83 wol->wolopts |= WAKE_PHY; in lbs_ethtool_get_wol() 91 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in lbs_ethtool_set_wol() 95 if (wol->wolopts & WAKE_UCAST) in lbs_ethtool_set_wol() 97 if (wol->wolopts & WAKE_MCAST) in lbs_ethtool_set_wol() 99 if (wol->wolopts & WAKE_BCAST) in lbs_ethtool_set_wol() 101 if (wol->wolopts & WAKE_PHY) in lbs_ethtool_set_wol() 103 if (wol->wolopts == 0) in lbs_ethtool_set_wol()
|
/linux-4.1.27/drivers/net/wireless/mwifiex/ |
D | ethtool.c | 34 wol->wolopts |= WAKE_UCAST; in mwifiex_ethtool_get_wol() 36 wol->wolopts |= WAKE_MCAST; in mwifiex_ethtool_get_wol() 38 wol->wolopts |= WAKE_BCAST; in mwifiex_ethtool_get_wol() 40 wol->wolopts |= WAKE_PHY; in mwifiex_ethtool_get_wol() 49 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in mwifiex_ethtool_set_wol() 52 if (wol->wolopts & WAKE_UCAST) in mwifiex_ethtool_set_wol() 54 if (wol->wolopts & WAKE_MCAST) in mwifiex_ethtool_set_wol() 56 if (wol->wolopts & WAKE_BCAST) in mwifiex_ethtool_set_wol() 58 if (wol->wolopts & WAKE_PHY) in mwifiex_ethtool_set_wol() 60 if (wol->wolopts == 0) in mwifiex_ethtool_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/genet/ |
D | bcmgenet_wol.c | 50 wol->wolopts = priv->wolopts; in bcmgenet_get_wol() 53 if (wol->wolopts & WAKE_MAGICSECURE) { in bcmgenet_get_wol() 73 if (wol->wolopts & ~(WAKE_MAGIC | WAKE_MAGICSECURE)) in bcmgenet_set_wol() 77 if (wol->wolopts & WAKE_MAGICSECURE) { in bcmgenet_set_wol() 89 if (wol->wolopts) { in bcmgenet_set_wol() 103 priv->wolopts = wol->wolopts; in bcmgenet_set_wol()
|
D | bcmgenet.h | 634 u32 wolopts; member
|
D | bcmgenet.c | 3256 if (device_may_wakeup(d) && priv->wolopts) { in bcmgenet_suspend() 3298 if (priv->wolopts) in bcmgenet_resume() 3316 if (priv->wolopts) in bcmgenet_resume()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1c/ |
D | atl1c_ethtool.c | 248 wol->wolopts = 0; in atl1c_get_wol() 251 wol->wolopts |= WAKE_UCAST; in atl1c_get_wol() 253 wol->wolopts |= WAKE_MCAST; in atl1c_get_wol() 255 wol->wolopts |= WAKE_BCAST; in atl1c_get_wol() 257 wol->wolopts |= WAKE_MAGIC; in atl1c_get_wol() 259 wol->wolopts |= WAKE_PHY; in atl1c_get_wol() 266 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | in atl1c_set_wol() 272 if (wol->wolopts & WAKE_MAGIC) in atl1c_set_wol() 274 if (wol->wolopts & WAKE_PHY) in atl1c_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/oki-semi/pch_gbe/ |
D | pch_gbe_ethtool.c | 206 wol->wolopts = 0; in pch_gbe_get_wol() 209 wol->wolopts |= WAKE_UCAST; in pch_gbe_get_wol() 211 wol->wolopts |= WAKE_MCAST; in pch_gbe_get_wol() 213 wol->wolopts |= WAKE_BCAST; in pch_gbe_get_wol() 215 wol->wolopts |= WAKE_MAGIC; in pch_gbe_get_wol() 231 if ((wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE))) in pch_gbe_set_wol() 236 if ((wol->wolopts & WAKE_UCAST)) in pch_gbe_set_wol() 238 if ((wol->wolopts & WAKE_MCAST)) in pch_gbe_set_wol() 240 if ((wol->wolopts & WAKE_BCAST)) in pch_gbe_set_wol() 242 if ((wol->wolopts & WAKE_MAGIC)) in pch_gbe_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atl1e/ |
D | atl1e_ethtool.c | 331 wol->wolopts = 0; in atl1e_get_wol() 334 wol->wolopts |= WAKE_UCAST; in atl1e_get_wol() 336 wol->wolopts |= WAKE_MCAST; in atl1e_get_wol() 338 wol->wolopts |= WAKE_BCAST; in atl1e_get_wol() 340 wol->wolopts |= WAKE_MAGIC; in atl1e_get_wol() 342 wol->wolopts |= WAKE_PHY; in atl1e_get_wol() 349 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | in atl1e_set_wol() 355 if (wol->wolopts & WAKE_MAGIC) in atl1e_set_wol() 357 if (wol->wolopts & WAKE_PHY) in atl1e_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 370 wol->wolopts = ugeth->wol_en; in uec_get_wol() 378 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in uec_set_wol() 380 else if (wol->wolopts & WAKE_PHY && (!phydev || !phydev->irq)) in uec_set_wol() 382 else if (wol->wolopts & WAKE_MAGIC && !qe_alive_during_sleep()) in uec_set_wol() 385 ugeth->wol_en = wol->wolopts; in uec_set_wol()
|
D | gianfar_ethtool.c | 647 wol->wolopts = priv->wol_en ? WAKE_MAGIC : 0; in gfar_get_wol() 649 wol->supported = wol->wolopts = 0; in gfar_get_wol() 659 wol->wolopts != 0) in gfar_set_wol() 662 if (wol->wolopts & ~WAKE_MAGIC) in gfar_set_wol() 665 device_set_wakeup_enable(&dev->dev, wol->wolopts & WAKE_MAGIC); in gfar_set_wol()
|
D | fec_main.c | 2484 wol->wolopts = fep->wol_flag & FEC_WOL_FLAG_ENABLE ? WAKE_MAGIC : 0; in fec_enet_get_wol() 2486 wol->supported = wol->wolopts = 0; in fec_enet_get_wol() 2498 if (wol->wolopts & ~WAKE_MAGIC) in fec_enet_set_wol() 2501 device_set_wakeup_enable(&ndev->dev, wol->wolopts & WAKE_MAGIC); in fec_enet_set_wol()
|
/linux-4.1.27/drivers/net/usb/ |
D | smsc95xx.c | 67 u32 wolopts; member 720 wolinfo->wolopts = pdata->wolopts; in smsc95xx_ethtool_get_wol() 730 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc95xx_ethtool_set_wol() 732 ret = device_set_wakeup_enable(&dev->udev->dev, pdata->wolopts); in smsc95xx_ethtool_set_wol() 1239 if (pdata->wolopts & WAKE_PHY) in smsc95xx_enter_suspend0() 1443 if (!(pdata->wolopts & SUPPORTED_WAKE) || in smsc95xx_suspend() 1444 !(link_up || (pdata->wolopts & WAKE_PHY))) { in smsc95xx_suspend() 1472 if (pdata->wolopts & WAKE_PHY) { in smsc95xx_suspend() 1490 if (pdata->wolopts & (WAKE_BCAST | WAKE_MCAST | WAKE_ARP | WAKE_UCAST)) { in smsc95xx_suspend() 1510 if (pdata->wolopts & WAKE_BCAST) { in smsc95xx_suspend() [all …]
|
D | asix_common.c | 404 wolinfo->wolopts = 0; in asix_get_wol() 408 wolinfo->wolopts = 0; in asix_get_wol() 410 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol() 412 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol() 420 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol() 422 if (wolinfo->wolopts & WAKE_MAGIC) in asix_set_wol()
|
D | smsc75xx.c | 67 u32 wolopts; member 718 wolinfo->wolopts = pdata->wolopts; in smsc75xx_ethtool_get_wol() 728 pdata->wolopts = wolinfo->wolopts & SUPPORTED_WAKE; in smsc75xx_ethtool_set_wol() 730 ret = device_set_wakeup_enable(&dev->udev->dev, pdata->wolopts); in smsc75xx_ethtool_set_wol() 1750 if (!(pdata->wolopts & SUPPORTED_WAKE) || in smsc75xx_suspend() 1751 !(link_up || (pdata->wolopts & WAKE_PHY))) { in smsc75xx_suspend() 1787 if (pdata->wolopts & WAKE_PHY) { in smsc75xx_suspend() 1821 if (pdata->wolopts & (WAKE_MCAST | WAKE_ARP)) { in smsc75xx_suspend() 1833 if (pdata->wolopts & WAKE_MCAST) { in smsc75xx_suspend() 1846 if (pdata->wolopts & WAKE_ARP) { in smsc75xx_suspend() [all …]
|
D | sr9800.c | 407 wolinfo->wolopts = 0; in sr_get_wol() 411 wolinfo->wolopts = 0; in sr_get_wol() 413 wolinfo->wolopts |= WAKE_PHY; in sr_get_wol() 415 wolinfo->wolopts |= WAKE_MAGIC; in sr_get_wol() 424 if (wolinfo->wolopts & WAKE_PHY) in sr_set_wol() 426 if (wolinfo->wolopts & WAKE_MAGIC) in sr_set_wol()
|
D | pegasus.c | 895 wol->wolopts = pegasus->wolopts; in pegasus_get_wol() 905 if (wol->wolopts & ~WOL_SUPPORTED) in pegasus_set_wol() 908 if (wol->wolopts & WAKE_MAGIC) in pegasus_set_wol() 910 if (wol->wolopts & WAKE_PHY) in pegasus_set_wol() 913 if (wol->wolopts) in pegasus_set_wol() 917 pegasus->wolopts = wol->wolopts; in pegasus_set_wol() 922 wol->wolopts); in pegasus_set_wol()
|
D | r8152.c | 2276 u32 wolopts = 0; in __rtl_get_wol() local 2284 wolopts |= WAKE_PHY; in __rtl_get_wol() 2288 wolopts |= WAKE_UCAST; in __rtl_get_wol() 2290 wolopts |= WAKE_BCAST; in __rtl_get_wol() 2292 wolopts |= WAKE_MCAST; in __rtl_get_wol() 2296 wolopts |= WAKE_MAGIC; in __rtl_get_wol() 2298 return wolopts; in __rtl_get_wol() 2301 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol() argument 2309 if (wolopts & WAKE_PHY) in __rtl_set_wol() 2315 if (wolopts & WAKE_UCAST) in __rtl_set_wol() [all …]
|
D | ax88179_178a.c | 551 wolinfo->wolopts = 0; in ax88179_get_wol() 556 wolinfo->wolopts = 0; in ax88179_get_wol() 558 wolinfo->wolopts |= WAKE_PHY; in ax88179_get_wol() 560 wolinfo->wolopts |= WAKE_MAGIC; in ax88179_get_wol() 569 if (wolinfo->wolopts & WAKE_PHY) in ax88179_set_wol() 571 if (wolinfo->wolopts & WAKE_MAGIC) in ax88179_set_wol()
|
D | pegasus.h | 91 u32 wolopts; member
|
/linux-4.1.27/drivers/net/ethernet/stmicro/stmmac/ |
D | stmmac_ethtool.c | 560 wol->wolopts = priv->wolopts; in stmmac_get_wol() 574 wol->wolopts &= ~WAKE_MAGIC; in stmmac_set_wol() 579 if (wol->wolopts & ~support) in stmmac_set_wol() 582 if (wol->wolopts) { in stmmac_set_wol() 592 priv->wolopts = wol->wolopts; in stmmac_set_wol()
|
D | stmmac.h | 97 int wolopts; member
|
D | stmmac_main.c | 3031 priv->hw->mac->pmt(priv->hw, priv->wolopts); in stmmac_suspend()
|
/linux-4.1.27/drivers/net/phy/ |
D | at803x.c | 104 if (wol->wolopts & WAKE_MAGIC) { in at803x_set_wol() 145 wol->wolopts = 0; in at803x_get_wol() 149 wol->wolopts |= WAKE_MAGIC; in at803x_get_wol()
|
D | marvell.c | 839 wol->wolopts = 0; in m88e1318_get_wol() 847 wol->wolopts |= WAKE_MAGIC; in m88e1318_get_wol() 859 if (wol->wolopts & WAKE_MAGIC) { in m88e1318_set_wol()
|
D | phy_device.c | 706 if (wol.wolopts) in phy_suspend()
|
/linux-4.1.27/drivers/net/ethernet/realtek/ |
D | 8139cp.c | 1334 if (wol->wolopts) { 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() 1346 if (wol->wolopts) { 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() 1354 cp->wol_enabled = (wol->wolopts) ? 1 : 0; in netdev_set_wol() 1365 wol->wolopts = 0; /* Start from scratch */ in netdev_get_wol() 1372 if (options & LinkUp) wol->wolopts |= WAKE_PHY; in netdev_get_wol() [all …]
|
D | 8139too.c | 2324 wol->wolopts = 0; in rtl8139_get_wol() 2326 wol->wolopts |= WAKE_PHY; in rtl8139_get_wol() 2328 wol->wolopts |= WAKE_MAGIC; in rtl8139_get_wol() 2332 wol->wolopts |= WAKE_UCAST; in rtl8139_get_wol() 2334 wol->wolopts |= WAKE_MCAST; in rtl8139_get_wol() 2336 wol->wolopts |= WAKE_BCAST; in rtl8139_get_wol() 2356 if (wol->wolopts & ~support) in rtl8139_set_wol() 2361 if (wol->wolopts & WAKE_PHY) in rtl8139_set_wol() 2363 if (wol->wolopts & WAKE_MAGIC) in rtl8139_set_wol() 2373 if (wol->wolopts & WAKE_UCAST) in rtl8139_set_wol() [all …]
|
D | r8169.c | 1690 u32 wolopts = 0; in __rtl8169_get_wol() local 1698 wolopts |= WAKE_PHY; in __rtl8169_get_wol() 1718 wolopts |= WAKE_MAGIC; in __rtl8169_get_wol() 1722 wolopts |= WAKE_MAGIC; in __rtl8169_get_wol() 1728 wolopts |= WAKE_UCAST; in __rtl8169_get_wol() 1730 wolopts |= WAKE_BCAST; in __rtl8169_get_wol() 1732 wolopts |= WAKE_MCAST; in __rtl8169_get_wol() 1734 return wolopts; in __rtl8169_get_wol() 1744 wol->wolopts = __rtl8169_get_wol(tp); in rtl8169_get_wol() 1749 static void __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) in __rtl8169_set_wol() argument [all …]
|
/linux-4.1.27/drivers/net/ethernet/dec/tulip/ |
D | tulip_core.c | 271 static void tulip_set_wolopts(struct pci_dev *pdev, u32 wolopts); 886 if (wolinfo->wolopts & (~tp->wolinfo.supported)) in tulip_ethtool_set_wol() 889 tp->wolinfo.wolopts = wolinfo->wolopts; in tulip_ethtool_set_wol() 890 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts); in tulip_ethtool_set_wol() 900 wolinfo->wolopts = tp->wolinfo.wolopts; in tulip_ethtool_get_wol() 1461 tp->wolinfo.wolopts = 0; in tulip_init_one() 1805 static void tulip_set_wolopts (struct pci_dev *pdev, u32 wolopts) in tulip_set_wolopts() argument 1823 if (wolopts & WAKE_MAGIC) in tulip_set_wolopts() 1825 if (wolopts & WAKE_PHY) in tulip_set_wolopts() 1861 tulip_set_wolopts(pdev, tp->wolinfo.wolopts); in tulip_suspend() [all …]
|
D | dmfe.c | 1107 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in dmfe_ethtool_set_wol() 1111 db->wol_mode = wolinfo->wolopts; in dmfe_ethtool_set_wol() 1121 wolinfo->wolopts = db->wol_mode; in dmfe_ethtool_get_wol()
|
D | uli526x.c | 1005 wol->wolopts = 0; in uli526x_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000/ |
D | e1000_ethtool.c | 1667 wol->wolopts = 0; in e1000_get_wol() 1691 wol->wolopts |= WAKE_UCAST; in e1000_get_wol() 1693 wol->wolopts |= WAKE_MCAST; in e1000_get_wol() 1695 wol->wolopts |= WAKE_BCAST; in e1000_get_wol() 1697 wol->wolopts |= WAKE_MAGIC; in e1000_get_wol() 1705 if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE)) in e1000_set_wol() 1710 return wol->wolopts ? -EOPNOTSUPP : 0; in e1000_set_wol() 1714 if (wol->wolopts & WAKE_UCAST) { in e1000_set_wol() 1727 if (wol->wolopts & WAKE_UCAST) in e1000_set_wol() 1729 if (wol->wolopts & WAKE_MCAST) in e1000_set_wol() [all …]
|
/linux-4.1.27/drivers/net/dsa/ |
D | bcm_sf2.c | 997 if (pwol.wolopts & WAKE_MAGICSECURE) in bcm_sf2_sw_get_wol() 1001 wol->wolopts = pwol.wolopts; in bcm_sf2_sw_get_wol() 1003 wol->wolopts = 0; in bcm_sf2_sw_get_wol() 1015 if (wol->wolopts & ~pwol.supported) in bcm_sf2_sw_set_wol() 1018 if (wol->wolopts) in bcm_sf2_sw_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/ |
D | bcmsysport.c | 407 wol->wolopts = priv->wolopts; in bcm_sysport_get_wol() 409 if (!(priv->wolopts & WAKE_MAGICSECURE)) in bcm_sysport_get_wol() 429 if (wol->wolopts & ~supported) in bcm_sysport_set_wol() 433 if (wol->wolopts & WAKE_MAGICSECURE) { in bcm_sysport_set_wol() 441 if (wol->wolopts) { in bcm_sysport_set_wol() 454 priv->wolopts = wol->wolopts; in bcm_sysport_set_wol() 1797 if (priv->wolopts & WAKE_MAGICSECURE) in bcm_sysport_suspend_to_wol() 1864 if (!priv->wolopts) in bcm_sysport_suspend() 1886 if (device_may_wakeup(d) && priv->wolopts) in bcm_sysport_suspend()
|
D | bcmsysport.h | 686 u32 wolopts; member
|
D | b44.c | 2090 wol->wolopts = WAKE_MAGIC; in b44_get_wol() 2092 wol->wolopts = 0; in b44_get_wol() 2101 if (wol->wolopts & WAKE_MAGIC) in b44_set_wol() 2107 device_set_wakeup_enable(bp->sdev->dev, wol->wolopts & WAKE_MAGIC); in b44_set_wol()
|
D | bnx2.c | 7086 wol->wolopts = 0; in bnx2_get_wol() 7091 wol->wolopts = WAKE_MAGIC; in bnx2_get_wol() 7093 wol->wolopts = 0; in bnx2_get_wol() 7103 if (wol->wolopts & ~WAKE_MAGIC) in bnx2_set_wol() 7106 if (wol->wolopts & WAKE_MAGIC) { in bnx2_set_wol()
|
D | tg3.c | 12259 wol->wolopts = 0; in tg3_get_wol() 12261 wol->wolopts = WAKE_MAGIC; in tg3_get_wol() 12270 if (wol->wolopts & ~WAKE_MAGIC) in tg3_set_wol() 12272 if ((wol->wolopts & WAKE_MAGIC) && in tg3_set_wol() 12276 device_set_wakeup_enable(dp, wol->wolopts & WAKE_MAGIC); in tg3_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/calxeda/ |
D | xgmac.c | 392 int wolopts; member 1668 wol->wolopts = priv->wolopts; in xgmac_get_wol() 1681 if (wol->wolopts & ~support) in xgmac_set_wol() 1684 priv->wolopts = wol->wolopts; in xgmac_set_wol() 1686 if (wol->wolopts) { in xgmac_set_wol() 1798 priv->wolopts = WAKE_MAGIC; /* Magic Frame as default */ in xgmac_probe() 1897 xgmac_pmt(priv->base, priv->wolopts); in xgmac_suspend()
|
/linux-4.1.27/drivers/net/ethernet/intel/e1000e/ |
D | ethtool.c | 1869 wol->wolopts = 0; in e1000_get_wol() 1887 wol->wolopts |= WAKE_UCAST; in e1000_get_wol() 1889 wol->wolopts |= WAKE_MCAST; in e1000_get_wol() 1891 wol->wolopts |= WAKE_BCAST; in e1000_get_wol() 1893 wol->wolopts |= WAKE_MAGIC; in e1000_get_wol() 1895 wol->wolopts |= WAKE_PHY; in e1000_get_wol() 1904 (wol->wolopts & ~(WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in e1000_set_wol() 1911 if (wol->wolopts & WAKE_UCAST) in e1000_set_wol() 1913 if (wol->wolopts & WAKE_MCAST) in e1000_set_wol() 1915 if (wol->wolopts & WAKE_BCAST) in e1000_set_wol() [all …]
|
/linux-4.1.27/drivers/net/ethernet/silan/ |
D | sc92031.c | 1266 wolinfo->wolopts = 0; in sc92031_ethtool_get_wol() 1269 wolinfo->wolopts |= WAKE_PHY; in sc92031_ethtool_get_wol() 1272 wolinfo->wolopts |= WAKE_MAGIC; in sc92031_ethtool_get_wol() 1276 wolinfo->wolopts |= WAKE_UCAST | WAKE_MCAST | WAKE_BCAST; in sc92031_ethtool_get_wol() 1291 if (wolinfo->wolopts & WAKE_PHY) in sc92031_ethtool_set_wol() 1294 if (wolinfo->wolopts & WAKE_MAGIC) in sc92031_ethtool_set_wol() 1298 if (wolinfo->wolopts & (WAKE_UCAST | WAKE_MCAST | WAKE_BCAST)) in sc92031_ethtool_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/via/ |
D | via-rhine.c | 481 u8 wolopts; member 2296 wol->wolopts = rp->wolopts; in rhine_get_wol() 2309 if (wol->wolopts & ~support) in rhine_set_wol() 2313 rp->wolopts = wol->wolopts; in rhine_set_wol() 2421 if (rp->wolopts & WAKE_MAGIC) { in rhine_shutdown_pci() 2430 if (rp->wolopts & (WAKE_BCAST|WAKE_MCAST)) in rhine_shutdown_pci() 2433 if (rp->wolopts & WAKE_PHY) in rhine_shutdown_pci() 2436 if (rp->wolopts & WAKE_UCAST) in rhine_shutdown_pci() 2439 if (rp->wolopts) { in rhine_shutdown_pci()
|
D | via-velocity.c | 3449 wol->wolopts |= WAKE_MAGIC; in velocity_ethtool_get_wol() 3455 wol->wolopts |= WAKE_UCAST; in velocity_ethtool_get_wol() 3457 wol->wolopts |= WAKE_ARP; in velocity_ethtool_get_wol() 3465 if (!(wol->wolopts & (WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP))) in velocity_ethtool_set_wol() 3476 if (wol->wolopts & WAKE_MAGIC) { in velocity_ethtool_set_wol() 3480 if (wol->wolopts & WAKE_UCAST) { in velocity_ethtool_set_wol() 3484 if (wol->wolopts & WAKE_ARP) { in velocity_ethtool_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/intel/igb/ |
D | igb_ethtool.c | 2072 wol->wolopts = 0; in igb_get_wol() 2088 wol->wolopts |= WAKE_UCAST; in igb_get_wol() 2090 wol->wolopts |= WAKE_MCAST; in igb_get_wol() 2092 wol->wolopts |= WAKE_BCAST; in igb_get_wol() 2094 wol->wolopts |= WAKE_MAGIC; in igb_get_wol() 2096 wol->wolopts |= WAKE_PHY; in igb_get_wol() 2103 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in igb_set_wol() 2107 return wol->wolopts ? -EOPNOTSUPP : 0; in igb_set_wol() 2112 if (wol->wolopts & WAKE_UCAST) in igb_set_wol() 2114 if (wol->wolopts & WAKE_MCAST) in igb_set_wol() [all …]
|
/linux-4.1.27/drivers/net/vmxnet3/ |
D | vmxnet3_ethtool.c | 397 wol->wolopts = adapter->wol; in vmxnet3_get_wol() 406 if (wol->wolopts & (WAKE_PHY | WAKE_MCAST | WAKE_BCAST | in vmxnet3_set_wol() 411 adapter->wol = wol->wolopts; in vmxnet3_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/toshiba/ |
D | spider_net_ethtool.c | 90 wolinfo->wolopts = 0; in spider_net_ethtool_get_wol()
|
D | ps3_gelic_net.c | 1318 wol->wolopts = ps3_sys_manager_get_wol() ? wol->supported : 0; in gelic_net_get_wol() 1332 if (wol->wolopts & ~WAKE_MAGIC) in gelic_net_set_wol() 1336 if (wol->wolopts & WAKE_MAGIC) { in gelic_net_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/atheros/atlx/ |
D | atl2.c | 2045 wol->wolopts = 0; in atl2_get_wol() 2048 wol->wolopts |= WAKE_UCAST; in atl2_get_wol() 2050 wol->wolopts |= WAKE_MCAST; in atl2_get_wol() 2052 wol->wolopts |= WAKE_BCAST; in atl2_get_wol() 2054 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol() 2056 wol->wolopts |= WAKE_PHY; in atl2_get_wol() 2063 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol() 2066 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol() 2072 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol() 2074 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
|
D | atl1.c | 3400 wol->wolopts = 0; in atl1_get_wol() 3402 wol->wolopts |= WAKE_MAGIC; in atl1_get_wol() 3410 if (wol->wolopts & (WAKE_PHY | WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in atl1_set_wol() 3414 if (wol->wolopts & WAKE_MAGIC) in atl1_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4/ |
D | cxgb4_ethtool.c | 749 wol->wolopts = netdev2adap(dev)->wol; in get_wol() 758 if (wol->wolopts & ~WOL_SUPPORTED) in set_wol() 761 (wol->wolopts & WAKE_MAGIC) ? dev->dev_addr : NULL); in set_wol() 762 if (wol->wolopts & WAKE_BCAST) { in set_wol()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/netxen/ |
D | netxen_nic_ethtool.c | 698 wol->wolopts = 0; in netxen_nic_get_wol() 709 wol->wolopts |= WAKE_MAGIC; in netxen_nic_get_wol() 721 if (wol->wolopts & ~WAKE_MAGIC) in netxen_nic_set_wol() 729 if (wol->wolopts & WAKE_MAGIC) in netxen_nic_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlge/ |
D | qlge_ethtool.c | 436 wol->wolopts = qdev->wol; in ql_get_wol() 452 if (wol->wolopts & ~WAKE_MAGIC) in ql_set_wol() 454 qdev->wol = wol->wolopts; in ql_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/intel/ixgbe/ |
D | ixgbe_ethtool.c | 2109 wol->wolopts = 0; in ixgbe_get_wol() 2116 wol->wolopts |= WAKE_UCAST; in ixgbe_get_wol() 2118 wol->wolopts |= WAKE_MCAST; in ixgbe_get_wol() 2120 wol->wolopts |= WAKE_BCAST; in ixgbe_get_wol() 2122 wol->wolopts |= WAKE_MAGIC; in ixgbe_get_wol() 2129 if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE)) in ixgbe_set_wol() 2133 return wol->wolopts ? -EOPNOTSUPP : 0; in ixgbe_set_wol() 2137 if (wol->wolopts & WAKE_UCAST) in ixgbe_set_wol() 2139 if (wol->wolopts & WAKE_MCAST) in ixgbe_set_wol() 2141 if (wol->wolopts & WAKE_BCAST) in ixgbe_set_wol() [all …]
|
/linux-4.1.27/drivers/net/ethernet/emulex/benet/ |
D | be_ethtool.c | 785 wol->wolopts |= WAKE_MAGIC; in be_get_wol() 787 wol->wolopts = 0; in be_get_wol() 796 if (wol->wolopts & ~WAKE_MAGIC) in be_set_wol() 804 if (wol->wolopts & WAKE_MAGIC) in be_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/dlink/ |
D | sundance.c | 1753 wol->wolopts = 0; in sundance_get_wol() 1761 wol->wolopts |= WAKE_MAGIC; in sundance_get_wol() 1763 wol->wolopts |= WAKE_PHY; in sundance_get_wol() 1776 np->wol_enabled = !!(wol->wolopts); in sundance_set_wol() 1782 if (wol->wolopts & WAKE_MAGIC) in sundance_set_wol() 1784 if (wol->wolopts & WAKE_PHY) in sundance_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/sis/ |
D | sis900.c | 2083 if (wol->wolopts == 0) { in sis900_set_wol() 2093 if (wol->wolopts & (WAKE_MAGICSECURE | WAKE_UCAST | WAKE_MCAST in sis900_set_wol() 2097 if (wol->wolopts & WAKE_MAGIC) in sis900_set_wol() 2099 if (wol->wolopts & WAKE_PHY) in sis900_set_wol() 2121 wol->wolopts |= WAKE_MAGIC; in sis900_get_wol() 2123 wol->wolopts |= WAKE_PHY; in sis900_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/3com/ |
D | typhoon.c | 1112 wol->wolopts = 0; in typhoon_get_wol() 1114 wol->wolopts |= WAKE_PHY; in typhoon_get_wol() 1116 wol->wolopts |= WAKE_MAGIC; in typhoon_get_wol() 1125 if(wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in typhoon_set_wol() 1129 if(wol->wolopts & WAKE_PHY) in typhoon_set_wol() 1131 if(wol->wolopts & WAKE_MAGIC) in typhoon_set_wol()
|
D | 3c59x.c | 2988 wol->wolopts = 0; in vortex_get_wol() 2990 wol->wolopts |= WAKE_MAGIC; in vortex_get_wol() 3000 if (wol->wolopts & ~WAKE_MAGIC) in vortex_set_wol() 3003 if (wol->wolopts & WAKE_MAGIC) in vortex_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/intel/i40e/ |
D | i40e_ethtool.c | 1623 wol->wolopts = 0; in i40e_get_wol() 1626 wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0); in i40e_get_wol() 1658 if (wol->wolopts && (wol->wolopts != WAKE_MAGIC)) in i40e_set_wol() 1662 if (pf->wol_en != !!wol->wolopts) { in i40e_set_wol() 1663 pf->wol_en = !!wol->wolopts; in i40e_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/amd/ |
D | amd8111e.c | 1460 wol_info->wolopts = WAKE_MAGIC; in amd8111e_get_wol() 1466 if (wol_info->wolopts & ~(WAKE_MAGIC|WAKE_PHY)) in amd8111e_set_wol() 1469 if (wol_info->wolopts & WAKE_MAGIC) in amd8111e_set_wol() 1472 else if(wol_info->wolopts & WAKE_PHY) in amd8111e_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/qlogic/qlcnic/ |
D | qlcnic_ethtool.c | 1467 wol->wolopts = 0; in qlcnic_get_wol() 1477 wol->wolopts |= WAKE_MAGIC; in qlcnic_get_wol() 1489 if (wol->wolopts & ~WAKE_MAGIC) in qlcnic_set_wol() 1501 if (wol->wolopts & WAKE_MAGIC) in qlcnic_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/sfc/ |
D | siena.c | 623 wol->wolopts = WAKE_MAGIC; in siena_get_wol() 625 wol->wolopts = 0; in siena_get_wol()
|
D | ethtool.c | 767 return efx->type->set_wol(efx, wol->wolopts); in efx_ethtool_set_wol()
|
D | falcon.c | 2671 wol->wolopts = 0; in falcon_get_wol()
|
D | ef10.c | 1050 wol->wolopts = 0; in efx_ef10_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/mellanox/mlx4/ |
D | en_ethtool.c | 229 wol->wolopts = 0; in mlx4_en_get_wol() 245 wol->wolopts = WAKE_MAGIC; in mlx4_en_get_wol() 247 wol->wolopts = 0; in mlx4_en_get_wol() 276 if (wol->wolopts & WAKE_MAGIC) { in mlx4_en_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/ |
D | jme.c | 2622 wol->wolopts = 0; in jme_get_wol() 2625 wol->wolopts |= WAKE_PHY; in jme_get_wol() 2628 wol->wolopts |= WAKE_MAGIC; in jme_get_wol() 2638 if (wol->wolopts & (WAKE_MAGICSECURE | in jme_set_wol() 2647 if (wol->wolopts & WAKE_PHY) in jme_set_wol() 2650 if (wol->wolopts & WAKE_MAGIC) in jme_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/intel/igbvf/ |
D | ethtool.c | 329 wol->wolopts = 0; in igbvf_get_wol()
|
/linux-4.1.27/include/uapi/linux/ |
D | ethtool.h | 204 __u32 wolopts; member
|
/linux-4.1.27/drivers/net/ethernet/adi/ |
D | bfin_mac.c | 507 wolinfo->wolopts = lp->wol; in bfin_mac_ethtool_getwol() 516 if (wolinfo->wolopts & (WAKE_MAGICSECURE | in bfin_mac_ethtool_setwol() 523 lp->wol = wolinfo->wolopts; in bfin_mac_ethtool_setwol()
|
/linux-4.1.27/drivers/net/ethernet/intel/ |
D | e100.c | 2494 wol->wolopts = (nic->flags & wol_magic) ? WAKE_MAGIC : 0; in e100_get_wol() 2501 if ((wol->wolopts && wol->wolopts != WAKE_MAGIC) || in e100_set_wol() 2505 if (wol->wolopts) in e100_set_wol() 2510 device_set_wakeup_enable(&nic->pdev->dev, wol->wolopts); in e100_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_ethtool.c | 1077 wol->wolopts = 0; in bnx2x_get_wol() 1081 wol->wolopts = WAKE_MAGIC; in bnx2x_get_wol() 1083 wol->wolopts = 0; in bnx2x_get_wol() 1092 if (wol->wolopts & ~WAKE_MAGIC) { in bnx2x_set_wol() 1097 if (wol->wolopts & WAKE_MAGIC) { in bnx2x_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/davicom/ |
D | dm9000.c | 703 w->wolopts = dm->wake_state; in dm9000_get_wol() 710 u32 opts = w->wolopts; in dm9000_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/sun/ |
D | sungem.c | 2653 wol->wolopts = gp->wake_on_lan; in gem_get_wol() 2656 wol->wolopts = 0; in gem_get_wol() 2666 gp->wake_on_lan = wol->wolopts & WOL_SUPPORTED_MASK; in gem_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/brocade/bna/ |
D | bnad_ethtool.c | 323 wolinfo->wolopts = 0; in bnad_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/micrel/ |
D | ksz884x.c | 6178 wol->wolopts = hw_priv->wol_enable; in netdev_get_wol() 6200 if (wol->wolopts & ~hw_priv->wol_support) in netdev_set_wol() 6203 hw_priv->wol_enable = wol->wolopts; in netdev_set_wol() 6206 if (wol->wolopts) in netdev_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/marvell/ |
D | skge.c | 250 wol->wolopts = skge->wol; in skge_get_wol() 258 if ((wol->wolopts & ~wol_supported(hw)) || in skge_set_wol() 262 skge->wol = wol->wolopts; in skge_set_wol()
|
D | sky2.c | 3557 wol->wolopts = sky2->wol; in sky2_get_wol() 3567 if ((wol->wolopts & ~sky2_wol_supported(sky2->hw)) || in sky2_set_wol() 3571 sky2->wol = wol->wolopts; in sky2_set_wol()
|
D | mv643xx_eth.c | 1526 wol->wolopts = 0; in mv643xx_eth_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/natsemi/ |
D | natsemi.c | 2597 netdev_get_wol(dev, &wol->supported, &wol->wolopts); in get_wol() 2607 netdev_set_wol(dev, wol->wolopts); in set_wol()
|
/linux-4.1.27/drivers/net/ethernet/nvidia/ |
D | forcedeth.c | 4224 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol() 4234 if (wolinfo->wolopts == 0) { in nv_set_wol() 4236 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb4vf/ |
D | cxgb4vf_main.c | 1693 wol->wolopts = 0; in cxgb4vf_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/ti/ |
D | cpsw.c | 1862 wol->wolopts = 0; in cpsw_get_wol()
|
/linux-4.1.27/drivers/net/ethernet/chelsio/cxgb3/ |
D | cxgb3_main.c | 2092 wol->wolopts = 0; in get_wol()
|