Zephyr API Documentation 4.5.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
cpu.h
Go to the documentation of this file.
1/*
2 * Copyright (c) Qualcomm Technologies, Inc. and/or its subsidiaries.
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
10#ifndef ZEPHYR_INCLUDE_DEVICETREE_CPU_H_
11#define ZEPHYR_INCLUDE_DEVICETREE_CPU_H_
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17#include <zephyr/devicetree.h>
19
25
75#define DT_FOREACH_CPU(fn) DT_FOREACH_CPU_HELPER(fn)
76
100#define DT_FOREACH_CPU_SEP(fn, sep) DT_FOREACH_CPU_SEP_HELPER(fn, sep)
101
115#define DT_FOREACH_CPU_VARGS(fn, ...) DT_FOREACH_CPU_VARGS_HELPER(fn, __VA_ARGS__)
116
129#define DT_FOREACH_CPU_SEP_VARGS(fn, sep, ...) DT_FOREACH_CPU_SEP_VARGS_HELPER(fn, sep, __VA_ARGS__)
130
139#define DT_FOREACH_CPU_STATUS_OKAY(fn) DT_FOREACH_CPU_OKAY_HELPER(fn)
140
152#define DT_FOREACH_CPU_STATUS_OKAY_SEP(fn, sep) DT_FOREACH_CPU_OKAY_SEP_HELPER(fn, sep)
153
166#define DT_FOREACH_CPU_STATUS_OKAY_SEP_VARGS(fn, sep, ...) \
167 DT_FOREACH_CPU_OKAY_SEP_VARGS_HELPER(fn, sep, __VA_ARGS__)
168
172
173#ifdef __cplusplus
174}
175#endif
176
177#endif /* ZEPHYR_INCLUDE_DEVICETREE_CPU_H_ */
Devicetree main header.
Macro utilities.