Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/net/ethernet/freescale/
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()
Ducc_geth.h1220 int wol_en; member
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()
/linux-6.6.21/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c794 if (adapter->wol_en) in be_get_wol()
840 adapter->wol_en = enable ? true : false; in be_set_wol()
Dbe.h658 bool wol_en; member
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()
Dbe_cmds.c4069 adapter->wol_en = true; in be_cmd_get_acpi_wol_cap()
/linux-6.6.21/drivers/net/ethernet/intel/i40e/
Di40e.h487 bool wol_en; member
Di40e_ethtool.c2762 wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0); in i40e_get_wol()
2798 if (pf->wol_en != !!wol->wolopts) { in i40e_set_wol()
2799 pf->wol_en = !!wol->wolopts; in i40e_set_wol()
2800 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_set_wol()
Di40e_main.c15963 pf->wol_en = false; in i40e_probe()
15965 pf->wol_en = true; in i40e_probe()
15966 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_probe()
16595 if (pf->wol_en && (pf->hw_features & I40E_HW_WOL_MC_MAGIC_PKT_WAKE)) in i40e_shutdown()
16601 (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_shutdown()
16603 (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_shutdown()
16619 pci_wake_from_d3(pdev, pf->wol_en); in i40e_shutdown()
16648 if (pf->wol_en && (pf->hw_features & I40E_HW_WOL_MC_MAGIC_PKT_WAKE)) in i40e_suspend()
16659 wr32(hw, I40E_PFPM_APM, (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_suspend()
16660 wr32(hw, I40E_PFPM_WUFC, (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_suspend()