]> git.proxmox.com Git - mirror_edk2.git/blame - IntelFrameworkModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
Code scrub for PCI Bus module and PciIncompatibleDeviceSupportLib module.
[mirror_edk2.git] / IntelFrameworkModulePkg / Bus / Pci / PciBusDxe / PciPowerManagement.h
CommitLineData
eeefcb9d 1/** @file\r
8e8227d1 2 Power management support fucntions delaration for PCI Bus module.\r
ead42efc 3\r
8e8227d1 4Copyright (c) 2006 - 2009, Intel Corporation\r
5All rights reserved. This program and the accompanying materials\r
6are licensed and made available under the terms and conditions of the BSD License\r
7which accompanies this distribution. The full text of the license may be found at\r
8http://opensource.org/licenses/bsd-license.php\r
9\r
10THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,\r
11WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
ead42efc 12\r
3db51098 13**/\r
ead42efc 14\r
eeefcb9d 15#ifndef _EFI_PCI_POWER_MANAGEMENT_H_\r
16#define _EFI_PCI_POWER_MANAGEMENT_H_\r
ead42efc 17\r
bcd70414 18/**\r
57076f45 19 This function is intended to turn off PWE assertion and\r
20 put the device to D0 state if the device supports\r
21 PCI Power Management.\r
ead42efc 22\r
8e8227d1 23 @param PciIoDevice PCI device instance.\r
24\r
25 @retval EFI_UNSUPPORTED PCI Device does not support power management.\r
26 @retval EFI_SUCCESS Turned off PWE successfully.\r
ead42efc 27\r
bcd70414 28**/\r
57076f45 29EFI_STATUS\r
30ResetPowerManagementFeature (\r
31 IN PCI_IO_DEVICE *PciIoDevice\r
ed66e1bc 32 );\r
ead42efc 33\r
34#endif\r