Home
last modified time | relevance | path

Searched refs:clk_np (Results 1 – 3 of 3) sorted by relevance

/drivers/clk/
Dclk-s2mps11.c40 struct device_node *clk_np; member
117 struct device_node *clk_np; in s2mps11_clk_parse_dt() local
123 clk_np = of_get_child_by_name(iodev->dev->of_node, "clocks"); in s2mps11_clk_parse_dt()
124 if (!clk_np) { in s2mps11_clk_parse_dt()
130 of_property_read_string_index(clk_np, "clock-output-names", i, in s2mps11_clk_parse_dt()
133 return clk_np; in s2mps11_clk_parse_dt()
175 s2mps11_clks->clk_np = s2mps11_clk_parse_dt(pdev, s2mps11_clks_init); in s2mps11_clk_probe()
176 if (IS_ERR(s2mps11_clks->clk_np)) in s2mps11_clk_probe()
177 return PTR_ERR(s2mps11_clks->clk_np); in s2mps11_clk_probe()
206 of_clk_add_hw_provider(s2mps11_clks->clk_np, of_clk_hw_onecell_get, in s2mps11_clk_probe()
[all …]
/drivers/cpufreq/
Dqoriq-cpufreq.c106 struct device_node *np, *clk_np; in cpu_to_clk_node() local
115 clk_np = of_parse_phandle(np, "clocks", 0); in cpu_to_clk_node()
116 if (!clk_np) in cpu_to_clk_node()
121 return clk_np; in cpu_to_clk_node()
127 struct device_node *np, *clk_np; in set_affected_cpus() local
136 clk_np = cpu_to_clk_node(i); in set_affected_cpus()
137 if (!clk_np) in set_affected_cpus()
140 if (clk_np == np) in set_affected_cpus()
143 of_node_put(clk_np); in set_affected_cpus()
/drivers/clk/samsung/
Dclk.c299 struct device_node *clk_np; in samsung_clk_of_register_fixed_ext() local
302 for_each_matching_node_and_match(clk_np, clk_matches, &match) { in samsung_clk_of_register_fixed_ext()
303 if (of_property_read_u32(clk_np, "clock-frequency", &freq)) in samsung_clk_of_register_fixed_ext()