Lines Matching full:clocks
3 * @brief Clocks Devicetree macro public API header file.
20 * @defgroup devicetree-clocks Devicetree Clocks API
26 * @brief Test if a node has a clocks phandle-array property at a given index
28 * This expands to 1 if the given index is valid clocks property phandle-array index.
34 * clocks = <...>, <...>;
38 * clocks = <...>;
48 * @param node_id node identifier; may or may not have any clocks property
49 * @param idx index of a clocks property phandle-array whose existence to check
53 DT_PROP_HAS_IDX(node_id, clocks, idx)
58 * This expands to 1 if the name is available as clocks-name array property cell.
64 * clocks = <...>, <...>;
69 * clocks = <...>;
84 DT_PROP_HAS_NAME(node_id, clocks, name)
87 * @brief Get the number of elements in a clocks property
92 * clocks = <&foo>, <&bar>;
96 * clocks = <&foo>;
104 * @param node_id node identifier with a clocks property
108 DT_PROP_LEN(node_id, clocks)
113 * "clocks" phandle-array property at an index
122 * clocks = <&clk1 10 20>, <&clk2 30 40>;
131 * @param idx logical index into "clocks"
137 DT_PHANDLE_BY_IDX(node_id, clocks, idx)
142 * @return a node identifier for the clocks controller at index 0
143 * in "clocks"
150 * clocks phandle-array property by name
159 * clocks = <&clk1 10 20>, <&clk2 30 40>;
168 * @param name lowercase-and-underscores name of a clocks element
174 DT_PHANDLE_BY_NAME(node_id, clocks, name)
187 * clocks = < &clk1 10 20 >, < &clk1 30 40 >;
201 * @param node_id node identifier for a node with a clocks property
202 * @param idx logical index into clocks property
208 DT_PHA_BY_IDX(node_id, clocks, idx, cell)
221 * clocks = < &clk1 10 20 >, < &clk1 30 40 >;
236 * @param node_id node identifier for a node with a clocks property
237 * @param name lowercase-and-underscores name of a clocks element
244 DT_PHA_BY_NAME(node_id, clocks, name, cell)
248 * @param node_id node identifier for a node with a clocks property
257 * @param inst DT_DRV_COMPAT instance number; may or may not have any clocks property
258 * @param idx index of a clocks property phandle-array whose existence to check
276 * @return number of elements in the clocks property
283 * "clocks" phandle-array property at an index
286 * @param idx logical index into "clocks"
297 * @return a node identifier for the clocks controller at index 0
298 * in "clocks"
305 * clocks phandle-array property by name
308 * @param name lowercase-and-underscores name of a clocks element
321 * @param idx logical index into clocks property
332 * @param name lowercase-and-underscores name of a clocks element