Zephyr API Documentation 4.0.99
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
dma.h File Reference

DMA Devicetree macro public API header file. More...

Go to the source code of this file.

Macros

#define DT_DMAS_CTLR_BY_IDX(node_id, idx)
 Get the node identifier for the DMA controller from a dmas property at an index.
 
#define DT_DMAS_CTLR_BY_NAME(node_id, name)
 Get the node identifier for the DMA controller from a dmas property by name.
 
#define DT_DMAS_CTLR(node_id)
 Equivalent to DT_DMAS_CTLR_BY_IDX(node_id, 0)
 
#define DT_INST_DMAS_CTLR_BY_IDX(inst, idx)
 Get the node identifier for the DMA controller from a DT_DRV_COMPAT instance's dmas property at an index.
 
#define DT_INST_DMAS_CTLR_BY_NAME(inst, name)
 Get the node identifier for the DMA controller from a DT_DRV_COMPAT instance's dmas property by name.
 
#define DT_INST_DMAS_CTLR(inst)
 Equivalent to DT_INST_DMAS_CTLR_BY_IDX(inst, 0)
 
#define DT_DMAS_CELL_BY_IDX(node_id, idx, cell)
 Get a DMA specifier's cell value at an index.
 
#define DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell)
 Get a DT_DRV_COMPAT instance's DMA specifier's cell value at an index.
 
#define DT_DMAS_CELL_BY_NAME(node_id, name, cell)
 Get a DMA specifier's cell value by name.
 
#define DT_DMAS_CELL_BY_NAME_OR(node_id, name, cell, default_value)
 Like DT_DMAS_CELL_BY_NAME(), but with a fallback to default_value.
 
#define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell)
 Get a DT_DRV_COMPAT instance's DMA specifier's cell value by name.
 
#define DT_DMAS_HAS_IDX(node_id, idx)
 Is index "idx" valid for a dmas property?
 
#define DT_INST_DMAS_HAS_IDX(inst, idx)
 Is index "idx" valid for a DT_DRV_COMPAT instance's dmas property?
 
#define DT_DMAS_HAS_NAME(node_id, name)
 Does a dmas property have a named element?
 
#define DT_INST_DMAS_HAS_NAME(inst, name)
 Does a DT_DRV_COMPAT instance's dmas property have a named element?
 

Detailed Description

DMA Devicetree macro public API header file.