Lines Matching refs:clk_node
1017 struct device_node *clk_node; in wiz_clock_cleanup() local
1032 clk_node = of_get_child_by_name(node, clk_mux_sel[i].node_name); in wiz_clock_cleanup()
1033 of_clk_del_provider(clk_node); in wiz_clock_cleanup()
1034 of_node_put(clk_node); in wiz_clock_cleanup()
1038 clk_node = of_get_child_by_name(node, clk_div_sel[i].node_name); in wiz_clock_cleanup()
1039 of_clk_del_provider(clk_node); in wiz_clock_cleanup()
1040 of_node_put(clk_node); in wiz_clock_cleanup()
1083 struct device_node *clk_node; in wiz_clock_init() local
1168 clk_node = of_get_child_by_name(node, node_name); in wiz_clock_init()
1169 if (!clk_node) { in wiz_clock_init()
1175 ret = wiz_mux_of_clk_register(wiz, clk_node, wiz->mux_sel_field[i], in wiz_clock_init()
1180 of_node_put(clk_node); in wiz_clock_init()
1184 of_node_put(clk_node); in wiz_clock_init()
1189 clk_node = of_get_child_by_name(node, node_name); in wiz_clock_init()
1190 if (!clk_node) { in wiz_clock_init()
1196 ret = wiz_div_clk_register(wiz, clk_node, wiz->div_sel_field[i], in wiz_clock_init()
1201 of_node_put(clk_node); in wiz_clock_init()
1205 of_node_put(clk_node); in wiz_clock_init()