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

Devicetree node dependency ordinals. More...

Go to the source code of this file.

Macros

#define DT_DEP_ORD(node_id)   DT_CAT(node_id, _ORD)
 Get a node's dependency ordinal.
 
#define DT_DEP_ORD_STR_SORTABLE(node_id)   DT_CAT(node_id, _ORD_STR_SORTABLE)
 Get a node's dependency ordinal in string sortable form.
 
#define DT_REQUIRES_DEP_ORDS(node_id)   DT_CAT(node_id, _REQUIRES_ORDS)
 Get a list of dependency ordinals of a node's direct dependencies.
 
#define DT_SUPPORTS_DEP_ORDS(node_id)   DT_CAT(node_id, _SUPPORTS_ORDS)
 Get a list of dependency ordinals of what depends directly on a node.
 
#define DT_INST_DEP_ORD(inst)   DT_DEP_ORD(DT_DRV_INST(inst))
 Get a DT_DRV_COMPAT instance's dependency ordinal.
 
#define DT_INST_REQUIRES_DEP_ORDS(inst)   DT_REQUIRES_DEP_ORDS(DT_DRV_INST(inst))
 Get a list of dependency ordinals of a DT_DRV_COMPAT instance's direct dependencies.
 
#define DT_INST_SUPPORTS_DEP_ORDS(inst)   DT_SUPPORTS_DEP_ORDS(DT_DRV_INST(inst))
 Get a list of dependency ordinals of what depends directly on a DT_DRV_COMPAT instance.
 

Detailed Description

Devicetree node dependency ordinals.