Home
last modified time | relevance | path

Searched refs:WAKE_MAGIC (Results 1 – 25 of 56) sorted by relevance

123

/linux-3.4.99/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c248 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1c_get_wol()
258 wol->wolopts |= WAKE_MAGIC; in atl1c_get_wol()
273 if (wol->wolopts & WAKE_MAGIC) in atl1c_set_wol()
/linux-3.4.99/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c371 wol->supported |= WAKE_MAGIC; in uec_get_wol()
381 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in uec_set_wol()
385 else if (wol->wolopts & WAKE_MAGIC && !qe_alive_during_sleep()) in uec_set_wol()
Dgianfar_ethtool.c581 wol->supported = WAKE_MAGIC; in gfar_get_wol()
582 wol->wolopts = priv->wol_en ? WAKE_MAGIC : 0; in gfar_get_wol()
597 if (wol->wolopts & ~WAKE_MAGIC) in gfar_set_wol()
600 device_set_wakeup_enable(&dev->dev, wol->wolopts & WAKE_MAGIC); in gfar_set_wol()
/linux-3.4.99/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c330 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1e_get_wol()
340 wol->wolopts |= WAKE_MAGIC; in atl1e_get_wol()
355 if (wol->wolopts & WAKE_MAGIC) in atl1e_set_wol()
/linux-3.4.99/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c206 wol->supported = WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | WAKE_MAGIC; in pch_gbe_get_wol()
216 wol->wolopts |= WAKE_MAGIC; in pch_gbe_get_wol()
243 if ((wol->wolopts & WAKE_MAGIC)) in pch_gbe_set_wol()
/linux-3.4.99/drivers/net/ethernet/mellanox/mlx4/
Den_ethtool.c132 wol->supported = WAKE_MAGIC; in mlx4_en_get_wol()
137 wol->wolopts = WAKE_MAGIC; in mlx4_en_get_wol()
159 if (wol->supported & ~WAKE_MAGIC) in mlx4_en_set_wol()
168 if (wol->wolopts & WAKE_MAGIC) { in mlx4_en_set_wol()
/linux-3.4.99/drivers/net/ethernet/sfc/
Dsiena.c593 wol->supported = WAKE_MAGIC; in siena_get_wol()
595 wol->wolopts = WAKE_MAGIC; in siena_get_wol()
607 if (type & ~WAKE_MAGIC) in siena_set_wol()
610 if (type & WAKE_MAGIC) { in siena_set_wol()
/linux-3.4.99/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c428 wol->supported = WAKE_MAGIC | WAKE_UCAST; in stmmac_get_wol()
437 u32 support = WAKE_MAGIC | WAKE_UCAST; in stmmac_set_wol()
443 wol->wolopts &= ~WAKE_MAGIC; in stmmac_set_wol()
Ddwmac1000_core.c177 if (mode & WAKE_MAGIC) { in dwmac1000_pmt()
/linux-3.4.99/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c610 wol->supported |= WAKE_MAGIC; in be_get_wol()
611 wol->wolopts |= WAKE_MAGIC; in be_get_wol()
622 if (wol->wolopts & ~WAKE_MAGIC) in be_set_wol()
630 if (wol->wolopts & WAKE_MAGIC) in be_set_wol()
/linux-3.4.99/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c700 wol->supported |= WAKE_MAGIC; in netxen_nic_get_wol()
704 wol->wolopts |= WAKE_MAGIC; in netxen_nic_get_wol()
716 if (wol->wolopts & ~WAKE_MAGIC) in netxen_nic_set_wol()
724 if (wol->wolopts & WAKE_MAGIC) in netxen_nic_set_wol()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ethtool.c1011 wol->supported |= WAKE_MAGIC; in qlcnic_get_wol()
1015 wol->wolopts |= WAKE_MAGIC; in qlcnic_get_wol()
1024 if (wol->wolopts & ~WAKE_MAGIC) in qlcnic_set_wol()
1032 if (wol->wolopts & WAKE_MAGIC) in qlcnic_set_wol()
/linux-3.4.99/drivers/net/ethernet/qlogic/qlge/
Dqlge_ethtool.c392 wol->supported = WAKE_MAGIC; in ql_get_wol()
402 if (wol->wolopts & ~WAKE_MAGIC) in ql_set_wol()
/linux-3.4.99/drivers/net/ethernet/calxeda/
Dxgmac.c1653 wol->supported = WAKE_MAGIC | WAKE_UCAST; in xgmac_get_wol()
1662 u32 support = WAKE_MAGIC | WAKE_UCAST; in xgmac_set_wol()
1777 priv->wolopts = WAKE_MAGIC; /* Magic Frame as default */ in xgmac_probe()
1851 if (mode & WAKE_MAGIC) in xgmac_pmt()
/linux-3.4.99/drivers/net/ethernet/amd/
Damd8111e.c1469 wol_info->supported = WAKE_MAGIC|WAKE_PHY; in amd8111e_get_wol()
1471 wol_info->wolopts = WAKE_MAGIC; in amd8111e_get_wol()
1477 if (wol_info->wolopts & ~(WAKE_MAGIC|WAKE_PHY)) in amd8111e_set_wol()
1480 if (wol_info->wolopts & WAKE_MAGIC) in amd8111e_set_wol()
/linux-3.4.99/drivers/net/ethernet/davicom/
Ddm9000.c685 w->supported = dm->wake_supported ? WAKE_MAGIC : 0; in dm9000_get_wol()
699 if (opts & ~WAKE_MAGIC) in dm9000_set_wol()
702 if (opts & WAKE_MAGIC) in dm9000_set_wol()
/linux-3.4.99/drivers/net/ethernet/silan/
Dsc92031.c1263 wolinfo->supported = WAKE_PHY | WAKE_MAGIC in sc92031_ethtool_get_wol()
1271 wolinfo->wolopts |= WAKE_MAGIC; in sc92031_ethtool_get_wol()
1293 if (wolinfo->wolopts & WAKE_MAGIC) in sc92031_ethtool_set_wol()
/linux-3.4.99/drivers/net/ethernet/toshiba/
Dps3_gelic_net.c1321 wol->supported = WAKE_MAGIC; in gelic_net_get_wol()
1339 if (wol->wolopts & ~WAKE_MAGIC) in gelic_net_set_wol()
1343 if (wol->wolopts & WAKE_MAGIC) { in gelic_net_set_wol()
/linux-3.4.99/drivers/net/ethernet/intel/e1000e/
Dethtool.c1789 WAKE_BCAST | WAKE_MAGIC | WAKE_PHY; in e1000_get_wol()
1807 wol->wolopts |= WAKE_MAGIC; in e1000_get_wol()
1819 WAKE_MAGIC | WAKE_PHY))) in e1000_set_wol()
1831 if (wol->wolopts & WAKE_MAGIC) in e1000_set_wol()
/linux-3.4.99/drivers/net/usb/
Dasix.c694 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
699 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
710 if (wolinfo->wolopts & WAKE_MAGIC) in asix_set_wol()
Dpegasus.c1083 #define WOL_SUPPORTED (WAKE_MAGIC|WAKE_PHY)
1090 wol->supported = WAKE_MAGIC | WAKE_PHY; in pegasus_get_wol()
1103 if (wol->wolopts & WAKE_MAGIC) in pegasus_set_wol()
/linux-3.4.99/include/linux/
Dethtool.h1139 #define WAKE_MAGIC (1 << 5) macro
/linux-3.4.99/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_ethtool.c843 wol->supported = WAKE_MAGIC; in bnx2x_get_wol()
845 wol->wolopts = WAKE_MAGIC; in bnx2x_get_wol()
856 if (wol->wolopts & ~WAKE_MAGIC) { in bnx2x_set_wol()
861 if (wol->wolopts & WAKE_MAGIC) { in bnx2x_set_wol()
/linux-3.4.99/drivers/net/ethernet/3com/
Dtyphoon.c1111 wol->supported = WAKE_PHY | WAKE_MAGIC; 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()
1131 if(wol->wolopts & WAKE_MAGIC) in typhoon_set_wol()
/linux-3.4.99/drivers/net/ethernet/realtek/
D8139too.c2332 wol->supported = WAKE_PHY | WAKE_MAGIC in rtl8139_get_wol()
2339 wol->wolopts |= WAKE_MAGIC; in rtl8139_get_wol()
2364 ? (WAKE_PHY | WAKE_MAGIC in rtl8139_set_wol()
2374 if (wol->wolopts & WAKE_MAGIC) in rtl8139_set_wol()

123