class PortPowerLevelController
Defined at line 27 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/port-power-level-controller.h
Interface representing an entity in charge of update requests that are not handled by the kernel.
In essence there will be only one type of transition handler, but we introduce the interface to
decouple most of the code from the kernel environment.
Public Methods
void PortPowerLevelController (fbl::RefPtr<PortDispatcher> dispatcher)
Defined at line 29 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/port-power-level-controller.h
void ~PortPowerLevelController ()
Defined at line 34 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/port-power-level-controller.h
uint64_t id ()
Unique id of the `ControlInterface` handler.
Defined at line 42 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/port-power-level-controller.h
zx::result<uint32_t> Post (const PowerLevelUpdateRequest & pending)
Process a pending request, which is a pending transition which could not be performed in the
context it originated. This method provide no guarantees on what exactly is performed. It may
provide defer with another entity
Defined at line 78 of file ../../zircon/kernel/lib/power-management/port-power-level-controller.cc