]> git.proxmox.com Git - mirror_edk2.git/blob - MdeModulePkg/Bus/Pci/PciBusDxe/PciPowerManagement.h
MdeModulePkg: Replace BSD License with BSD+Patent License
[mirror_edk2.git] / MdeModulePkg / Bus / Pci / PciBusDxe / PciPowerManagement.h
1 /** @file
2 Power management support functions declaration for PCI Bus module.
3
4 Copyright (c) 2006 - 2019, Intel Corporation. All rights reserved.<BR>
5 SPDX-License-Identifier: BSD-2-Clause-Patent
6
7 **/
8
9 #ifndef _EFI_PCI_POWER_MANAGEMENT_H_
10 #define _EFI_PCI_POWER_MANAGEMENT_H_
11
12 /**
13 This function is intended to turn off PWE assertion and
14 put the device to D0 state if the device supports
15 PCI Power Management.
16
17 @param PciIoDevice PCI device instance.
18
19 @retval EFI_UNSUPPORTED PCI Device does not support power management.
20 @retval EFI_SUCCESS Turned off PWE successfully.
21
22 **/
23 EFI_STATUS
24 ResetPowerManagementFeature (
25 IN PCI_IO_DEVICE *PciIoDevice
26 );
27
28 #endif