Zephyr API Documentation
4.4.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hwspinlock.h
Go to the documentation of this file.
1
/*
2
* Copyright (c) 2025 Sequans Communications
3
*
4
* SPDX-License-Identifier: Apache-2.0
5
*/
6
11
12
#ifndef ZEPHYR_INCLUDE_DEVICETREE_HWSPINLOCK_H_
13
#define ZEPHYR_INCLUDE_DEVICETREE_HWSPINLOCK_H_
14
15
#ifdef __cplusplus
16
extern
"C"
{
17
#endif
18
24
52
#define DT_HWSPINLOCK_CTRL_BY_IDX(node_id, idx) \
53
DT_PHANDLE_BY_IDX(node_id, hwlocks, idx)
54
83
#define DT_HWSPINLOCK_CTRL_BY_NAME(node_id, name) \
84
DT_PHANDLE_BY_NAME(node_id, hwlocks, name)
85
120
#define DT_HWSPINLOCK_ID_BY_NAME(node_id, name) \
121
DT_PHA_BY_NAME(node_id, hwlocks, name, id)
122
150
#define DT_HWSPINLOCK_ID_BY_IDX(node_id, idx) \
151
DT_PHA_BY_IDX(node_id, hwlocks, idx, id)
152
156
157
#ifdef __cplusplus
158
}
159
#endif
160
161
#endif
/* ZEPHYR_INCLUDE_DEVICETREE_HWSPINLOCK_H_ */
zephyr
devicetree
hwspinlock.h
Generated on
for Zephyr API Documentation by
1.16.1