Searched refs:nparents (Results 1 – 4 of 4) sorted by relevance
/openbmc/linux/drivers/clk/x86/ |
H A D | clk-pmc-atom.c | 48 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 D | clkgen-mux.c | 22 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 D | clk-flexgen.c | 282 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 D | clk-lochnagar.c | 124 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()
|