 |
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
12#ifndef ZEPHYR_INCLUDE_DEVICETREE_RESET_H_
13#define ZEPHYR_INCLUDE_DEVICETREE_RESET_H_
51#define DT_RESET_CTLR_BY_IDX(node_id, idx) \
52 DT_PHANDLE_BY_IDX(node_id, resets, idx)
61#define DT_RESET_CTLR(node_id) \
62 DT_RESET_CTLR_BY_IDX(node_id, 0)
90#define DT_RESET_CTLR_BY_NAME(node_id, name) \
91 DT_PHANDLE_BY_NAME(node_id, resets, name)
122#define DT_RESET_CELL_BY_IDX(node_id, idx, cell) \
123 DT_PHA_BY_IDX(node_id, resets, idx, cell)
156#define DT_RESET_CELL_BY_NAME(node_id, name, cell) \
157 DT_PHA_BY_NAME(node_id, resets, name, cell)
166#define DT_RESET_CELL(node_id, cell) \
167 DT_RESET_CELL_BY_IDX(node_id, 0, cell)
179#define DT_INST_RESET_CTLR_BY_IDX(inst, idx) \
180 DT_RESET_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
189#define DT_INST_RESET_CTLR(inst) \
190 DT_INST_RESET_CTLR_BY_IDX(inst, 0)
203#define DT_INST_RESET_CTLR_BY_NAME(inst, name) \
204 DT_RESET_CTLR_BY_NAME(DT_DRV_INST(inst), name)
215#define DT_INST_RESET_CELL_BY_IDX(inst, idx, cell) \
216 DT_RESET_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell)
227#define DT_INST_RESET_CELL_BY_NAME(inst, name, cell) \
228 DT_RESET_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
236#define DT_INST_RESET_CELL(inst, cell) \
237 DT_INST_RESET_CELL_BY_IDX(inst, 0, cell)
270#define DT_RESET_ID_BY_IDX(node_id, idx) \
271 DT_PHA_BY_IDX(node_id, resets, idx, id)
279#define DT_RESET_ID(node_id) \
280 DT_RESET_ID_BY_IDX(node_id, 0)
290#define DT_INST_RESET_ID_BY_IDX(inst, idx) \
291 DT_RESET_ID_BY_IDX(DT_DRV_INST(inst), idx)
299#define DT_INST_RESET_ID(inst) \
300 DT_INST_RESET_ID_BY_IDX(inst, 0)