Home
last modified time | relevance | path

Searched refs:WAKE_PHY (Results 1 – 25 of 45) sorted by relevance

12

/Linux-v5.4/drivers/net/wireless/marvell/mwifiex/
Dethtool.c28 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; 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()
58 if (wol->wolopts & WAKE_PHY) in mwifiex_ethtool_set_wol()
/Linux-v5.4/drivers/net/wireless/marvell/libertas/
Dethtool.c69 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; in lbs_ethtool_get_wol()
81 wol->wolopts |= WAKE_PHY; in lbs_ethtool_get_wol()
89 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in lbs_ethtool_set_wol()
99 if (wol->wolopts & WAKE_PHY) in lbs_ethtool_set_wol()
/Linux-v5.4/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c235 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1c_get_wol()
247 wol->wolopts |= WAKE_PHY; in atl1c_get_wol()
262 if (wol->wolopts & WAKE_PHY) in atl1c_set_wol()
/Linux-v5.4/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c350 wol->supported |= WAKE_PHY; in uec_get_wol()
362 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in uec_set_wol()
364 else if (wol->wolopts & WAKE_PHY && (!phydev || !phydev->irq)) in uec_set_wol()
/Linux-v5.4/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c322 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1e_get_wol()
334 wol->wolopts |= WAKE_PHY; in atl1e_get_wol()
349 if (wol->wolopts & WAKE_PHY) in atl1e_set_wol()
/Linux-v5.4/drivers/net/usb/
Dasix_common.c584 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
587 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
597 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
600 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol()
Dsr9800.c409 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in sr_get_wol()
412 wolinfo->wolopts |= WAKE_PHY; in sr_get_wol()
423 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in sr_set_wol()
426 if (wolinfo->wolopts & WAKE_PHY) in sr_set_wol()
Dax88179_178a.c543 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in ax88179_get_wol()
546 wolinfo->wolopts |= WAKE_PHY; in ax88179_get_wol()
557 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in ax88179_set_wol()
560 if (wolinfo->wolopts & WAKE_PHY) in ax88179_set_wol()
Dsmsc95xx.c38 #define SUPPORTED_WAKE (WAKE_PHY | WAKE_UCAST | WAKE_BCAST | \
1404 if (pdata->wolopts & WAKE_PHY) in smsc95xx_enter_suspend0()
1611 !(link_up || (pdata->wolopts & WAKE_PHY))) { in smsc95xx_suspend()
1639 if (pdata->wolopts & WAKE_PHY) { in smsc95xx_suspend()
1813 if (pdata->wolopts & WAKE_PHY) in smsc95xx_suspend()
Dpegasus.c900 #define WOL_SUPPORTED (WAKE_MAGIC|WAKE_PHY)
907 wol->supported = WAKE_MAGIC | WAKE_PHY; in pegasus_get_wol()
923 if (wol->wolopts & WAKE_PHY) in pegasus_set_wol()
Dsmsc75xx.c43 #define SUPPORTED_WAKE (WAKE_PHY | WAKE_UCAST | WAKE_BCAST | \
1816 !(link_up || (pdata->wolopts & WAKE_PHY))) { in smsc75xx_suspend()
1852 if (pdata->wolopts & WAKE_PHY) { in smsc75xx_suspend()
1985 if (pdata->wolopts & WAKE_PHY) { in smsc75xx_suspend()
/Linux-v5.4/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c786 WAKE_MAGIC | WAKE_PHY | WAKE_ARP; in lan743x_ethtool_get_wol()
805 if (wol->wolopts & WAKE_PHY) in lan743x_ethtool_set_wol()
806 adapter->wolopts |= WAKE_PHY; in lan743x_ethtool_set_wol()
/Linux-v5.4/drivers/net/ethernet/silan/
Dsc92031.c1265 wolinfo->supported = WAKE_PHY | WAKE_MAGIC in sc92031_ethtool_get_wol()
1270 wolinfo->wolopts |= WAKE_PHY; in sc92031_ethtool_get_wol()
1292 if (wolinfo->wolopts & WAKE_PHY) in sc92031_ethtool_set_wol()
/Linux-v5.4/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c237 if ((wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE))) in pch_gbe_set_wol()
/Linux-v5.4/drivers/net/ethernet/intel/e1000e/
Dethtool.c1894 WAKE_BCAST | WAKE_MAGIC | WAKE_PHY; in e1000_get_wol()
1913 wol->wolopts |= WAKE_PHY; in e1000_get_wol()
1923 WAKE_MAGIC | WAKE_PHY))) in e1000_set_wol()
1937 if (wol->wolopts & WAKE_PHY) in e1000_set_wol()
/Linux-v5.4/drivers/net/ethernet/3com/
Dtyphoon.c1115 wol->supported = WAKE_PHY | WAKE_MAGIC; in typhoon_get_wol()
1118 wol->wolopts |= WAKE_PHY; in typhoon_get_wol()
1129 if(wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in typhoon_set_wol()
1133 if(wol->wolopts & WAKE_PHY) in typhoon_set_wol()
/Linux-v5.4/drivers/net/ethernet/realtek/
D8139too.c2315 wol->supported = WAKE_PHY | WAKE_MAGIC in rtl8139_get_wol()
2320 wol->wolopts |= WAKE_PHY; in rtl8139_get_wol()
2347 ? (WAKE_PHY | WAKE_MAGIC in rtl8139_set_wol()
2355 if (wol->wolopts & WAKE_PHY) in rtl8139_set_wol()
D8139cp.c1334 if (wol->wolopts & WAKE_PHY) options |= LinkUp; in netdev_set_wol()
1365 wol->supported = WAKE_PHY | WAKE_BCAST | WAKE_MAGIC | in netdev_get_wol()
1371 if (options & LinkUp) wol->wolopts |= WAKE_PHY; in netdev_get_wol()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_ethtool.c1429 ret |= WAKE_PHY; in mlx5e_get_wol_supported()
1457 ret |= WAKE_PHY; in mlx5e_reformat_wol_mode_mlx5_to_linux()
1484 if (mode & WAKE_PHY) in mlx5e_reformat_wol_mode_linux_to_mlx5()
/Linux-v5.4/drivers/net/ethernet/amd/
Damd8111e.c1423 wol_info->supported = WAKE_MAGIC|WAKE_PHY; in amd8111e_get_wol()
1431 if (wol_info->wolopts & ~(WAKE_MAGIC|WAKE_PHY)) in amd8111e_set_wol()
1437 else if(wol_info->wolopts & WAKE_PHY) in amd8111e_set_wol()
/Linux-v5.4/drivers/net/ethernet/dlink/
Dsundance.c1756 wol->supported = (WAKE_PHY | WAKE_MAGIC); in sundance_get_wol()
1764 wol->wolopts |= WAKE_PHY; in sundance_get_wol()
1785 if (wol->wolopts & WAKE_PHY) in sundance_set_wol()
/Linux-v5.4/include/uapi/linux/
Dethtool.h1676 #define WAKE_PHY (1 << 0) macro
/Linux-v5.4/drivers/net/ethernet/sis/
Dsis900.c2100 if (wol->wolopts & WAKE_PHY) in sis900_set_wol()
2124 wol->wolopts |= WAKE_PHY; in sis900_get_wol()
2126 wol->supported = (WAKE_PHY | WAKE_MAGIC); in sis900_get_wol()
/Linux-v5.4/drivers/net/ethernet/via/
Dvia-rhine.c2363 wol->supported = WAKE_PHY | WAKE_MAGIC | in rhine_get_wol()
2372 u32 support = WAKE_PHY | WAKE_MAGIC | in rhine_set_wol()
2502 if (rp->wolopts & WAKE_PHY) in rhine_shutdown_pci()
/Linux-v5.4/drivers/net/ethernet/dec/tulip/
Ddmfe.c1106 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in dmfe_ethtool_get_wol()
2121 if (db->wol_mode & WAKE_PHY) in dmfe_suspend()

12