struct PmcsrReg

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

Public Members

uint16_t value

Public Methods

typename std::remove_reference_t<decltype(value)> power_state ()

RW. The current power state from 0 to D3hot.

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

pci::PmcsrReg & set_power_state (typename std::remove_reference_t<decltype(value)> val)

RW. The current power state from 0 to D3hot.

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

typename std::remove_reference_t<decltype(value)> no_soft_reset ()

RO. Set if function state is preserved after state transition from D3hot to

D0. Otherwise, the device state is undefined.

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

pci::PmcsrReg & set_no_soft_reset (typename std::remove_reference_t<decltype(value)> val)

RO. Set if function state is preserved after state transition from D3hot to

D0. Otherwise, the device state is undefined.

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

typename std::remove_reference_t<decltype(value)> pme_en ()

RW/RWS. Set if the function is permitted to generate a PME.

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

pci::PmcsrReg & set_pme_en (typename std::remove_reference_t<decltype(value)> val)

RW/RWS. Set if the function is permitted to generate a PME.

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

typename std::remove_reference_t<decltype(value)> data_select ()

RW. Controls which data to route to the Data register.

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

pci::PmcsrReg & set_data_select (typename std::remove_reference_t<decltype(value)> val)

RW. Controls which data to route to the Data register.

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

typename std::remove_reference_t<decltype(value)> data_scale ()

RO. Scaling factor for the data register.

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

pci::PmcsrReg & set_data_scale (typename std::remove_reference_t<decltype(value)> val)

RO. Scaling factor for the data register.

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

typename std::remove_reference_t<decltype(value)> pme_Status ()

RW. Set if the function would normally generate a PME signal.

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

pci::PmcsrReg & set_pme_Status (typename std::remove_reference_t<decltype(value)> val)

RW. Set if the function would normally generate a PME signal.

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