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
11extern "C" {
12#endif
13
14/*
15 * CPU Frequency Policy Interface - to be implemented by each policy.
16 */
17
18#include <zephyr/types.h>
20
21
30
41
45
46#ifdef __cplusplus
47}
48#endif
49
50#endif /* ZEPHYR_SUBSYS_CPU_FREQ_POLICY_H_ */
int cpu_freq_policy_select_pstate(const struct pstate **pstate)
Get the next P-state from CPU Frequency Policy.
CPU performance state (pstate) struct.
Definition pstate.h:58