Lines Matching +full:clock +full:- +full:names
9 * SPDX-License-Identifier: Apache-2.0
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.
33 * n1: node-1 {
37 * n2: node-2 {
49 * @param idx index of a clocks property phandle-array whose existence to check
56 * @brief Test if a node has a clock-names array property holds a given name
58 * This expands to 1 if the name is available as clocks-name array property cell.
63 * n1: node-1 {
65 * clock-names = "alpha", "beta";
68 * n2: node-2 {
70 * clock-names = "alpha";
79 * @param node_id node identifier; may or may not have any clock-names property.
80 * @param name lowercase-and-underscores clock-names cell value name to check
81 * @return 1 if the clock name exists, 0 otherwise
91 * n1: node-1 {
95 * n2: node-2 {
113 * "clocks" phandle-array property at an index
117 * clk1: clock-controller@... { ... };
119 * clk2: clock-controller@... { ... };
132 * @return the node identifier for the clock controller referenced at
150 * clocks phandle-array property by name
154 * clk1: clock-controller@... { ... };
156 * clk2: clock-controller@... { ... };
160 * clock-names = "alpha", "beta";
168 * @param name lowercase-and-underscores name of a clocks element
169 * as defined by the node's clock-names property
170 * @return the node identifier for the clock controller referenced by name
177 * @brief Get a clock specifier's cell value at an index
181 * clk1: clock-controller@... {
182 * compatible = "vnd,clock";
183 * #clock-cells = < 2 >;
190 * Bindings fragment for the vnd,clock compatible:
192 * clock-cells:
193 * - bus
194 * - bits
203 * @param cell lowercase-and-underscores cell name
211 * @brief Get a clock specifier's cell value by name
215 * clk1: clock-controller@... {
216 * compatible = "vnd,clock";
217 * #clock-cells = < 2 >;
222 * clock-names = "alpha", "beta";
225 * Bindings fragment for the vnd,clock compatible:
227 * clock-cells:
228 * - bus
229 * - bits
237 * @param name lowercase-and-underscores name of a clocks element
238 * as defined by the node's clock-names property
239 * @param cell lowercase-and-underscores cell name
249 * @param cell lowercase-and-underscores cell name
258 * @param idx index of a clocks property phandle-array whose existence to check
266 * @param inst DT_DRV_COMPAT instance number; may or may not have any clock-names property.
267 * @param name lowercase-and-underscores clock-names cell value name to check
268 * @return 1 if the clock name exists, 0 otherwise
283 * "clocks" phandle-array property at an index
287 * @return the node identifier for the clock controller referenced at
305 * clocks phandle-array property by name
308 * @param name lowercase-and-underscores name of a clocks element
309 * as defined by the node's clock-names property
310 * @return the node identifier for the clock controller referenced by
318 * @brief Get a DT_DRV_COMPAT instance's clock specifier's cell value
322 * @param cell lowercase-and-underscores cell name
330 * @brief Get a DT_DRV_COMPAT instance's clock specifier's cell value by name
332 * @param name lowercase-and-underscores name of a clocks element
333 * as defined by the node's clock-names property
334 * @param cell lowercase-and-underscores cell name
344 * @param cell lowercase-and-underscores cell name