Home
last modified time | relevance | path

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

123

/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A Dethtool.c16 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; in mwifiex_ethtool_get_wol()
28 wol->wolopts |= WAKE_PHY; in mwifiex_ethtool_get_wol()
37 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in mwifiex_ethtool_set_wol()
46 if (wol->wolopts & WAKE_PHY) in mwifiex_ethtool_set_wol()
/openbmc/linux/drivers/net/wireless/marvell/libertas/
H A Dethtool.c66 wol->supported = WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY; in lbs_ethtool_get_wol()
78 wol->wolopts |= WAKE_PHY; in lbs_ethtool_get_wol()
86 if (wol->wolopts & ~(WAKE_UCAST|WAKE_MCAST|WAKE_BCAST|WAKE_PHY)) in lbs_ethtool_set_wol()
96 if (wol->wolopts & WAKE_PHY) in lbs_ethtool_set_wol()
/openbmc/linux/drivers/net/ethernet/freescale/
H A Ducc_geth_ethtool.c352 wol->supported |= WAKE_PHY; in uec_get_wol()
364 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in uec_set_wol()
366 else if (wol->wolopts & WAKE_PHY && (!phydev || !phydev->irq)) in uec_set_wol()
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c233 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1c_get_wol()
245 wol->wolopts |= WAKE_PHY; in atl1c_get_wol()
260 if (wol->wolopts & WAKE_PHY) in atl1c_set_wol()
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_ethtool.c320 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1e_get_wol()
332 wol->wolopts |= WAKE_PHY; in atl1e_get_wol()
347 if (wol->wolopts & WAKE_PHY) in atl1e_set_wol()
/openbmc/linux/drivers/net/phy/
H A Dmxl-gpy.c638 if (priv->wolopts & WAKE_PHY) in gpy_config_intr()
753 if (wol->wolopts & WAKE_PHY) { in gpy_set_wol()
767 priv->wolopts |= WAKE_PHY; in gpy_set_wol()
771 priv->wolopts &= ~WAKE_PHY; in gpy_set_wol()
781 wol->supported = WAKE_MAGIC | WAKE_PHY; in gpy_get_wol()
H A Dmarvell.c1817 wol->supported = WAKE_MAGIC | WAKE_PHY; in m88e1318_get_wol()
1829 wol->wolopts |= WAKE_PHY; in m88e1318_get_wol()
1841 if (wol->wolopts & (WAKE_MAGIC | WAKE_PHY)) { in m88e1318_set_wol()
1916 if (wol->wolopts & WAKE_PHY) { in m88e1318_set_wol()
/openbmc/linux/drivers/net/usb/
H A Dasix_common.c602 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
605 wolinfo->wolopts |= WAKE_PHY; in asix_get_wol()
615 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
618 if (wolinfo->wolopts & WAKE_PHY) in asix_set_wol()
H A 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()
H A Dsmsc95xx.c44 #define SUPPORTED_WAKE (WAKE_PHY | WAKE_UCAST | WAKE_BCAST | \
1335 if (pdata->wolopts & WAKE_PHY) in smsc95xx_enter_suspend0()
1523 !(link_up || (pdata->wolopts & WAKE_PHY))) { in smsc95xx_suspend()
1551 if (pdata->wolopts & WAKE_PHY) { in smsc95xx_suspend()
1718 if (pdata->wolopts & WAKE_PHY) in smsc95xx_suspend()
H A Dpegasus.c902 #define WOL_SUPPORTED (WAKE_MAGIC|WAKE_PHY)
909 wol->supported = WAKE_MAGIC | WAKE_PHY; in pegasus_get_wol()
925 if (wol->wolopts & WAKE_PHY) in pegasus_set_wol()
H A Dsmsc75xx.c43 #define SUPPORTED_WAKE (WAKE_PHY | WAKE_UCAST | WAKE_BCAST | \
1826 !(link_up || (pdata->wolopts & WAKE_PHY))) { in smsc75xx_suspend()
1862 if (pdata->wolopts & WAKE_PHY) { in smsc75xx_suspend()
1995 if (pdata->wolopts & WAKE_PHY) { in smsc75xx_suspend()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/
H A Daq_nic.h94 WAKE_PHY)
/openbmc/u-boot/include/linux/
H A Dethtool.h657 #define WAKE_PHY (1 << 0) macro
/openbmc/linux/drivers/net/ethernet/silan/
H A Dsc92031.c1266 wolinfo->supported = WAKE_PHY | WAKE_MAGIC in sc92031_ethtool_get_wol()
1271 wolinfo->wolopts |= WAKE_PHY; in sc92031_ethtool_get_wol()
1293 if (wolinfo->wolopts & WAKE_PHY) in sc92031_ethtool_set_wol()
/openbmc/linux/drivers/net/ethernet/oki-semi/pch_gbe/
H A Dpch_gbe_ethtool.c239 if ((wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE))) in pch_gbe_set_wol()
/openbmc/linux/drivers/net/ethernet/amd/
H A Damd8111e.c1420 wol_info->supported = WAKE_MAGIC|WAKE_PHY; in amd8111e_get_wol()
1428 if (wol_info->wolopts & ~(WAKE_MAGIC|WAKE_PHY)) in amd8111e_set_wol()
1434 else if (wol_info->wolopts & WAKE_PHY) in amd8111e_set_wol()
/openbmc/linux/drivers/net/ethernet/realtek/
H A D8139too.c2316 wol->supported = WAKE_PHY | WAKE_MAGIC in rtl8139_get_wol()
2321 wol->wolopts |= WAKE_PHY; in rtl8139_get_wol()
2348 ? (WAKE_PHY | WAKE_MAGIC in rtl8139_set_wol()
2356 if (wol->wolopts & WAKE_PHY) in rtl8139_set_wol()
H A 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()
/openbmc/linux/drivers/net/ethernet/intel/e1000e/
H A Dethtool.c1923 WAKE_BCAST | WAKE_MAGIC | WAKE_PHY; in e1000_get_wol()
1942 wol->wolopts |= WAKE_PHY; in e1000_get_wol()
1952 WAKE_MAGIC | WAKE_PHY))) in e1000_set_wol()
1966 if (wol->wolopts & WAKE_PHY) in e1000_set_wol()
/openbmc/linux/drivers/net/ethernet/3com/
H A Dtyphoon.c1109 wol->supported = WAKE_PHY | WAKE_MAGIC; in typhoon_get_wol()
1112 wol->wolopts |= WAKE_PHY; in typhoon_get_wol()
1123 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in typhoon_set_wol()
1127 if (wol->wolopts & WAKE_PHY) in typhoon_set_wol()
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c1210 if (wol->wolopts & WAKE_PHY) in lan743x_ethtool_set_wol()
1211 adapter->wolopts |= WAKE_PHY; in lan743x_ethtool_set_wol()
/openbmc/linux/drivers/net/ethernet/dlink/
H A Dsundance.c1741 wol->supported = (WAKE_PHY | WAKE_MAGIC); in sundance_get_wol()
1749 wol->wolopts |= WAKE_PHY; in sundance_get_wol()
1770 if (wol->wolopts & WAKE_PHY) in sundance_set_wol()
/openbmc/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/
H A Dhw_atl_utils_fw2x.c367 if (self->aq_nic_cfg->wol & WAKE_PHY) { in aq_fw2x_set_wol()
/openbmc/linux/drivers/net/ethernet/intel/igc/
H A Digc_ethtool.c361 WAKE_PHY; in igc_ethtool_get_wol()
378 wol->wolopts |= WAKE_PHY; in igc_ethtool_get_wol()
403 if (wol->wolopts & WAKE_PHY) in igc_ethtool_set_wol()

123