Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/clk/x86/
Dclk-pmc-atom.c37 u8 nparents; member
262 int nparents = 0; in plt_clk_register_parents() local
264 data->nparents = 0; in plt_clk_register_parents()
265 while (clks[nparents].name) in plt_clk_register_parents()
266 nparents++; in plt_clk_register_parents()
268 data->parents = devm_kcalloc(&pdev->dev, nparents, in plt_clk_register_parents()
273 parent_names = kcalloc(nparents, sizeof(*parent_names), in plt_clk_register_parents()
278 for (i = 0; i < nparents; i++) { in plt_clk_register_parents()
290 data->nparents = nparents; in plt_clk_register_parents()
301 plt_clk_unregister_fixed_rate_loop(data, data->nparents); in plt_clk_unregister_parents()
[all …]
/linux-6.12.1/drivers/clk/st/
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()
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()
/linux-6.12.1/drivers/clk/
Dclk-lochnagar.c124 int nparents; member
130 .nparents = ARRAY_SIZE(lochnagar1_clk_parents),
136 .nparents = ARRAY_SIZE(lochnagar2_clk_parents),
260 clk_init.num_parents = conf->nparents; in lochnagar_clk_probe()