Zephyr API 3.6.99
|
Clocks Devicetree macro public API header file. More...
Go to the source code of this file.
Macros | |
#define | DT_CLOCKS_HAS_IDX(node_id, idx) |
Test if a node has a clocks phandle-array property at a given index. | |
#define | DT_CLOCKS_HAS_NAME(node_id, name) |
Test if a node has a clock-names array property holds a given name. | |
#define | DT_NUM_CLOCKS(node_id) |
Get the number of elements in a clocks property. | |
#define | DT_CLOCKS_CTLR_BY_IDX(node_id, idx) |
Get the node identifier for the controller phandle from a "clocks" phandle-array property at an index. | |
#define | DT_CLOCKS_CTLR(node_id) |
Equivalent to DT_CLOCKS_CTLR_BY_IDX(node_id, 0) | |
#define | DT_CLOCKS_CTLR_BY_NAME(node_id, name) |
Get the node identifier for the controller phandle from a clocks phandle-array property by name. | |
#define | DT_CLOCKS_CELL_BY_IDX(node_id, idx, cell) |
Get a clock specifier's cell value at an index. | |
#define | DT_CLOCKS_CELL_BY_NAME(node_id, name, cell) |
Get a clock specifier's cell value by name. | |
#define | DT_CLOCKS_CELL(node_id, cell) |
Equivalent to DT_CLOCKS_CELL_BY_IDX(node_id, 0, cell) | |
#define | DT_INST_CLOCKS_HAS_IDX(inst, idx) |
Equivalent to DT_CLOCKS_HAS_IDX(DT_DRV_INST(inst), idx) | |
#define | DT_INST_CLOCKS_HAS_NAME(inst, name) |
Equivalent to DT_CLOCK_HAS_NAME(DT_DRV_INST(inst), name) | |
#define | DT_INST_NUM_CLOCKS(inst) |
Equivalent to DT_NUM_CLOCKS(DT_DRV_INST(inst)) | |
#define | DT_INST_CLOCKS_CTLR_BY_IDX(inst, idx) |
Get the node identifier for the controller phandle from a "clocks" phandle-array property at an index. | |
#define | DT_INST_CLOCKS_CTLR(inst) |
Equivalent to DT_INST_CLOCKS_CTLR_BY_IDX(inst, 0) | |
#define | DT_INST_CLOCKS_CTLR_BY_NAME(inst, name) |
Get the node identifier for the controller phandle from a clocks phandle-array property by name. | |
#define | DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, cell) |
Get a DT_DRV_COMPAT instance's clock specifier's cell value at an index. | |
#define | DT_INST_CLOCKS_CELL_BY_NAME(inst, name, cell) |
Get a DT_DRV_COMPAT instance's clock specifier's cell value by name. | |
#define | DT_INST_CLOCKS_CELL(inst, cell) |
Equivalent to DT_INST_CLOCKS_CELL_BY_IDX(inst, 0, cell) | |
Clocks Devicetree macro public API header file.