Zephyr Project API 4.2.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
hwspinlock.h File Reference

HW spinlock Devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_HWSPINLOCK_CTRL_BY_IDX(node_id, idx)    DT_PHANDLE_BY_IDX(node_id, hwlocks, idx)
 Get the node identifier for the hardware spinlock controller from a hwlocks property by id.
 
#define DT_HWSPINLOCK_CTRL_BY_NAME(node_id, name)    DT_PHANDLE_BY_NAME(node_id, hwlocks, name)
 Get the node identifier for the hardware spinlock controller from a hwlocks property by name.
 
#define DT_HWSPINLOCK_ID_BY_NAME(node_id, name)    DT_PHA_BY_NAME(node_id, hwlocks, name, id)
 Get a hardware spinlock id by name.
 
#define DT_HWSPINLOCK_ID_BY_IDX(node_id, idx)    DT_PHA_BY_IDX(node_id, hwlocks, idx, id)
 Get a hardware spinlock id by index.
 

Detailed Description

HW spinlock Devicetree macro public API header file.