|
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_
50#define DT_RESET_CTLR_BY_IDX(node_id, idx) \
51 DT_PHANDLE_BY_IDX(node_id, resets, idx)
60#define DT_RESET_CTLR(node_id) \
61 DT_RESET_CTLR_BY_IDX(node_id, 0)
89#define DT_RESET_CTLR_BY_NAME(node_id, name) \
90 DT_PHANDLE_BY_NAME(node_id, resets, name)
121#define DT_RESET_CELL_BY_IDX(node_id, idx, cell) \
122 DT_PHA_BY_IDX(node_id, resets, idx, cell)
155#define DT_RESET_CELL_BY_NAME(node_id, name, cell) \
156 DT_PHA_BY_NAME(node_id, resets, name, cell)
165#define DT_RESET_CELL(node_id, cell) \
166 DT_RESET_CELL_BY_IDX(node_id, 0, cell)
178#define DT_INST_RESET_CTLR_BY_IDX(inst, idx) \
179 DT_RESET_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
188#define DT_INST_RESET_CTLR(inst) \
189 DT_INST_RESET_CTLR_BY_IDX(inst, 0)
202#define DT_INST_RESET_CTLR_BY_NAME(inst, name) \
203 DT_RESET_CTLR_BY_NAME(DT_DRV_INST(inst), name)
214#define DT_INST_RESET_CELL_BY_IDX(inst, idx, cell) \
215 DT_RESET_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell)
226#define DT_INST_RESET_CELL_BY_NAME(inst, name, cell) \
227 DT_RESET_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
235#define DT_INST_RESET_CELL(inst, cell) \
236 DT_INST_RESET_CELL_BY_IDX(inst, 0, cell)
269#define DT_RESET_ID_BY_IDX(node_id, idx) \
270 DT_PHA_BY_IDX(node_id, resets, idx, id)
278#define DT_RESET_ID(node_id) \
279 DT_RESET_ID_BY_IDX(node_id, 0)
289#define DT_INST_RESET_ID_BY_IDX(inst, idx) \
290 DT_RESET_ID_BY_IDX(DT_DRV_INST(inst), idx)
298#define DT_INST_RESET_ID(inst) \
299 DT_INST_RESET_ID_BY_IDX(inst, 0)