Searched refs:wol_en (Results 1 – 10 of 10) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/freescale/ |
D | ucc_geth_ethtool.c | 352 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()
|
D | ucc_geth.h | 1227 int wol_en; member
|
D | ucc_geth.c | 3482 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/ |
D | be_ethtool.c | 788 if (adapter->wol_en) in be_get_wol() 834 adapter->wol_en = enable ? true : false; in be_set_wol()
|
D | be.h | 659 bool wol_en; member
|
D | be_main.c | 4577 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()
|
D | be_cmds.c | 4068 adapter->wol_en = true; in be_cmd_get_acpi_wol_cap()
|
/kernel/linux/linux-5.10/drivers/net/ethernet/intel/i40e/ |
D | i40e.h | 460 bool wol_en; member
|
D | i40e_ethtool.c | 2660 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()
|
D | i40e_main.c | 15108 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()
|