enablePCIPowerManagement
enable PCI power management for sleep state
Declaration
virtual IOReturn enablePCIPowerManagement(
IOOptionBits state = 0xffffffff);Parameters
- state(optional):
Enables PCI Power Management by placing the function in the given state (e.g. kPCIPMCSPowerStateD3). If state is not specified or is 0xffffffff, then the IOPCIDevice determines the desired state. If state is kPCIPMCSPowerStateD0 (0) then PCI Power Management is disabled.
Return Value
kIOReturnSuccess if there were no errors
Overview
This method will enable PCI Bus Powermanagement when going to sleep mode.
See Also
Miscellaneous
configRead16configRead32configRead8configWrite16configWrite32configWrite8extendedConfigRead16extendedConfigRead32extendedConfigRead8extendedConfigWrite16extendedConfigWrite32extendedConfigWrite8extendedFindPCICapabilityfindPCICapabilitygetBusNumbergetDeviceMemoryWithRegistergetDeviceNumbergetFunctionNumberhasPCIPowerManagementioDeviceMemoryioRead16ioRead32ioRead8ioWrite16ioWrite32ioWrite8mapDeviceMemoryWithRegistersetBusMasterEnablesetConfigBitssetIOEnablesetMemoryEnable