Zephyr API Documentation
4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
policy.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Analog Devices, Inc.
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
7
#ifndef ZEPHYR_SUBSYS_CPU_FREQ_POLICY_H_
8
#define ZEPHYR_SUBSYS_CPU_FREQ_POLICY_H_
9
10
#ifdef __cplusplus
11
extern
"C"
{
12
#endif
13
14
/*
15
* CPU Frequency Policy Interface - to be implemented by each policy.
16
*/
17
18
#include <
zephyr/types.h
>
19
#include <
zephyr/cpu_freq/pstate.h
>
20
21
30
40
int
cpu_freq_policy_select_pstate
(
const
struct
pstate
**
pstate
);
41
45
46
#ifdef __cplusplus
47
}
48
#endif
49
50
#endif
/* ZEPHYR_SUBSYS_CPU_FREQ_POLICY_H_ */
cpu_freq_policy_select_pstate
int cpu_freq_policy_select_pstate(const struct pstate **pstate)
Get the next P-state from CPU Frequency Policy.
types.h
pstate.h
pstate
CPU performance state (pstate) struct.
Definition
pstate.h:58
zephyr
cpu_freq
policy.h
Generated on
for Zephyr API Documentation by
1.14.0