Lines Matching refs:clk_np
24 struct device_node *clk_np; member
101 struct device_node *clk_np; in s2mps11_clk_parse_dt() local
107 clk_np = of_get_child_by_name(iodev->dev->of_node, "clocks"); in s2mps11_clk_parse_dt()
108 if (!clk_np) { in s2mps11_clk_parse_dt()
114 of_property_read_string_index(clk_np, "clock-output-names", i, in s2mps11_clk_parse_dt()
117 return clk_np; in s2mps11_clk_parse_dt()
159 s2mps11_clks->clk_np = s2mps11_clk_parse_dt(pdev, s2mps11_clks_init); in s2mps11_clk_probe()
160 if (IS_ERR(s2mps11_clks->clk_np)) in s2mps11_clk_probe()
161 return PTR_ERR(s2mps11_clks->clk_np); in s2mps11_clk_probe()
190 of_clk_add_hw_provider(s2mps11_clks->clk_np, of_clk_hw_onecell_get, in s2mps11_clk_probe()
209 of_clk_del_provider(s2mps11_clks[0].clk_np); in s2mps11_clk_remove()
211 of_node_put(s2mps11_clks[0].clk_np); in s2mps11_clk_remove()