Home
last modified time | relevance | path

Searched refs:nparents (Results 1 – 4 of 4) sorted by relevance

/openbmc/linux/drivers/clk/x86/
H A Dclk-pmc-atom.c48 u8 nparents; member
273 int nparents = 0; in plt_clk_register_parents() local
275 data->nparents = 0; in plt_clk_register_parents()
276 while (clks[nparents].name) in plt_clk_register_parents()
277 nparents++; in plt_clk_register_parents()
279 data->parents = devm_kcalloc(&pdev->dev, nparents, in plt_clk_register_parents()
284 parent_names = kcalloc(nparents, sizeof(*parent_names), in plt_clk_register_parents()
289 for (i = 0; i < nparents; i++) { in plt_clk_register_parents()
301 data->nparents = nparents; in plt_clk_register_parents()
312 plt_clk_unregister_fixed_rate_loop(data, data->nparents); in plt_clk_unregister_parents()
[all …]
/openbmc/linux/drivers/clk/st/
H A Dclkgen-mux.c22 unsigned int nparents; in clkgen_mux_get_parents() local
24 nparents = of_clk_get_parent_count(np); in clkgen_mux_get_parents()
25 if (WARN_ON(!nparents)) in clkgen_mux_get_parents()
28 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in clkgen_mux_get_parents()
32 *num_parents = of_clk_parent_fill(np, parents, nparents); in clkgen_mux_get_parents()
H A Dclk-flexgen.c282 unsigned int nparents; in flexgen_get_parents() local
284 nparents = of_clk_get_parent_count(np); in flexgen_get_parents()
285 if (WARN_ON(!nparents)) in flexgen_get_parents()
288 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in flexgen_get_parents()
292 *num_parents = of_clk_parent_fill(np, parents, nparents); in flexgen_get_parents()
/openbmc/linux/drivers/clk/
H A Dclk-lochnagar.c124 int nparents; member
130 .nparents = ARRAY_SIZE(lochnagar1_clk_parents),
136 .nparents = ARRAY_SIZE(lochnagar2_clk_parents),
265 clk_init.num_parents = conf->nparents; in lochnagar_clk_probe()