Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
CPU Frequency Scaling Policy. More...
Functions | |
int | cpu_freq_policy_select_pstate (const struct pstate **pstate) |
Get the next P-state from CPU Frequency Policy. |
CPU Frequency Scaling Policy.
int cpu_freq_policy_select_pstate | ( | const struct pstate ** | pstate | ) |
#include <zephyr/cpu_freq/policy.h>
Get the next P-state from CPU Frequency Policy.
This function is implemented by a CPU Freq policy selected via Kconfig.
pstate | Pointer to the P-state struct where the next P-state is returned. |
0 | in case of success, nonzero in case of failure. |