Lines Matching refs:clk_mux_np
291 struct device_node *clk_mux_np = data; in pruss_of_free_clk_provider() local
293 of_clk_del_provider(clk_mux_np); in pruss_of_free_clk_provider()
294 of_node_put(clk_mux_np); in pruss_of_free_clk_provider()
305 struct device_node *clk_mux_np; in pruss_clk_mux_setup() local
314 clk_mux_np = of_get_child_by_name(clks_np, mux_name); in pruss_clk_mux_setup()
315 if (!clk_mux_np) { in pruss_clk_mux_setup()
321 num_parents = of_clk_get_parent_count(clk_mux_np); in pruss_clk_mux_setup()
323 dev_err(dev, "mux-clock %pOF must have parents\n", clk_mux_np); in pruss_clk_mux_setup()
335 of_clk_parent_fill(clk_mux_np, parent_names, num_parents); in pruss_clk_mux_setup()
338 dev_name(dev), clk_mux_np); in pruss_clk_mux_setup()
344 ret = of_property_read_u32(clk_mux_np, "reg", ®_offset); in pruss_clk_mux_setup()
363 ret = of_clk_add_provider(clk_mux_np, of_clk_src_simple_get, clk_mux); in pruss_clk_mux_setup()
368 clk_mux_np); in pruss_clk_mux_setup()
377 of_node_put(clk_mux_np); in pruss_clk_mux_setup()