Home
last modified time | relevance | path

Searched refs:wol_enabled (Results 1 – 25 of 28) sorted by relevance

12

/Linux-v6.6/drivers/net/ethernet/wangxun/ngbe/
Dngbe_ethtool.c37 netdev->wol_enabled = !!(wx->wol); in ngbe_set_wol()
39 device_set_wakeup_enable(&pdev->dev, netdev->wol_enabled); in ngbe_set_wol()
Dngbe_main.c639 netdev->wol_enabled = !!(wx->wol); in ngbe_probe()
/Linux-v6.6/drivers/net/ethernet/dlink/
Dsundance.c397 unsigned int wol_enabled:1; /* Wake on LAN enabled */ member
895 np->wol_enabled = 0; in netdev_open()
1742 if (!np->wol_enabled) in sundance_get_wol()
1762 np->wol_enabled = !!(wol->wolopts); in sundance_set_wol()
1767 if (np->wol_enabled) { in sundance_set_wol()
1775 device_set_wakeup_enable(&np->pci_dev->dev, np->wol_enabled); in sundance_set_wol()
1944 if (np->wol_enabled) { in sundance_suspend()
1949 device_set_wakeup_enable(dev_d, np->wol_enabled); in sundance_suspend()
/Linux-v6.6/net/ethtool/
Dwol.c140 dev->wol_enabled = !!wol.wolopts; in ethnl_set_wol()
Dioctl.c1464 dev->wol_enabled = !!wol.wolopts; in ethtool_set_wol()
/Linux-v6.6/drivers/net/ethernet/realtek/
D8139cp.c348 unsigned wol_enabled : 1; /* Is Wake-on-LAN enabled? */ member
1049 cp->wol_enabled = 0; in cp_init_hw()
1353 cp->wol_enabled = (wol->wolopts) ? 1 : 0; in netdev_set_wol()
1368 if (!cp->wol_enabled) return; in netdev_get_wol()
2020 if (cp->wol_enabled) in cp_init_one()
2045 if (cp->wol_enabled) in cp_remove_one()
2073 device_set_wakeup_enable(device, cp->wol_enabled); in cp_suspend()
Dr8169_main.c1458 tp->dev->wol_enabled = wolopts ? 1 : 0; in __rtl8169_set_wol()
5324 dev->wol_enabled = 1; in rtl_init_one()
/Linux-v6.6/drivers/net/ethernet/renesas/
Dsh_eth.h564 unsigned wol_enabled:1; member
Dravb_main.c1694 wol->wolopts = priv->wol_enabled ? WAKE_MAGIC : 0; in ravb_get_wol()
1705 priv->wol_enabled = !!(wol->wolopts & WAKE_MAGIC); in ravb_set_wol()
1707 device_set_wakeup_enable(&priv->pdev->dev, priv->wol_enabled); in ravb_set_wol()
2965 if (priv->wol_enabled) in ravb_suspend()
2984 if (priv->wol_enabled) in ravb_resume()
3015 if (priv->wol_enabled) { in ravb_resume()
Dsh_eth.c2372 wol->wolopts = mdp->wol_enabled ? WAKE_MAGIC : 0; in sh_eth_get_wol()
2383 mdp->wol_enabled = !!(wol->wolopts & WAKE_MAGIC); in sh_eth_set_wol()
2385 device_set_wakeup_enable(&mdp->pdev->dev, mdp->wol_enabled); in sh_eth_set_wol()
3499 if (mdp->wol_enabled) in sh_eth_suspend()
3516 if (mdp->wol_enabled) in sh_eth_resume()
Dravb.h1099 unsigned wol_enabled:1; member
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/
Dhw_atl_utils.c967 static int aq_fw1x_set_wake_magic(struct aq_hw_s *self, bool wol_enabled, in aq_fw1x_set_wake_magic() argument
980 if (wol_enabled) { in aq_fw1x_set_wake_magic()
Dhw_atl_utils.h631 int hw_atl_utils_fw_set_wol(struct aq_hw_s *self, bool wol_enabled, u8 *mac);
/Linux-v6.6/drivers/net/phy/
Drealtek.c434 if (!phydev->wol_enabled) { in rtl821x_suspend()
451 if (!phydev->wol_enabled) in rtl821x_resume()
Dat803x.c582 int wol_enabled; in at803x_suspend() local
585 wol_enabled = value & AT803X_INTR_ENABLE_WOL; in at803x_suspend()
587 if (wol_enabled) in at803x_suspend()
Dbroadcom.c493 if (phydev->wol_enabled) in bcm54xx_suspend()
511 if (phydev->wol_enabled) { in bcm54xx_resume()
Dphy_device.c288 if (netdev->wol_enabled) in mdio_bus_phy_may_suspend()
1862 phydev->wol_enabled = wol.wolopts || (netdev && netdev->wol_enabled); in phy_suspend()
1864 if (phydev->wol_enabled && !(phydrv->flags & PHY_ALWAYS_CALL_SUSPEND)) in phy_suspend()
Dphy.c1286 if (netdev->wol_enabled) in phy_interrupt()
Dphylink.c2175 if (mac_wol && (!pl->netdev || pl->netdev->wol_enabled)) { in phylink_suspend()
/Linux-v6.6/drivers/net/ethernet/qlogic/qede/
Dqede.h257 bool wol_enabled; member
Dqede_ethtool.c676 wol->wolopts = edev->wol_enabled ? WAKE_MAGIC : 0; in qede_get_wol()
693 if (wol_requested == edev->wol_enabled) in qede_set_wol()
704 edev->wol_enabled = wol_requested; in qede_set_wol()
Dqede_main.c832 edev->wol_enabled = true; in qede_alloc_etherdev()
/Linux-v6.6/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c487 if (!ixgbe_mng_present(hw) && !hw->wol_enabled && in ixgbe_stop_mac_link_on_d3_82599()
1021 hw->wol_enabled) in ixgbe_reset_hw_82599()
Dixgbe_type.h3653 bool wol_enabled; member
/Linux-v6.6/include/linux/
Dphy.h658 unsigned wol_enabled:1; member

12