| /linux-4.4.14/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.4.14/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.4.14/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 | 635 u32 wolopts; member
|
| D | bcmgenet.c | 3515 if (device_may_wakeup(d) && priv->wolopts) { in bcmgenet_suspend() 3557 if (priv->wolopts) in bcmgenet_resume() 3575 if (priv->wolopts) in bcmgenet_resume()
|
| /linux-4.4.14/drivers/net/phy/ |
| D | microchip.c | 30 __u32 wolopts; member 63 if (!priv->wolopts) in lan88xx_suspend() 78 priv->wolopts = 0; in lan88xx_probe() 105 priv->wolopts = wol->wolopts; in lan88xx_set_wol()
|
| 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 | 891 wol->wolopts = 0; in m88e1318_get_wol() 899 wol->wolopts |= WAKE_MAGIC; in m88e1318_get_wol() 911 if (wol->wolopts & WAKE_MAGIC) { in m88e1318_set_wol()
|
| D | phy_device.c | 772 if (wol.wolopts) in phy_suspend()
|
| /linux-4.4.14/drivers/net/ethernet/atheros/atl1c/ |
| D | atl1c_ethtool.c | 244 wol->wolopts = 0; in atl1c_get_wol() 247 wol->wolopts |= WAKE_UCAST; in atl1c_get_wol() 249 wol->wolopts |= WAKE_MCAST; in atl1c_get_wol() 251 wol->wolopts |= WAKE_BCAST; in atl1c_get_wol() 253 wol->wolopts |= WAKE_MAGIC; in atl1c_get_wol() 255 wol->wolopts |= WAKE_PHY; in atl1c_get_wol() 262 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | in atl1c_set_wol() 268 if (wol->wolopts & WAKE_MAGIC) in atl1c_set_wol() 270 if (wol->wolopts & WAKE_PHY) in atl1c_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/oki-semi/pch_gbe/ |
| D | pch_gbe_ethtool.c | 205 wol->wolopts = 0; in pch_gbe_get_wol() 208 wol->wolopts |= WAKE_UCAST; in pch_gbe_get_wol() 210 wol->wolopts |= WAKE_MCAST; in pch_gbe_get_wol() 212 wol->wolopts |= WAKE_BCAST; in pch_gbe_get_wol() 214 wol->wolopts |= WAKE_MAGIC; in pch_gbe_get_wol() 230 if ((wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE))) in pch_gbe_set_wol() 235 if ((wol->wolopts & WAKE_UCAST)) in pch_gbe_set_wol() 237 if ((wol->wolopts & WAKE_MCAST)) in pch_gbe_set_wol() 239 if ((wol->wolopts & WAKE_BCAST)) in pch_gbe_set_wol() 241 if ((wol->wolopts & WAKE_MAGIC)) in pch_gbe_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/atheros/atl1e/ |
| D | atl1e_ethtool.c | 327 wol->wolopts = 0; in atl1e_get_wol() 330 wol->wolopts |= WAKE_UCAST; in atl1e_get_wol() 332 wol->wolopts |= WAKE_MCAST; in atl1e_get_wol() 334 wol->wolopts |= WAKE_BCAST; in atl1e_get_wol() 336 wol->wolopts |= WAKE_MAGIC; in atl1e_get_wol() 338 wol->wolopts |= WAKE_PHY; in atl1e_get_wol() 345 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | in atl1e_set_wol() 351 if (wol->wolopts & WAKE_MAGIC) in atl1e_set_wol() 353 if (wol->wolopts & WAKE_PHY) in atl1e_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/freescale/ |
| D | ucc_geth_ethtool.c | 368 wol->wolopts = ugeth->wol_en; in uec_get_wol() 376 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in uec_set_wol() 378 else if (wol->wolopts & WAKE_PHY && (!phydev || !phydev->irq)) in uec_set_wol() 380 else if (wol->wolopts & WAKE_MAGIC && !qe_alive_during_sleep()) in uec_set_wol() 383 ugeth->wol_en = wol->wolopts; in uec_set_wol()
|
| D | gianfar_ethtool.c | 646 wol->wolopts = 0; in gfar_get_wol() 655 wol->wolopts |= WAKE_MAGIC; in gfar_get_wol() 658 wol->wolopts |= WAKE_UCAST; in gfar_get_wol() 667 if (!priv->wol_supported && wol->wolopts) in gfar_set_wol() 670 if (wol->wolopts & ~(WAKE_MAGIC | WAKE_UCAST)) in gfar_set_wol() 673 if (wol->wolopts & WAKE_MAGIC) { in gfar_set_wol() 676 if (wol->wolopts & WAKE_UCAST) in gfar_set_wol()
|
| D | fec_main.c | 2594 wol->wolopts = fep->wol_flag & FEC_WOL_FLAG_ENABLE ? WAKE_MAGIC : 0; in fec_enet_get_wol() 2596 wol->supported = wol->wolopts = 0; in fec_enet_get_wol() 2608 if (wol->wolopts & ~WAKE_MAGIC) in fec_enet_set_wol() 2611 device_set_wakeup_enable(&ndev->dev, wol->wolopts & WAKE_MAGIC); in fec_enet_set_wol()
|
| /linux-4.4.14/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 | 436 wolinfo->wolopts = 0; in asix_get_wol() 440 wolinfo->wolopts = 0; in asix_get_wol() 442 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol() 444 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol() 452 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol() 454 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 | 2288 u32 wolopts = 0; in __rtl_get_wol() local 2296 wolopts |= WAKE_PHY; in __rtl_get_wol() 2300 wolopts |= WAKE_UCAST; in __rtl_get_wol() 2302 wolopts |= WAKE_BCAST; in __rtl_get_wol() 2304 wolopts |= WAKE_MCAST; in __rtl_get_wol() 2308 wolopts |= WAKE_MAGIC; in __rtl_get_wol() 2310 return wolopts; in __rtl_get_wol() 2313 static void __rtl_set_wol(struct r8152 *tp, u32 wolopts) in __rtl_set_wol() argument 2321 if (wolopts & WAKE_PHY) in __rtl_set_wol() 2327 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 | lan78xx.c | 1026 wol->wolopts = 0; in lan78xx_get_wol() 1030 wol->wolopts = pdata->wol; in lan78xx_get_wol() 1033 wol->wolopts = 0; in lan78xx_get_wol() 1052 if (wol->wolopts & WAKE_UCAST) in lan78xx_set_wol() 1054 if (wol->wolopts & WAKE_MCAST) in lan78xx_set_wol() 1056 if (wol->wolopts & WAKE_BCAST) in lan78xx_set_wol() 1058 if (wol->wolopts & WAKE_MAGIC) in lan78xx_set_wol() 1060 if (wol->wolopts & WAKE_PHY) in lan78xx_set_wol() 1062 if (wol->wolopts & WAKE_ARP) in lan78xx_set_wol() 1065 device_set_wakeup_enable(&dev->udev->dev, (bool)wol->wolopts); in lan78xx_set_wol()
|
| D | pegasus.h | 91 u32 wolopts; member
|
| /linux-4.4.14/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 | 105 int wolopts; member
|
| D | stmmac_main.c | 3051 priv->hw->mac->pmt(priv->hw, priv->wolopts); in stmmac_suspend()
|
| /linux-4.4.14/drivers/net/ethernet/realtek/ |
| D | 8139cp.c | 1339 if (wol->wolopts) { in netdev_set_wol() 1340 if (wol->wolopts & WAKE_PHY) options |= LinkUp; in netdev_set_wol() 1341 if (wol->wolopts & WAKE_MAGIC) options |= MagicPacket; in netdev_set_wol() 1351 if (wol->wolopts) { in netdev_set_wol() 1352 if (wol->wolopts & WAKE_UCAST) options |= UWF; in netdev_set_wol() 1353 if (wol->wolopts & WAKE_BCAST) options |= BWF; in netdev_set_wol() 1354 if (wol->wolopts & WAKE_MCAST) options |= MWF; in netdev_set_wol() 1359 cp->wol_enabled = (wol->wolopts) ? 1 : 0; in netdev_set_wol() 1370 wol->wolopts = 0; /* Start from scratch */ in netdev_get_wol() 1377 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 | 1702 u32 wolopts = 0; in __rtl8169_get_wol() local 1710 wolopts |= WAKE_PHY; in __rtl8169_get_wol() 1730 wolopts |= WAKE_MAGIC; in __rtl8169_get_wol() 1734 wolopts |= WAKE_MAGIC; in __rtl8169_get_wol() 1740 wolopts |= WAKE_UCAST; in __rtl8169_get_wol() 1742 wolopts |= WAKE_BCAST; in __rtl8169_get_wol() 1744 wolopts |= WAKE_MCAST; in __rtl8169_get_wol() 1746 return wolopts; in __rtl8169_get_wol() 1756 wol->wolopts = __rtl8169_get_wol(tp); in rtl8169_get_wol() 1761 static void __rtl8169_set_wol(struct rtl8169_private *tp, u32 wolopts) in __rtl8169_set_wol() argument [all …]
|
| /linux-4.4.14/drivers/net/ethernet/dec/tulip/ |
| D | tulip_core.c | 270 static void tulip_set_wolopts(struct pci_dev *pdev, u32 wolopts); 885 if (wolinfo->wolopts & (~tp->wolinfo.supported)) in tulip_ethtool_set_wol() 888 tp->wolinfo.wolopts = wolinfo->wolopts; in tulip_ethtool_set_wol() 889 device_set_wakeup_enable(&tp->pdev->dev, tp->wolinfo.wolopts); in tulip_ethtool_set_wol() 899 wolinfo->wolopts = tp->wolinfo.wolopts; in tulip_ethtool_get_wol() 1460 tp->wolinfo.wolopts = 0; in tulip_init_one() 1804 static void tulip_set_wolopts (struct pci_dev *pdev, u32 wolopts) in tulip_set_wolopts() argument 1822 if (wolopts & WAKE_MAGIC) in tulip_set_wolopts() 1824 if (wolopts & WAKE_PHY) in tulip_set_wolopts() 1860 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.4.14/drivers/net/ethernet/intel/e1000/ |
| D | e1000_ethtool.c | 1665 wol->wolopts = 0; in e1000_get_wol() 1689 wol->wolopts |= WAKE_UCAST; in e1000_get_wol() 1691 wol->wolopts |= WAKE_MCAST; in e1000_get_wol() 1693 wol->wolopts |= WAKE_BCAST; in e1000_get_wol() 1695 wol->wolopts |= WAKE_MAGIC; in e1000_get_wol() 1703 if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE)) in e1000_set_wol() 1708 return wol->wolopts ? -EOPNOTSUPP : 0; in e1000_set_wol() 1712 if (wol->wolopts & WAKE_UCAST) { in e1000_set_wol() 1725 if (wol->wolopts & WAKE_UCAST) in e1000_set_wol() 1727 if (wol->wolopts & WAKE_MCAST) in e1000_set_wol() [all …]
|
| /linux-4.4.14/drivers/net/ethernet/broadcom/ |
| D | bcmsysport.c | 406 wol->wolopts = priv->wolopts; in bcm_sysport_get_wol() 408 if (!(priv->wolopts & WAKE_MAGICSECURE)) in bcm_sysport_get_wol() 428 if (wol->wolopts & ~supported) in bcm_sysport_set_wol() 432 if (wol->wolopts & WAKE_MAGICSECURE) { in bcm_sysport_set_wol() 440 if (wol->wolopts) { in bcm_sysport_set_wol() 453 priv->wolopts = wol->wolopts; in bcm_sysport_set_wol() 1886 if (priv->wolopts & WAKE_MAGICSECURE) in bcm_sysport_suspend_to_wol() 1953 if (!priv->wolopts) in bcm_sysport_suspend() 1975 if (device_may_wakeup(d) && priv->wolopts) in bcm_sysport_suspend()
|
| D | bcmsysport.h | 684 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 | 7104 wol->wolopts = 0; in bnx2_get_wol() 7109 wol->wolopts = WAKE_MAGIC; in bnx2_get_wol() 7111 wol->wolopts = 0; in bnx2_get_wol() 7121 if (wol->wolopts & ~WAKE_MAGIC) in bnx2_set_wol() 7124 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.4.14/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.4.14/drivers/net/ethernet/intel/e1000e/ |
| D | ethtool.c | 1888 wol->wolopts = 0; in e1000_get_wol() 1906 wol->wolopts |= WAKE_UCAST; in e1000_get_wol() 1908 wol->wolopts |= WAKE_MCAST; in e1000_get_wol() 1910 wol->wolopts |= WAKE_BCAST; in e1000_get_wol() 1912 wol->wolopts |= WAKE_MAGIC; in e1000_get_wol() 1914 wol->wolopts |= WAKE_PHY; in e1000_get_wol() 1923 (wol->wolopts & ~(WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in e1000_set_wol() 1930 if (wol->wolopts & WAKE_UCAST) in e1000_set_wol() 1932 if (wol->wolopts & WAKE_MCAST) in e1000_set_wol() 1934 if (wol->wolopts & WAKE_BCAST) in e1000_set_wol() [all …]
|
| /linux-4.4.14/drivers/net/dsa/ |
| D | bcm_sf2.c | 1328 if (pwol.wolopts & WAKE_MAGICSECURE) in bcm_sf2_sw_get_wol() 1332 wol->wolopts = pwol.wolopts; in bcm_sf2_sw_get_wol() 1334 wol->wolopts = 0; in bcm_sf2_sw_get_wol() 1346 if (wol->wolopts & ~pwol.supported) in bcm_sf2_sw_set_wol() 1349 if (wol->wolopts) in bcm_sf2_sw_set_wol()
|
| /linux-4.4.14/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.4.14/drivers/net/ethernet/via/ |
| D | via-rhine.c | 479 u8 wolopts; member 2372 wol->wolopts = rp->wolopts; in rhine_get_wol() 2385 if (wol->wolopts & ~support) in rhine_set_wol() 2389 rp->wolopts = wol->wolopts; in rhine_set_wol() 2497 if (rp->wolopts & WAKE_MAGIC) { in rhine_shutdown_pci() 2506 if (rp->wolopts & (WAKE_BCAST|WAKE_MCAST)) in rhine_shutdown_pci() 2509 if (rp->wolopts & WAKE_PHY) in rhine_shutdown_pci() 2512 if (rp->wolopts & WAKE_UCAST) in rhine_shutdown_pci() 2515 if (rp->wolopts) { in rhine_shutdown_pci()
|
| D | via-velocity.c | 3431 wol->wolopts |= WAKE_MAGIC; in velocity_ethtool_get_wol() 3437 wol->wolopts |= WAKE_UCAST; in velocity_ethtool_get_wol() 3439 wol->wolopts |= WAKE_ARP; in velocity_ethtool_get_wol() 3447 if (!(wol->wolopts & (WAKE_PHY | WAKE_MAGIC | WAKE_UCAST | WAKE_ARP))) in velocity_ethtool_set_wol() 3458 if (wol->wolopts & WAKE_MAGIC) { in velocity_ethtool_set_wol() 3462 if (wol->wolopts & WAKE_UCAST) { in velocity_ethtool_set_wol() 3466 if (wol->wolopts & WAKE_ARP) { in velocity_ethtool_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/intel/igb/ |
| D | igb_ethtool.c | 2068 wol->wolopts = 0; in igb_get_wol() 2084 wol->wolopts |= WAKE_UCAST; in igb_get_wol() 2086 wol->wolopts |= WAKE_MCAST; in igb_get_wol() 2088 wol->wolopts |= WAKE_BCAST; in igb_get_wol() 2090 wol->wolopts |= WAKE_MAGIC; in igb_get_wol() 2092 wol->wolopts |= WAKE_PHY; in igb_get_wol() 2099 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in igb_set_wol() 2103 return wol->wolopts ? -EOPNOTSUPP : 0; in igb_set_wol() 2108 if (wol->wolopts & WAKE_UCAST) in igb_set_wol() 2110 if (wol->wolopts & WAKE_MCAST) in igb_set_wol() [all …]
|
| /linux-4.4.14/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.4.14/drivers/net/ethernet/atheros/atlx/ |
| D | atl2.c | 2041 wol->wolopts = 0; in atl2_get_wol() 2044 wol->wolopts |= WAKE_UCAST; in atl2_get_wol() 2046 wol->wolopts |= WAKE_MCAST; in atl2_get_wol() 2048 wol->wolopts |= WAKE_BCAST; in atl2_get_wol() 2050 wol->wolopts |= WAKE_MAGIC; in atl2_get_wol() 2052 wol->wolopts |= WAKE_PHY; in atl2_get_wol() 2059 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE)) in atl2_set_wol() 2062 if (wol->wolopts & (WAKE_UCAST | WAKE_BCAST | WAKE_MCAST)) in atl2_set_wol() 2068 if (wol->wolopts & WAKE_MAGIC) in atl2_set_wol() 2070 if (wol->wolopts & WAKE_PHY) in atl2_set_wol()
|
| D | atl1.c | 3399 wol->wolopts = 0; in atl1_get_wol() 3401 wol->wolopts |= WAKE_MAGIC; in atl1_get_wol() 3409 if (wol->wolopts & (WAKE_PHY | WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | in atl1_set_wol() 3413 if (wol->wolopts & WAKE_MAGIC) in atl1_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/qlogic/netxen/ |
| D | netxen_nic_ethtool.c | 696 wol->wolopts = 0; in netxen_nic_get_wol() 707 wol->wolopts |= WAKE_MAGIC; in netxen_nic_get_wol() 719 if (wol->wolopts & ~WAKE_MAGIC) in netxen_nic_set_wol() 727 if (wol->wolopts & WAKE_MAGIC) in netxen_nic_set_wol()
|
| /linux-4.4.14/drivers/net/vmxnet3/ |
| D | vmxnet3_ethtool.c | 455 wol->wolopts = adapter->wol; in vmxnet3_get_wol() 464 if (wol->wolopts & (WAKE_PHY | WAKE_MCAST | WAKE_BCAST | in vmxnet3_set_wol() 469 adapter->wol = wol->wolopts; in vmxnet3_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/qlogic/qlge/ |
| D | qlge_ethtool.c | 429 wol->wolopts = qdev->wol; in ql_get_wol() 445 if (wol->wolopts & ~WAKE_MAGIC) in ql_set_wol() 447 qdev->wol = wol->wolopts; in ql_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/intel/ixgbe/ |
| D | ixgbe_ethtool.c | 2114 wol->wolopts = 0; in ixgbe_get_wol() 2121 wol->wolopts |= WAKE_UCAST; in ixgbe_get_wol() 2123 wol->wolopts |= WAKE_MCAST; in ixgbe_get_wol() 2125 wol->wolopts |= WAKE_BCAST; in ixgbe_get_wol() 2127 wol->wolopts |= WAKE_MAGIC; in ixgbe_get_wol() 2134 if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE)) in ixgbe_set_wol() 2138 return wol->wolopts ? -EOPNOTSUPP : 0; in ixgbe_set_wol() 2142 if (wol->wolopts & WAKE_UCAST) in ixgbe_set_wol() 2144 if (wol->wolopts & WAKE_MCAST) in ixgbe_set_wol() 2146 if (wol->wolopts & WAKE_BCAST) in ixgbe_set_wol() [all …]
|
| /linux-4.4.14/drivers/net/ethernet/emulex/benet/ |
| D | be_ethtool.c | 791 wol->wolopts |= WAKE_MAGIC; in be_get_wol() 793 wol->wolopts = 0; in be_get_wol() 802 if (wol->wolopts & ~WAKE_MAGIC) in be_set_wol() 810 if (wol->wolopts & WAKE_MAGIC) in be_set_wol()
|
| /linux-4.4.14/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.4.14/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.4.14/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 | 3006 wol->wolopts = 0; in vortex_get_wol() 3008 wol->wolopts |= WAKE_MAGIC; in vortex_get_wol() 3018 if (wol->wolopts & ~WAKE_MAGIC) in vortex_set_wol() 3021 if (wol->wolopts & WAKE_MAGIC) in vortex_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/intel/i40e/ |
| D | i40e_ethtool.c | 1766 wol->wolopts = 0; in i40e_get_wol() 1769 wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0); in i40e_get_wol() 1801 if (wol->wolopts && (wol->wolopts != WAKE_MAGIC)) in i40e_set_wol() 1805 if (pf->wol_en != !!wol->wolopts) { in i40e_set_wol() 1806 pf->wol_en = !!wol->wolopts; in i40e_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/qlogic/qlcnic/ |
| D | qlcnic_ethtool.c | 1468 wol->wolopts = 0; in qlcnic_get_wol() 1478 wol->wolopts |= WAKE_MAGIC; in qlcnic_get_wol() 1490 if (wol->wolopts & ~WAKE_MAGIC) in qlcnic_set_wol() 1502 if (wol->wolopts & WAKE_MAGIC) in qlcnic_set_wol()
|
| /linux-4.4.14/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.4.14/drivers/net/ethernet/sfc/ |
| D | siena.c | 632 wol->wolopts = WAKE_MAGIC; in siena_get_wol() 634 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 | 2685 wol->wolopts = 0; in falcon_get_wol()
|
| D | ef10.c | 1570 wol->wolopts = 0; in efx_ef10_get_wol()
|
| /linux-4.4.14/drivers/net/ethernet/mellanox/mlx4/ |
| D | en_ethtool.c | 233 wol->wolopts = 0; in mlx4_en_get_wol() 249 wol->wolopts = WAKE_MAGIC; in mlx4_en_get_wol() 251 wol->wolopts = 0; in mlx4_en_get_wol() 280 if (wol->wolopts & WAKE_MAGIC) { in mlx4_en_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/ |
| D | jme.c | 2624 wol->wolopts = 0; in jme_get_wol() 2627 wol->wolopts |= WAKE_PHY; in jme_get_wol() 2630 wol->wolopts |= WAKE_MAGIC; in jme_get_wol() 2640 if (wol->wolopts & (WAKE_MAGICSECURE | in jme_set_wol() 2649 if (wol->wolopts & WAKE_PHY) in jme_set_wol() 2652 if (wol->wolopts & WAKE_MAGIC) in jme_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/intel/igbvf/ |
| D | ethtool.c | 327 wol->wolopts = 0; in igbvf_get_wol()
|
| /linux-4.4.14/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.4.14/include/uapi/linux/ |
| D | ethtool.h | 204 __u32 wolopts; member
|
| /linux-4.4.14/drivers/net/ethernet/intel/ |
| D | e100.c | 2497 wol->wolopts = (nic->flags & wol_magic) ? WAKE_MAGIC : 0; in e100_get_wol() 2504 if ((wol->wolopts && wol->wolopts != WAKE_MAGIC) || in e100_set_wol() 2508 if (wol->wolopts) in e100_set_wol() 2513 device_set_wakeup_enable(&nic->pdev->dev, wol->wolopts); in e100_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/broadcom/bnx2x/ |
| D | bnx2x_ethtool.c | 1101 wol->wolopts = 0; in bnx2x_get_wol() 1105 wol->wolopts = WAKE_MAGIC; in bnx2x_get_wol() 1107 wol->wolopts = 0; in bnx2x_get_wol() 1116 if (wol->wolopts & ~WAKE_MAGIC) { in bnx2x_set_wol() 1121 if (wol->wolopts & WAKE_MAGIC) { in bnx2x_set_wol()
|
| /linux-4.4.14/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.4.14/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.4.14/drivers/net/ethernet/brocade/bna/ |
| D | bnad_ethtool.c | 325 wolinfo->wolopts = 0; in bnad_get_wol()
|
| /linux-4.4.14/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.4.14/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 | 1558 wol->wolopts = 0; in mv643xx_eth_get_wol()
|
| /linux-4.4.14/drivers/net/ethernet/natsemi/ |
| D | natsemi.c | 2609 netdev_get_wol(dev, &wol->supported, &wol->wolopts); in get_wol() 2619 netdev_set_wol(dev, wol->wolopts); in set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/nvidia/ |
| D | forcedeth.c | 4222 wolinfo->wolopts = WAKE_MAGIC; in nv_get_wol() 4232 if (wolinfo->wolopts == 0) { in nv_set_wol() 4234 } else if (wolinfo->wolopts & WAKE_MAGIC) { in nv_set_wol()
|
| /linux-4.4.14/drivers/net/ethernet/chelsio/cxgb4vf/ |
| D | cxgb4vf_main.c | 1693 wol->wolopts = 0; in cxgb4vf_get_wol()
|
| /linux-4.4.14/drivers/net/ethernet/ti/ |
| D | cpsw.c | 1868 wol->wolopts = 0; in cpsw_get_wol()
|
| /linux-4.4.14/drivers/net/ethernet/chelsio/cxgb3/ |
| D | cxgb3_main.c | 2092 wol->wolopts = 0; in get_wol()
|