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
zx::result<fbl::RefPtr<PortPowerLevelController>> Create (fbl::RefPtr<PortDispatcher> dispatcher)
Defined at line 27 of file ../../zircon/kernel/lib/power-management/port-power-level-controller.cc
void PortPowerLevelController (PrivateConstructorTag,fbl::RefPtr<PortDispatcher>dispatcher,fbl::RefPtr<PacketQueue>queue)
Defined at line 39 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/port-power-level-controller.h
void ~PortPowerLevelController ()
Defined at line 43 of file ../../zircon/kernel/lib/power-management/port-power-level-controller.cc
uint64_t id ()
Unique id of the `ControlInterface` handler.
Defined at line 53 of file ../../zircon/kernel/lib/power-management/include/lib/power-management/port-power-level-controller.h
void ResetForTest ()
Defined at line 55 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 140 of file ../../zircon/kernel/lib/power-management/port-power-level-controller.cc