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