Lines Matching refs:node
127 * default, DT clocks are found based on their node name. If any
134 struct device_node *node, *parent, *child;
171 node = of_find_node_by_name(NULL, buf);
173 parent = node;
179 node = child;
183 clkspec.np = node;
190 of_node_put(node);
195 of_node_put(node);
216 pr_warn("failed to lookup clock node %s, ret=%ld\n",
223 struct device_node *node;
233 * @node: device not for the clock
240 int __init ti_clk_retry_init(struct device_node *node, void *user,
245 pr_debug("%pOFn: adding to retry list...\n", node);
250 retry->node = node;
260 * @node: device node for the clock
261 * @index: register index from the clock node
268 int ti_clk_get_reg_addr(struct device_node *node, int index,
275 if (clocks_node_ptr[i] == node->parent)
280 pr_err("clk-provider not found for %pOFn!\n", node);
286 if (of_property_read_u32_index(node, "reg", index, &val)) {
287 pr_err("%pOFn must have reg[%d]!\n", node, index);
313 * @parent: master node
320 * mapping from clocks node to the memory map index. All the clocks
322 * clocks will access their memory maps based on the node layout.
334 pr_err("%pOFn missing 'clocks' child node.\n", parent);
338 /* add clocks node info */
378 * reasons being missing parent node(s) during earlier init. This
390 pr_debug("retry-init: %pOFn\n", retry->node);
391 retry->func(retry->user, retry->node);
406 * ti_dt_clk_name - init clock name from first output name or node name
407 * @np: device node
410 * to legacy naming based on node name.
523 * @node: device node for this clock
531 struct clk *of_ti_clk_register(struct device_node *node, struct clk_hw *hw,
537 ret = of_clk_hw_register(node, hw);
553 * @node: device node for this clock
562 struct clk *of_ti_clk_register_omap_hw(struct device_node *node,
568 clk = of_ti_clk_register(node, hw, con);
574 list_add(&oclk->node, &clk_hw_omap_clocks);
594 list_for_each_entry(hw, &clk_hw_omap_clocks, node) {
614 list_for_each_entry(oclk, &clk_hw_omap_clocks, node) {