Get the number of supported DVFS power levels
#include <hw/dvfs_api.h> int get_pwr_levels_count(void *handle );
The get_pwr_levels_count() function returns the number of power levels allowed for a given SoC. This is to ensure the user-defined configuration file doesn't have more levels than allowed by the SoC.
The number of power levels for the specific SoC.
Safety: | |
---|---|
Cancellation point | No |
Interrupt handler | No |
Signal handler | No |
Thread | Yes |