Searched refs:clkp (Results 1 – 4 of 4) sorted by relevance
227 struct clk *clkp; in propagate_rate() local229 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()230 if (clkp->ops && clkp->ops->recalc) in propagate_rate()231 clkp->rate = clkp->ops->recalc(clkp); in propagate_rate()233 propagate_rate(clkp); in propagate_rate()318 struct clk *clkp; in recalculate_root_clocks() local320 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()321 if (clkp->ops && clkp->ops->recalc) in recalculate_root_clocks()322 clkp->rate = clkp->ops->recalc(clkp); in recalculate_root_clocks()323 propagate_rate(clkp); in recalculate_root_clocks()[all …]
96 struct clk *clkp; in sh_clk_mstp_register() local101 clkp = clks + k; in sh_clk_mstp_register()102 clkp->ops = &sh_clk_mstp_clk_ops; in sh_clk_mstp_register()103 ret |= clk_register(clkp); in sh_clk_mstp_register()244 struct clk *clkp; in sh_clk_div_register_ops() local259 clkp = clks + k; in sh_clk_div_register_ops()261 clkp->ops = ops; in sh_clk_div_register_ops()262 clkp->priv = table; in sh_clk_div_register_ops()264 clkp->freq_table = freq_table + (k * freq_table_size); in sh_clk_div_register_ops()265 clkp->freq_table[nr_divs].frequency = CPUFREQ_TABLE_END; in sh_clk_div_register_ops()[all …]
340 static int get_clk(struct platform_device *pdev, struct clk **clkp, in get_clk() argument349 *clkp = clk; in get_clk()
2490 struct clk **clkp; in devm_clk_register() local2492 clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); in devm_clk_register()2493 if (!clkp) in devm_clk_register()2498 *clkp = clk; in devm_clk_register()2499 devres_add(dev, clkp); in devm_clk_register()2501 devres_free(clkp); in devm_clk_register()