Zephyr API Documentation 4.2.99
A Scalable Open Source RTOS
|
CPU Frequency Scaling Performance State (pstate) More...
Data Structures | |
struct | pstate |
CPU performance state (pstate) struct. More... |
Macros | |
#define | PSTATE_DT_SYM(_node) |
Synthesize symbol of pstate from devicetree dependency ordinal. | |
#define | PSTATE_DT_DEFINE(_node, _config) |
Define all pstate information for the given node identifier. | |
#define | PSTATE_DT_GET(_node) |
Get a pstate reference from a devicetree node identifier. |
CPU Frequency Scaling Performance State (pstate)
#define PSTATE_DT_DEFINE | ( | _node, | |
_config ) |
#include <zephyr/cpu_freq/pstate.h>
Define all pstate information for the given node identifier.
_node | Node identifier. |
_config | Pointer to the SoC specific configuration for the pstate. |
#define PSTATE_DT_GET | ( | _node | ) |
#include <zephyr/cpu_freq/pstate.h>
Get a pstate reference from a devicetree node identifier.
To be used in DT_FOREACH_CHILD() or similar macros
_node | Node identifier. |
#define PSTATE_DT_SYM | ( | _node | ) |
#include <zephyr/cpu_freq/pstate.h>
Synthesize symbol of pstate from devicetree dependency ordinal.