|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
12#ifndef ZEPHYR_INCLUDE_DEVICETREE_DMAS_H_
13#define ZEPHYR_INCLUDE_DEVICETREE_DMAS_H_
51#define DT_DMAS_CTLR_BY_IDX(node_id, idx) DT_PHANDLE_BY_IDX(node_id, dmas, idx)
80#define DT_DMAS_CTLR_BY_NAME(node_id, name) \
81 DT_PHANDLE_BY_NAME(node_id, dmas, name)
90#define DT_DMAS_CTLR(node_id) DT_DMAS_CTLR_BY_IDX(node_id, 0)
102#define DT_INST_DMAS_CTLR_BY_IDX(inst, idx) \
103 DT_DMAS_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
114#define DT_INST_DMAS_CTLR_BY_NAME(inst, name) \
115 DT_DMAS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
124#define DT_INST_DMAS_CTLR(inst) DT_INST_DMAS_CTLR_BY_IDX(inst, 0)
165#define DT_DMAS_CELL_BY_IDX(node_id, idx, cell) \
166 DT_PHA_BY_IDX(node_id, dmas, idx, cell)
176#define DT_INST_DMAS_CELL_BY_IDX(inst, idx, cell) \
177 DT_PHA_BY_IDX(DT_DRV_INST(inst), dmas, idx, cell)
220#define DT_DMAS_CELL_BY_NAME(node_id, name, cell) \
221 DT_PHA_BY_NAME(node_id, dmas, name, cell)
232#define DT_INST_DMAS_CELL_BY_NAME(inst, name, cell) \
233 DT_DMAS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
241#define DT_DMAS_HAS_IDX(node_id, idx) \
242 IS_ENABLED(DT_CAT4(node_id, _P_dmas_IDX_, idx, _EXISTS))
250#define DT_INST_DMAS_HAS_IDX(inst, idx) \
251 DT_DMAS_HAS_IDX(DT_DRV_INST(inst), idx)
260#define DT_DMAS_HAS_NAME(node_id, name) \
261 DT_PROP_HAS_NAME(node_id, dmas, name)
270#define DT_INST_DMAS_HAS_NAME(inst, name) \
271 DT_DMAS_HAS_NAME(DT_DRV_INST(inst), name)