Searched refs:clkp (Results 1 – 4 of 4) sorted by relevance
228 struct clk *clkp; in propagate_rate() local230 list_for_each_entry(clkp, &tclk->children, sibling) { in propagate_rate()231 if (clkp->ops && clkp->ops->recalc) in propagate_rate()232 clkp->rate = clkp->ops->recalc(clkp); in propagate_rate()234 propagate_rate(clkp); in propagate_rate()319 struct clk *clkp; in recalculate_root_clocks() local321 list_for_each_entry(clkp, &root_clks, sibling) { in recalculate_root_clocks()322 if (clkp->ops && clkp->ops->recalc) in recalculate_root_clocks()323 clkp->rate = clkp->ops->recalc(clkp); in recalculate_root_clocks()324 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 …]
3481 struct clk **clkp; in devm_clk_register() local3483 clkp = devres_alloc(devm_clk_release, sizeof(*clkp), GFP_KERNEL); in devm_clk_register()3484 if (!clkp) in devm_clk_register()3489 *clkp = clk; in devm_clk_register()3490 devres_add(dev, clkp); in devm_clk_register()3492 devres_free(clkp); in devm_clk_register()
3045 struct clk **clkp; in tegra210_periph_clk_init() local3047 clkp = tegra_lookup_dt_id(init->clk_id, tegra210_clks); in tegra210_periph_clk_init()3048 if (!clkp) { in tegra210_periph_clk_init()3054 *clkp = clk; in tegra210_periph_clk_init()