Searched refs:nparents (Results 1 – 4 of 4) sorted by relevance
/drivers/clk/x86/ |
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 …]
|
/drivers/clk/st/ |
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()
|
D | clk-flexgen.c | 274 unsigned int nparents; in flexgen_get_parents() local 276 nparents = of_clk_get_parent_count(np); in flexgen_get_parents() 277 if (WARN_ON(!nparents)) in flexgen_get_parents() 280 parents = kcalloc(nparents, sizeof(const char *), GFP_KERNEL); in flexgen_get_parents() 284 *num_parents = of_clk_parent_fill(np, parents, nparents); in flexgen_get_parents()
|
/drivers/clk/ |
D | clk-lochnagar.c | 124 int nparents; member 130 .nparents = ARRAY_SIZE(lochnagar1_clk_parents), 136 .nparents = ARRAY_SIZE(lochnagar2_clk_parents), 264 clk_init.num_parents = conf->nparents; in lochnagar_clk_probe()
|