Home
last modified time | relevance | path

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

/drivers/net/ethernet/freescale/
Ducc_geth_ethtool.c366 wol->wolopts = ugeth->wol_en; in uec_get_wol()
381 ugeth->wol_en = wol->wolopts; in uec_set_wol()
382 device_set_wakeup_enable(&netdev->dev, ugeth->wol_en); in uec_set_wol()
Ducc_geth.h1232 int wol_en; member
Ducc_geth.c3491 device_set_wakeup_enable(&dev->dev, ugeth->wol_en); in ucc_geth_open()
3583 if (ugeth->wol_en & WAKE_MAGIC) { in ucc_geth_suspend()
3587 } else if (!(ugeth->wol_en & WAKE_PHY)) { in ucc_geth_suspend()
3604 if (ugeth->wol_en & WAKE_MAGIC) { in ucc_geth_resume()
/drivers/net/ethernet/emulex/benet/
Dbe_ethtool.c790 if (adapter->wol_en) in be_get_wol()
811 adapter->wol_en = true; in be_set_wol()
813 adapter->wol_en = false; in be_set_wol()
Dbe.h589 bool wol_en; member
Dbe_main.c5896 if (adapter->wol_en) in be_suspend()
5927 if (adapter->wol_en) in be_pci_resume()
Dbe_cmds.c3407 adapter->wol_en = true; in be_cmd_get_acpi_wol_cap()
/drivers/net/ethernet/intel/i40e/
Di40e_ethtool.c1774 wol->wolopts = (pf->wol_en ? WAKE_MAGIC : 0); in i40e_get_wol()
1810 if (pf->wol_en != !!wol->wolopts) { in i40e_set_wol()
1811 pf->wol_en = !!wol->wolopts; in i40e_set_wol()
1812 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_set_wol()
Di40e.h273 bool wol_en; member
Di40e_main.c10508 pf->wol_en = false; in i40e_probe()
10510 pf->wol_en = true; in i40e_probe()
10511 device_set_wakeup_enable(&pf->pdev->dev, pf->wol_en); in i40e_probe()
10997 wr32(hw, I40E_PFPM_APM, (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_shutdown()
10998 wr32(hw, I40E_PFPM_WUFC, (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_shutdown()
11009 (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_shutdown()
11011 (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_shutdown()
11022 pci_wake_from_d3(pdev, pf->wol_en); in i40e_shutdown()
11044 wr32(hw, I40E_PFPM_APM, (pf->wol_en ? I40E_PFPM_APM_APME_MASK : 0)); in i40e_suspend()
11045 wr32(hw, I40E_PFPM_WUFC, (pf->wol_en ? I40E_PFPM_WUFC_MAG_MASK : 0)); in i40e_suspend()
[all …]