Home
last modified time | relevance | path

Searched refs:WAKE_MAGICSECURE (Results 1 – 25 of 37) sorted by relevance

12

/openbmc/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c53 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol()
57 if (wol->wolopts & WAKE_MAGICSECURE) in bcmgenet_get_wol()
80 if (wol->wolopts & ~(WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER)) in bcmgenet_set_wol()
83 if (wol->wolopts & WAKE_MAGICSECURE) in bcmgenet_set_wol()
161 if (priv->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in bcmgenet_wol_power_down_cfg()
164 if (priv->wolopts & WAKE_MAGICSECURE) { in bcmgenet_wol_power_down_cfg()
241 if (priv->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in bcmgenet_wol_power_up_cfg()
/openbmc/linux/drivers/net/phy/
H A Ddp83tc811.c104 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in dp83811_set_wol()
127 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83811_set_wol()
163 wol->supported = (WAKE_MAGIC | WAKE_MAGICSECURE); in dp83811_get_wol()
187 wol->wolopts |= WAKE_MAGICSECURE; in dp83811_get_wol()
H A Ddp83822.c130 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in dp83822_set_wol()
153 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83822_set_wol()
188 wol->supported = (WAKE_MAGIC | WAKE_MAGICSECURE); in dp83822_get_wol()
212 wol->wolopts |= WAKE_MAGICSECURE; in dp83822_get_wol()
H A Ddp83869.c261 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83869_set_wol()
267 wol->wolopts & WAKE_MAGICSECURE) { in dp83869_set_wol()
296 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83869_set_wol()
346 WAKE_MAGICSECURE); in dp83869_get_wol()
395 wol->wolopts |= WAKE_MAGICSECURE; in dp83869_get_wol()
H A Dbcm-phy-lib.c830 WAKE_MAGICSECURE)
909 } else if (wol->wolopts & WAKE_MAGICSECURE) { in bcm_phy_set_wol()
918 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in bcm_phy_set_wol()
938 if (wol->wolopts & WAKE_MAGICSECURE) { in bcm_phy_set_wol()
1026 wol->wolopts |= WAKE_MAGICSECURE; in bcm_phy_get_wol()
H A Ddp83867.c201 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83867_set_wol()
224 if (wol->wolopts & WAKE_MAGICSECURE) { in dp83867_set_wol()
263 WAKE_MAGICSECURE); in dp83867_get_wol()
293 wol->wolopts |= WAKE_MAGICSECURE; in dp83867_get_wol()
/openbmc/linux/net/ethtool/
H A Dwol.c43 (data->wol.supported & WAKE_MAGICSECURE); in wol_prepare_data()
125 if (!(wol.supported & WAKE_MAGICSECURE)) { in ethnl_set_wol()
H A Dcommon.c406 [const_ilog2(WAKE_MAGICSECURE)] = "magicsecure",
/openbmc/linux/drivers/net/ethernet/microchip/
H A Dlan743x_ethtool.c1157 wol->supported |= WAKE_MAGICSECURE; in lan743x_ethtool_get_wol()
1160 if (adapter->wolopts & WAKE_MAGICSECURE) in lan743x_ethtool_get_wol()
1172 if ((wol->wolopts & WAKE_MAGICSECURE) && !(wol->wolopts & WAKE_MAGIC)) in lan743x_ethtool_set_wol()
1184 if (wol->wolopts & WAKE_MAGICSECURE && in lan743x_ethtool_set_wol()
1185 !(adapter->phy_wol_supported & WAKE_MAGICSECURE)) in lan743x_ethtool_set_wol()
1214 if (wol->wolopts & WAKE_MAGICSECURE && in lan743x_ethtool_set_wol()
1217 adapter->wolopts |= WAKE_MAGICSECURE; in lan743x_ethtool_set_wol()
/openbmc/linux/drivers/net/ethernet/broadcom/asp2/
H A Dbcmasp_ethtool.c190 #define BCMASP_SUPPORTED_WAKE (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER)
199 if (wol->wolopts & WAKE_MAGICSECURE) in bcmasp_get_wol()
214 if (intf->wolopts & WAKE_MAGICSECURE) in bcmasp_set_wol()
H A Dbcmasp_intf.c1319 if (intf->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) in bcmasp_suspend_to_wol()
1322 if (intf->wolopts & WAKE_MAGICSECURE) { in bcmasp_suspend_to_wol()
/openbmc/u-boot/include/linux/
H A Dethtool.h663 #define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ macro
/openbmc/linux/drivers/net/ethernet/atheros/atl1c/
H A Datl1c_ethtool.c252 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | in atl1c_set_wol()
/openbmc/linux/drivers/net/ethernet/broadcom/
H A Dbcmsysport.c548 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcm_sysport_get_wol()
551 if (!(priv->wolopts & WAKE_MAGICSECURE)) in bcm_sysport_get_wol()
562 u32 supported = WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcm_sysport_set_wol()
570 if (wol->wolopts & WAKE_MAGICSECURE) in bcm_sysport_set_wol()
2679 if (priv->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) in bcm_sysport_suspend_to_wol()
2682 if (priv->wolopts & WAKE_MAGICSECURE) { in bcm_sysport_suspend_to_wol()
/openbmc/linux/drivers/net/ethernet/atheros/atl1e/
H A Datl1e_ethtool.c339 if (wol->wolopts & (WAKE_ARP | WAKE_MAGICSECURE | in atl1e_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/phy/mscc/
H A Dmscc_main.c304 if (wol_conf->wolopts & WAKE_MAGICSECURE) { in vsc85xx_wol_set()
318 if (wol_conf->wolopts & WAKE_MAGICSECURE) in vsc85xx_wol_set()
364 wol_conf->wolopts |= WAKE_MAGICSECURE; in vsc85xx_wol_get()
365 if (wol_conf->wolopts & WAKE_MAGICSECURE) { in vsc85xx_wol_get()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_ethtool.c1532 ret |= WAKE_MAGICSECURE; in mlx5e_get_wol_supported()
1560 ret |= WAKE_MAGICSECURE; in mlx5e_reformat_wol_mode_mlx5_to_linux()
1587 if (mode & WAKE_MAGICSECURE) in mlx5e_reformat_wol_mode_linux_to_mlx5()
/openbmc/linux/include/uapi/linux/
H A Dethtool.h1990 #define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dethtool.h2048 #define WAKE_MAGICSECURE (1 << 6) /* only meaningful if WAKE_MAGIC */ macro
/openbmc/linux/drivers/net/ethernet/natsemi/
H A Dnatsemi.c2722 if (newval & WAKE_MAGICSECURE) { in netdev_set_wol()
2743 *supported |= WAKE_MAGICSECURE; in netdev_get_wol()
2762 *cur |= WAKE_MAGICSECURE; in netdev_get_wol()
/openbmc/linux/drivers/net/vmxnet3/
H A Dvmxnet3_ethtool.c629 WAKE_MAGICSECURE)) { in vmxnet3_set_wol()
/openbmc/linux/drivers/net/dsa/
H A Dbcm_sf2.c1006 if (pwol.wolopts & WAKE_MAGICSECURE) in bcm_sf2_sw_get_wol()
/openbmc/linux/drivers/net/ethernet/intel/e1000/
H A De1000_ethtool.c1683 if (wol->wolopts & (WAKE_PHY | WAKE_ARP | WAKE_MAGICSECURE)) in e1000_set_wol()
/openbmc/linux/drivers/net/ethernet/dec/tulip/
H A Ddmfe.c1087 WAKE_ARP | WAKE_MAGICSECURE)) in dmfe_ethtool_set_wol()

12