Zephyr API Documentation
3.6.99
A Scalable Open Source RTOS
|
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) DT_PHANDLE_BY_IDX(node_id, dmas, 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) DT_PHANDLE_BY_NAME(node_id, dmas, name) |
Get the node identifier for the DMA controller from a dmas property by name. | |
#define | DT_DMAS_CTLR(node_id) DT_DMAS_CTLR_BY_IDX(node_id, 0) |
Equivalent to DT_DMAS_CTLR_BY_IDX(node_id, 0) | |
#define | DT_INST_DMAS_CTLR_BY_IDX(inst, idx) DT_DMAS_CTLR_BY_IDX(DT_DRV_INST(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) DT_DMAS_CTLR_BY_NAME(DT_DRV_INST(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) DT_INST_DMAS_CTLR_BY_IDX(inst, 0) |
Equivalent to DT_INST_DMAS_CTLR_BY_IDX(inst, 0) | |
#define | DT_DMAS_CELL_BY_IDX(node_id, idx, cell) DT_PHA_BY_IDX(node_id, dmas, idx, cell) |
Get a DMA specifier's cell value at an index. | |
#define | DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell) DT_PHA_BY_IDX(DT_DRV_INST(inst), dmas, 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) DT_PHA_BY_NAME(node_id, dmas, name, cell) |
Get a DMA specifier's cell value by name. | |
#define | DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) DT_DMAS_CELL_BY_NAME(DT_DRV_INST(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_ENABLED(DT_CAT4(node_id, _P_dmas_IDX_, idx, _EXISTS)) |
Is index "idx" valid for a dmas property? | |
#define | DT_INST_DMAS_HAS_IDX(inst, idx) DT_DMAS_HAS_IDX(DT_DRV_INST(inst), idx) |
Is index "idx" valid for a DT_DRV_COMPAT instance's dmas property? | |
#define | DT_DMAS_HAS_NAME(node_id, name) DT_PROP_HAS_NAME(node_id, dmas, name) |
Does a dmas property have a named element? | |
#define | DT_INST_DMAS_HAS_NAME(inst, name) DT_DMAS_HAS_NAME(DT_DRV_INST(inst), name) |
Does a DT_DRV_COMPAT instance's dmas property have a named element? | |
DMA Devicetree macro public API header file.