Searched refs:nparents (Results 1 – 3 of 3) sorted by relevance
53 int nparents = __clk_get_num_parents(hw->clk); in ar100_determine_rate() local59 for (i = 0; i < nparents; i++) { in ar100_determine_rate()182 int nparents; in sun6i_a31_ar100_clk_probe() local194 nparents = of_clk_get_parent_count(np); in sun6i_a31_ar100_clk_probe()195 if (nparents > SUN6I_AR100_MAX_PARENTS) in sun6i_a31_ar100_clk_probe()196 nparents = SUN6I_AR100_MAX_PARENTS; in sun6i_a31_ar100_clk_probe()198 for (i = 0; i < nparents; i++) in sun6i_a31_ar100_clk_probe()206 init.num_parents = nparents; in sun6i_a31_ar100_clk_probe()
246 int nparents, i; in flexgen_get_parents() local248 nparents = of_count_phandle_with_args(np, "clocks", "#clock-cells"); in flexgen_get_parents()249 if (WARN_ON(nparents <= 0)) in flexgen_get_parents()252 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in flexgen_get_parents()256 for (i = 0; i < nparents; i++) in flexgen_get_parents()259 *num_parents = nparents; in flexgen_get_parents()
27 int nparents, i; in clkgen_mux_get_parents() local29 nparents = of_count_phandle_with_args(np, "clocks", "#clock-cells"); in clkgen_mux_get_parents()30 if (WARN_ON(nparents <= 0)) in clkgen_mux_get_parents()33 parents = kzalloc(nparents * sizeof(const char *), GFP_KERNEL); in clkgen_mux_get_parents()37 for (i = 0; i < nparents; i++) in clkgen_mux_get_parents()40 *num_parents = nparents; in clkgen_mux_get_parents()