Home
last modified time | relevance | path

Searched refs:clk_mux_np (Results 1 – 2 of 2) sorted by relevance

/linux/drivers/soc/ti/
H A Dpruss.c291 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()
[all …]
/linux/drivers/net/ethernet/ti/
H A Dam65-cpts.c163 struct device_node *clk_mux_np; member
1024 of_clk_del_provider(cpts->clk_mux_np); in cpts_free_clk_mux()
1026 of_node_put(cpts->clk_mux_np); in cpts_free_clk_mux()
1038 cpts->clk_mux_np = of_get_child_by_name(node, "refclk-mux"); in cpts_of_mux_clk_setup()
1039 if (!cpts->clk_mux_np) in cpts_of_mux_clk_setup()
1042 num_parents = of_clk_get_parent_count(cpts->clk_mux_np); in cpts_of_mux_clk_setup()
1045 cpts->clk_mux_np); in cpts_of_mux_clk_setup()
1056 of_clk_parent_fill(cpts->clk_mux_np, parent_names, num_parents); in cpts_of_mux_clk_setup()
1059 dev_name(cpts->dev), cpts->clk_mux_np); in cpts_of_mux_clk_setup()
1077 ret = of_clk_add_hw_provider(cpts->clk_mux_np, of_clk_hw_simple_get, in cpts_of_mux_clk_setup()
[all …]