class PowerManagementCapability

Defined at line 69 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.h

Public Members

static const zx::duration[4][4] kStateRecoveryTime

Public Methods

void WaitForTransitionRecovery (PowerState old_state, PowerState new_state)

Defined at line 11 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.cc

PowerState GetPowerState (const pci::Config & cfg)

Defined at line 18 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.cc

void SetPowerState (const pci::Config & cfg, PowerState new_state)

Defined at line 24 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.cc

void PowerManagementCapability (const Config & cfg, uint8_t base)

Defined at line 94 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.h

PciReg16 pmc ()

Defined at line 104 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.h

PciReg16 pmcsr ()

Defined at line 105 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.h

Enumerations

enum PowerState
Name Value
D0 0
D1 1
D2 2
D3 3

Power states as defined in the spec. D3cold is considered "powered off" and

is not reflected in power states.

Defined at line 87 of file ../../src/devices/bus/drivers/pci/capabilities/power_management.h