Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
Dynamic CPU Frequency Scaling. More...
Topics | |
CPU Frequency Policy | |
CPU Frequency Scaling Policy. | |
CPU Frequency pstate | |
CPU Frequency Scaling Performance State (pstate) |
Functions | |
int | cpu_freq_pstate_set (const struct pstate *state) |
Request processor set the given performance state. |
Dynamic CPU Frequency Scaling.
int cpu_freq_pstate_set | ( | const struct pstate * | state | ) |
#include <zephyr/cpu_freq/cpu_freq.h>
Request processor set the given performance state.
To be implemented by the SoC. This API abstracts the hardware and SoC specific calls required to change the performance state of the processor.
state | Pointer to performance state. |
0 | if request received successfully, -errno in case of failure. |