Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c352 wol->wolopts = ugeth->wol_en; in uec_get_wol()
367 ugeth->wol_en = wol->wolopts; in uec_set_wol()
368 device_set_wakeup_enable(&netdev->dev, ugeth->wol_en); in uec_set_wol()
Ducc_geth.h1227 int wol_en; member
Ducc_geth.c3482 device_set_wakeup_enable(&dev->dev, ugeth->wol_en); in ucc_geth_open()
3575 if (ugeth->wol_en & WAKE_MAGIC) { in ucc_geth_suspend()
3579 } else if (!(ugeth->wol_en & WAKE_PHY)) { in ucc_geth_suspend()
3596 if (ugeth->wol_en & WAKE_MAGIC) { in ucc_geth_resume()
/kernel/linux/linux-5.10/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c788 if (adapter->wol_en) in be_get_wol()
834 adapter->wol_en = enable ? true : false; in be_set_wol()
Dbe.h659 bool wol_en; member
Dbe_main.c4577 pci_enable_wake(adapter->pdev, PCI_D3hot, adapter->wol_en); in be_get_config()
4578 pci_enable_wake(adapter->pdev, PCI_D3cold, adapter->wol_en); in be_get_config()
Dbe_cmds.c4068 adapter->wol_en = true; in be_cmd_get_acpi_wol_cap()
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/
Di40e.h460 bool wol_en; member
Di40e_ethtool.c2660 wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0); in i40e_get_wol()
2696 if (pf->wol_en != !!wol->wolopts) { in i40e_set_wol()
2697 pf->wol_en = !!wol->wolopts; in i40e_set_wol()
2698 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_set_wol()
Di40e_main.c15108 pf->wol_en = false; in i40e_probe()
15110 pf->wol_en = true; in i40e_probe()
15111 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_probe()
15719 if (pf->wol_en && (pf->hw_features & I40E_HW_WOL_MC_MAGIC_PKT_WAKE)) in i40e_shutdown()
15725 (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_shutdown()
15727 (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_shutdown()
15743 pci_wake_from_d3(pdev, pf->wol_en); in i40e_shutdown()
15772 if (pf->wol_en && (pf->hw_features & I40E_HW_WOL_MC_MAGIC_PKT_WAKE)) in i40e_suspend()
15783 wr32(hw, I40E_PFPM_APM, (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_suspend()
15784 wr32(hw, I40E_PFPM_WUFC, (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_suspend()