Home
last modified time | relevance | path

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

1234

/linux-6.6.21/drivers/net/ethernet/wangxun/ngbe/
Dngbe_ethtool.c19 wol->supported = WAKE_MAGIC; in ngbe_get_wol()
22 wol->wolopts |= WAKE_MAGIC; in ngbe_get_wol()
35 if (wol->wolopts & WAKE_MAGIC) in ngbe_set_wol()
/linux-6.6.21/drivers/net/ethernet/broadcom/genet/
Dbcmgenet_wol.c57 wol->supported = WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol()
84 if (wol->wolopts & ~(WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER)) in bcmgenet_set_wol()
163 if (priv->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in bcmgenet_wol_power_down_cfg()
241 if (priv->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in bcmgenet_wol_power_up_cfg()
/linux-6.6.21/drivers/net/phy/
Ddp83tc811.c104 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in dp83811_set_wol()
122 if (wol->wolopts & WAKE_MAGIC) in dp83811_set_wol()
163 wol->supported = (WAKE_MAGIC | WAKE_MAGICSECURE); in dp83811_get_wol()
169 wol->wolopts |= WAKE_MAGIC; in dp83811_get_wol()
Ddp83822.c130 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in dp83822_set_wol()
148 if (wol->wolopts & WAKE_MAGIC) in dp83822_set_wol()
188 wol->supported = (WAKE_MAGIC | WAKE_MAGICSECURE); in dp83822_get_wol()
194 wol->wolopts |= WAKE_MAGIC; in dp83822_get_wol()
Dsmsc.c300 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in lan874x_get_wol()
315 wol->wolopts |= WAKE_MAGIC; in lan874x_get_wol()
440 if (wol->wolopts & WAKE_MAGIC) in lan874x_set_wol()
480 if (wol->wolopts & (WAKE_MAGIC | WAKE_UCAST)) { in lan874x_set_wol()
Dbcm-phy-lib.c829 WAKE_MAGIC | \
911 } else if (wol->wolopts & WAKE_MAGIC) { in bcm_phy_set_wol()
918 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE)) { in bcm_phy_set_wol()
945 if (wol->wolopts & WAKE_MAGIC) in bcm_phy_set_wol()
1023 wol->wolopts |= WAKE_MAGIC; in bcm_phy_get_wol()
Ddp83869.c261 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83869_set_wol()
266 if (wol->wolopts & WAKE_MAGIC || in dp83869_set_wol()
345 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in dp83869_get_wol()
362 wol->wolopts |= WAKE_MAGIC; in dp83869_get_wol()
Ddp83867.c201 if (wol->wolopts & (WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_UCAST | in dp83867_set_wol()
206 if (wol->wolopts & WAKE_MAGIC) { in dp83867_set_wol()
262 wol->supported = (WAKE_UCAST | WAKE_BCAST | WAKE_MAGIC | in dp83867_get_wol()
275 wol->wolopts |= WAKE_MAGIC; in dp83867_get_wol()
Dmxl-gpy.c675 if (wol->wolopts & WAKE_MAGIC) { in gpy_set_wol()
755 wol->supported = WAKE_MAGIC | WAKE_PHY; in gpy_get_wol()
760 wol->wolopts |= WAKE_MAGIC; in gpy_get_wol()
Dmarvell10g.c1272 wol->supported = WAKE_MAGIC; in mv3110_get_wol()
1280 wol->wolopts |= WAKE_MAGIC; in mv3110_get_wol()
1288 if (wol->wolopts & WAKE_MAGIC) { in mv3110_set_wol()
Dmotorcomm.c437 wol->supported = WAKE_MAGIC; in ytphy_get_wol()
445 wol->wolopts |= WAKE_MAGIC; in ytphy_get_wol()
474 if (wol->wolopts & WAKE_MAGIC) { in ytphy_set_wol()
544 if (wol->wolopts & WAKE_MAGIC) { in yt8531_set_wol()
/linux-6.6.21/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c354 wol->supported |= WAKE_MAGIC; in uec_get_wol()
364 if (wol->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in uec_set_wol()
368 else if (wol->wolopts & WAKE_MAGIC && !qe_alive_during_sleep()) in uec_set_wol()
Dgianfar_ethtool.c561 wol->supported |= WAKE_MAGIC; in gfar_get_wol()
567 wol->wolopts |= WAKE_MAGIC; in gfar_get_wol()
582 if (wol->wolopts & ~(WAKE_MAGIC | WAKE_UCAST)) in gfar_set_wol()
585 if (wol->wolopts & WAKE_MAGIC) { in gfar_set_wol()
/linux-6.6.21/drivers/net/ethernet/atheros/atl1c/
Datl1c_ethtool.c233 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1c_get_wol()
243 wol->wolopts |= WAKE_MAGIC; in atl1c_get_wol()
258 if (wol->wolopts & WAKE_MAGIC) in atl1c_set_wol()
/linux-6.6.21/drivers/net/ethernet/aquantia/atlantic/
Daq_cfg.h73 #define AQ_CFG_WOL_MODES WAKE_MAGIC
Daq_nic.h93 #define AQ_NIC_WOL_MODES (WAKE_MAGIC |\
/linux-6.6.21/drivers/net/ethernet/atheros/atl1e/
Datl1e_ethtool.c320 wol->supported = WAKE_MAGIC | WAKE_PHY; in atl1e_get_wol()
330 wol->wolopts |= WAKE_MAGIC; in atl1e_get_wol()
345 if (wol->wolopts & WAKE_MAGIC) in atl1e_set_wol()
/linux-6.6.21/drivers/net/ethernet/oki-semi/pch_gbe/
Dpch_gbe_ethtool.c213 wol->supported = WAKE_UCAST | WAKE_MCAST | WAKE_BCAST | WAKE_MAGIC; in pch_gbe_get_wol()
223 wol->wolopts |= WAKE_MAGIC; in pch_gbe_get_wol()
250 if ((wol->wolopts & WAKE_MAGIC)) in pch_gbe_set_wol()
/linux-6.6.21/drivers/net/usb/
Dasix_common.c602 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in asix_get_wol()
607 wolinfo->wolopts |= WAKE_MAGIC; in asix_get_wol()
615 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in asix_set_wol()
620 if (wolinfo->wolopts & WAKE_MAGIC) in asix_set_wol()
Dsr9800.c409 wolinfo->supported = WAKE_PHY | WAKE_MAGIC; in sr_get_wol()
414 wolinfo->wolopts |= WAKE_MAGIC; in sr_get_wol()
423 if (wolinfo->wolopts & ~(WAKE_PHY | WAKE_MAGIC)) in sr_set_wol()
428 if (wolinfo->wolopts & WAKE_MAGIC) in sr_set_wol()
/linux-6.6.21/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ethtool.c699 wol->supported |= WAKE_MAGIC; in netxen_nic_get_wol()
703 wol->wolopts |= WAKE_MAGIC; in netxen_nic_get_wol()
715 if (wol->wolopts & ~WAKE_MAGIC) in netxen_nic_set_wol()
723 if (wol->wolopts & WAKE_MAGIC) in netxen_nic_set_wol()
/linux-6.6.21/drivers/net/ethernet/sfc/siena/
Dsiena.c674 wol->supported = WAKE_MAGIC; in siena_get_wol()
676 wol->wolopts = WAKE_MAGIC; in siena_get_wol()
688 if (type & ~WAKE_MAGIC) in siena_set_wol()
691 if (type & WAKE_MAGIC) { in siena_set_wol()
/linux-6.6.21/drivers/net/ethernet/microchip/
Dlan743x_ethtool.c1150 WAKE_MAGIC | WAKE_PHY | WAKE_ARP; in lan743x_ethtool_get_wol()
1172 if (wol->wolopts & WAKE_MAGIC) in lan743x_ethtool_set_wol()
1173 adapter->wolopts |= WAKE_MAGIC; in lan743x_ethtool_set_wol()
1179 wol->wolopts & WAKE_MAGIC) { in lan743x_ethtool_set_wol()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c793 wol->supported |= WAKE_MAGIC; in be_get_wol()
795 wol->wolopts |= WAKE_MAGIC; in be_get_wol()
811 if (wol->wolopts & ~WAKE_MAGIC) in be_set_wol()
826 enable = wol->wolopts & WAKE_MAGIC; in be_set_wol()
/linux-6.6.21/drivers/net/ethernet/stmicro/stmmac/
Dstmmac_ethtool.c834 wol->supported = WAKE_MAGIC | WAKE_UCAST; in stmmac_get_wol()
836 wol->supported &= ~WAKE_MAGIC; in stmmac_get_wol()
845 u32 support = WAKE_MAGIC | WAKE_UCAST; in stmmac_set_wol()
862 wol->wolopts &= ~WAKE_MAGIC; in stmmac_set_wol()

1234