Lines Matching refs:clk_mux_np
35 struct device_node *clk_mux_np = data; in pruss_of_free_clk_provider() local
37 of_clk_del_provider(clk_mux_np); in pruss_of_free_clk_provider()
38 of_node_put(clk_mux_np); in pruss_of_free_clk_provider()
44 struct device_node *clk_mux_np; in pruss_clk_mux_setup() local
53 clk_mux_np = of_get_child_by_name(clks_np, mux_name); in pruss_clk_mux_setup()
54 if (!clk_mux_np) { in pruss_clk_mux_setup()
60 num_parents = of_clk_get_parent_count(clk_mux_np); in pruss_clk_mux_setup()
62 dev_err(dev, "mux-clock %pOF must have parents\n", clk_mux_np); in pruss_clk_mux_setup()
74 of_clk_parent_fill(clk_mux_np, parent_names, num_parents); in pruss_clk_mux_setup()
77 dev_name(dev), clk_mux_np); in pruss_clk_mux_setup()
83 ret = of_property_read_u32(clk_mux_np, "reg", ®_offset); in pruss_clk_mux_setup()
103 ret = of_clk_add_provider(clk_mux_np, of_clk_src_simple_get, clk_mux); in pruss_clk_mux_setup()
108 clk_mux_np); in pruss_clk_mux_setup()
117 of_node_put(clk_mux_np); in pruss_clk_mux_setup()