Zephyr Project API 3.7.0
A Scalable Open Source RTOS
|
Reset Controller Devicetree macro public API header file. More...
Go to the source code of this file.
Macros | |
#define | DT_RESET_CTLR_BY_IDX(node_id, idx) DT_PHANDLE_BY_IDX(node_id, resets, idx) |
Get the node identifier for the controller phandle from a "resets" phandle-array property at an index. | |
#define | DT_RESET_CTLR(node_id) DT_RESET_CTLR_BY_IDX(node_id, 0) |
Equivalent to DT_RESET_CTLR_BY_IDX(node_id, 0) | |
#define | DT_RESET_CTLR_BY_NAME(node_id, name) DT_PHANDLE_BY_NAME(node_id, resets, name) |
Get the node identifier for the controller phandle from a resets phandle-array property by name. | |
#define | DT_RESET_CELL_BY_IDX(node_id, idx, cell) DT_PHA_BY_IDX(node_id, resets, idx, cell) |
Get a reset specifier's cell value at an index. | |
#define | DT_RESET_CELL_BY_NAME(node_id, name, cell) DT_PHA_BY_NAME(node_id, resets, name, cell) |
Get a reset specifier's cell value by name. | |
#define | DT_RESET_CELL(node_id, cell) DT_RESET_CELL_BY_IDX(node_id, 0, cell) |
Equivalent to DT_RESET_CELL_BY_IDX(node_id, 0, cell) | |
#define | DT_INST_RESET_CTLR_BY_IDX(inst, idx) DT_RESET_CTLR_BY_IDX(DT_DRV_INST(inst), idx) |
Get the node identifier for the controller phandle from a "resets" phandle-array property at an index. | |
#define | DT_INST_RESET_CTLR(inst) DT_INST_RESET_CTLR_BY_IDX(inst, 0) |
Equivalent to DT_INST_RESET_CTLR_BY_IDX(inst, 0) | |
#define | DT_INST_RESET_CTLR_BY_NAME(inst, name) DT_RESET_CTLR_BY_NAME(DT_DRV_INST(inst), name) |
Get the node identifier for the controller phandle from a resets phandle-array property by name. | |
#define | DT_INST_RESET_CELL_BY_IDX(inst, idx, cell) DT_RESET_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell) |
Get a DT_DRV_COMPAT instance's reset specifier's cell value at an index. | |
#define | DT_INST_RESET_CELL_BY_NAME(inst, name, cell) DT_RESET_CELL_BY_NAME(DT_DRV_INST(inst), name, cell) |
Get a DT_DRV_COMPAT instance's reset specifier's cell value by name. | |
#define | DT_INST_RESET_CELL(inst, cell) DT_INST_RESET_CELL_BY_IDX(inst, 0, cell) |
Equivalent to DT_INST_RESET_CELL_BY_IDX(inst, 0, cell) | |
#define | DT_RESET_ID_BY_IDX(node_id, idx) DT_PHA_BY_IDX(node_id, resets, idx, id) |
Get a Reset Controller specifier's id cell at an index. | |
#define | DT_RESET_ID(node_id) DT_RESET_ID_BY_IDX(node_id, 0) |
Equivalent to DT_RESET_ID_BY_IDX(node_id, 0) | |
#define | DT_INST_RESET_ID_BY_IDX(inst, idx) DT_RESET_ID_BY_IDX(DT_DRV_INST(inst), idx) |
Get a DT_DRV_COMPAT instance's Reset Controller specifier's id cell value at an index. | |
#define | DT_INST_RESET_ID(inst) DT_INST_RESET_ID_BY_IDX(inst, 0) |
Equivalent to DT_INST_RESET_ID_BY_IDX(inst, 0) | |
Reset Controller Devicetree macro public API header file.