Searched refs:clk_mux_np (Results 1 – 2 of 2) sorted by relevance
/drivers/soc/ti/ |
D | pruss.c | 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() [all …]
|
/drivers/net/ethernet/ti/ |
D | am65-cpts.c | 163 struct device_node *clk_mux_np; member 837 of_clk_del_provider(cpts->clk_mux_np); in cpts_free_clk_mux() 839 of_node_put(cpts->clk_mux_np); in cpts_free_clk_mux() 851 cpts->clk_mux_np = of_get_child_by_name(node, "refclk-mux"); in cpts_of_mux_clk_setup() 852 if (!cpts->clk_mux_np) in cpts_of_mux_clk_setup() 855 num_parents = of_clk_get_parent_count(cpts->clk_mux_np); in cpts_of_mux_clk_setup() 858 cpts->clk_mux_np); in cpts_of_mux_clk_setup() 869 of_clk_parent_fill(cpts->clk_mux_np, parent_names, num_parents); in cpts_of_mux_clk_setup() 872 dev_name(cpts->dev), cpts->clk_mux_np); in cpts_of_mux_clk_setup() 890 ret = of_clk_add_hw_provider(cpts->clk_mux_np, of_clk_hw_simple_get, in cpts_of_mux_clk_setup() [all …]
|