Home
last modified time | relevance | path

Searched refs:wol_en (Results 1 – 10 of 10) sorted by relevance

/openbmc/linux/drivers/net/ethernet/freescale/
H A Ducc_geth_ethtool.c356 wol->wolopts = ugeth->wol_en; in uec_get_wol()
371 ugeth->wol_en = wol->wolopts; in uec_set_wol()
372 device_set_wakeup_enable(&netdev->dev, ugeth->wol_en); in uec_set_wol()
H A Ducc_geth.h1220 int wol_en; member
H A Ducc_geth.c3320 device_set_wakeup_enable(&dev->dev, ugeth->wol_en); in ucc_geth_open()
3413 if (ugeth->wol_en & WAKE_MAGIC) { in ucc_geth_suspend()
3417 } else if (!(ugeth->wol_en & WAKE_PHY)) { in ucc_geth_suspend()
3434 if (ugeth->wol_en & WAKE_MAGIC) { in ucc_geth_resume()
/openbmc/linux/drivers/net/ethernet/emulex/benet/
H A Dbe_ethtool.c794 if (adapter->wol_en) in be_get_wol()
840 adapter->wol_en = enable ? true : false; in be_set_wol()
H A Dbe.h658 bool wol_en; member
H A Dbe_main.c4578 pci_enable_wake(adapter->pdev, PCI_D3hot, adapter->wol_en); in be_get_config()
4579 pci_enable_wake(adapter->pdev, PCI_D3cold, adapter->wol_en); in be_get_config()
H A Dbe_cmds.c4069 adapter->wol_en = true; in be_cmd_get_acpi_wol_cap()
/openbmc/linux/drivers/net/ethernet/intel/i40e/
H A Di40e.h460 bool wol_en; member
H A Di40e_ethtool.c2763 wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0); in i40e_get_wol()
2799 if (pf->wol_en != !!wol->wolopts) { in i40e_set_wol()
2800 pf->wol_en = !!wol->wolopts; in i40e_set_wol()
2801 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_set_wol()
H A Di40e_main.c15993 pf->wol_en = false; in i40e_probe()
15995 pf->wol_en = true; in i40e_probe()
15996 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_probe()
16625 if (pf->wol_en && (pf->hw_features & I40E_HW_WOL_MC_MAGIC_PKT_WAKE)) in i40e_shutdown()
16631 (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_shutdown()
16633 (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_shutdown()
16649 pci_wake_from_d3(pdev, pf->wol_en); in i40e_shutdown()
16678 if (pf->wol_en && (pf->hw_features & I40E_HW_WOL_MC_MAGIC_PKT_WAKE)) in i40e_suspend()
16689 wr32(hw, I40E_PFPM_APM, (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_suspend()
16690 wr32(hw, I40E_PFPM_WUFC, (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_suspend()