|
Zephyr API 3.6.99
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
12#ifndef ZEPHYR_INCLUDE_DEVICETREE_CLOCKS_H_
13#define ZEPHYR_INCLUDE_DEVICETREE_CLOCKS_H_
52#define DT_CLOCKS_HAS_IDX(node_id, idx) \
53 DT_PROP_HAS_IDX(node_id, clocks, idx)
83#define DT_CLOCKS_HAS_NAME(node_id, name) \
84 DT_PROP_HAS_NAME(node_id, clocks, name)
107#define DT_NUM_CLOCKS(node_id) \
108 DT_PROP_LEN(node_id, clocks)
136#define DT_CLOCKS_CTLR_BY_IDX(node_id, idx) \
137 DT_PHANDLE_BY_IDX(node_id, clocks, idx)
146#define DT_CLOCKS_CTLR(node_id) DT_CLOCKS_CTLR_BY_IDX(node_id, 0)
173#define DT_CLOCKS_CTLR_BY_NAME(node_id, name) \
174 DT_PHANDLE_BY_NAME(node_id, clocks, name)
207#define DT_CLOCKS_CELL_BY_IDX(node_id, idx, cell) \
208 DT_PHA_BY_IDX(node_id, clocks, idx, cell)
243#define DT_CLOCKS_CELL_BY_NAME(node_id, name, cell) \
244 DT_PHA_BY_NAME(node_id, clocks, name, cell)
253#define DT_CLOCKS_CELL(node_id, cell) DT_CLOCKS_CELL_BY_IDX(node_id, 0, cell)
261#define DT_INST_CLOCKS_HAS_IDX(inst, idx) \
262 DT_CLOCKS_HAS_IDX(DT_DRV_INST(inst), idx)
270#define DT_INST_CLOCKS_HAS_NAME(inst, name) \
271 DT_CLOCKS_HAS_NAME(DT_DRV_INST(inst), name)
278#define DT_INST_NUM_CLOCKS(inst) \
279 DT_NUM_CLOCKS(DT_DRV_INST(inst))
291#define DT_INST_CLOCKS_CTLR_BY_IDX(inst, idx) \
292 DT_CLOCKS_CTLR_BY_IDX(DT_DRV_INST(inst), idx)
301#define DT_INST_CLOCKS_CTLR(inst) DT_INST_CLOCKS_CTLR_BY_IDX(inst, 0)
314#define DT_INST_CLOCKS_CTLR_BY_NAME(inst, name) \
315 DT_CLOCKS_CTLR_BY_NAME(DT_DRV_INST(inst), name)
326#define DT_INST_CLOCKS_CELL_BY_IDX(inst, idx, cell) \
327 DT_CLOCKS_CELL_BY_IDX(DT_DRV_INST(inst), idx, cell)
338#define DT_INST_CLOCKS_CELL_BY_NAME(inst, name, cell) \
339 DT_CLOCKS_CELL_BY_NAME(DT_DRV_INST(inst), name, cell)
347#define DT_INST_CLOCKS_CELL(inst, cell) \
348 DT_INST_CLOCKS_CELL_BY_IDX(inst, 0, cell)