struct PmcsrReg
Defined at line 53 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
Public Members
field_power_state_55
field_no_soft_reset_58
field_pme_en_60
field_data_select_62
field_data_scale_64
field_pme_status_67
Public Methods
template <,>
typename SelfType::ValueType power_state ()
RW. The current power state from 0 to D3hot.
Defined at line 55 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
SelfType & set_power_state (typename SelfType::ValueType val)
RW. The current power state from 0 to D3hot.
Defined at line 55 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
typename SelfType::ValueType 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/pci/lib/cpp/capabilities/power_management.h
template <,>
SelfType & set_no_soft_reset (typename SelfType::ValueType 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/pci/lib/cpp/capabilities/power_management.h
template <,>
typename SelfType::ValueType pme_en ()
RW/RWS. Set if the function is permitted to generate a PME.
Defined at line 60 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
SelfType & set_pme_en (typename SelfType::ValueType val)
RW/RWS. Set if the function is permitted to generate a PME.
Defined at line 60 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
typename SelfType::ValueType data_select ()
RW. Controls which data to route to the Data register.
Defined at line 62 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
SelfType & set_data_select (typename SelfType::ValueType val)
RW. Controls which data to route to the Data register.
Defined at line 62 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
typename SelfType::ValueType data_scale ()
RO. Scaling factor for the data register.
Defined at line 64 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
SelfType & set_data_scale (typename SelfType::ValueType val)
RO. Scaling factor for the data register.
Defined at line 64 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
typename SelfType::ValueType pme_status ()
RW1CS. Set when the function would normally generate a PME, regardless of pme_en. Writing 1
clears it and writing 0 has no effect.
Defined at line 67 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h
template <,>
SelfType & set_pme_status (typename SelfType::ValueType val)
RW1CS. Set when the function would normally generate a PME, regardless of pme_en. Writing 1
clears it and writing 0 has no effect.
Defined at line 67 of file ../../src/devices/pci/lib/cpp/capabilities/power_management.h