Home
last modified time | relevance | path

Searched refs:round_rate (Results 1 – 25 of 200) sorted by relevance

12345678

/linux-6.6.21/drivers/clk/imx/
Dclk-pllv4.c103 unsigned long round_rate, i; in clk_pllv4_round_rate() local
115 round_rate = parent_rate * mult; in clk_pllv4_round_rate()
120 round_rate = parent_rate * pllv4_mult_table[i]; in clk_pllv4_round_rate()
121 if (rate >= round_rate) { in clk_pllv4_round_rate()
137 temp64 = (u64)(rate - round_rate); in clk_pllv4_round_rate()
149 return round_rate; in clk_pllv4_round_rate()
155 return round_rate + (u32)temp64; in clk_pllv4_round_rate()
232 .round_rate = clk_pllv4_round_rate,
Dclk-fixup-div.c49 return fixup_div->ops->round_rate(&fixup_div->divider.hw, rate, prate); in clk_fixup_div_round_rate()
84 .round_rate = clk_fixup_div_round_rate,
Dclk-pllv3.c155 .round_rate = clk_pllv3_round_rate,
210 .round_rate = clk_pllv3_sys_round_rate,
299 .round_rate = clk_pllv3_av_round_rate,
392 .round_rate = clk_pllv3_vf610_round_rate,
Dclk-busy.c54 return busy->div_ops->round_rate(&busy->div.hw, rate, prate); in clk_busy_divider_round_rate()
72 .round_rate = clk_busy_divider_round_rate,
Dclk-composite-93.c97 return clk_divider_ops.round_rate(hw, rate, prate); in imx93_clk_composite_divider_round_rate()
137 .round_rate = imx93_clk_composite_divider_round_rate,
/linux-6.6.21/arch/arm/mach-omap1/
Dclock_data.c112 .round_rate = &omap1_round_sossi_rate,
120 .round_rate = omap1_clk_round_rate_ckctl_arm,
134 .round_rate = omap1_clk_round_rate_ckctl_arm,
204 .round_rate = omap1_clk_round_rate_ckctl_arm,
212 .round_rate = omap1_clk_round_rate_ckctl_arm,
223 .round_rate = omap1_clk_round_rate_ckctl_arm,
247 .round_rate = omap1_clk_round_rate_ckctl_arm,
339 .round_rate = omap1_clk_round_rate_ckctl_arm,
352 .round_rate = omap1_clk_round_rate_ckctl_arm,
371 .round_rate = &omap1_round_uart_rate,
[all …]
Dclock.c712 if (clk->round_rate != NULL) in omap1_clk_round_rate()
713 return clk->round_rate(clk, rate, p_rate); in omap1_clk_round_rate()
774 .round_rate = omap1_clk_round_rate,
787 .round_rate = omap1_clk_round_rate,
/linux-6.6.21/drivers/clk/
Dclk-vt8500.c205 .round_rate = vt8500_dclk_round_rate,
214 .round_rate = vt8500_dclk_round_rate,
602 long round_rate; in vtwm_pll_round_rate() local
609 round_rate = VT8500_BITS_TO_FREQ(*prate, mul, div1); in vtwm_pll_round_rate()
614 round_rate = WM8650_BITS_TO_FREQ(*prate, mul, div1, div2); in vtwm_pll_round_rate()
619 round_rate = WM8750_BITS_TO_FREQ(*prate, mul, div1, div2); in vtwm_pll_round_rate()
624 round_rate = WM8850_BITS_TO_FREQ(*prate, mul, div1, div2); in vtwm_pll_round_rate()
633 return round_rate; in vtwm_pll_round_rate()
668 .round_rate = vtwm_pll_round_rate,
Dclk-composite.c58 rate = rate_ops->round_rate(rate_hw, req->rate, in clk_composite_determine_rate_for_parent()
83 (rate_ops->determine_rate || rate_ops->round_rate) && in clk_composite_determine_rate()
162 return rate_ops->round_rate(rate_hw, rate, prate); in clk_composite_round_rate()
291 else if (rate_ops->round_rate) in __clk_hw_register_composite()
292 clk_composite_ops->round_rate = in __clk_hw_register_composite()
297 if (rate_ops->determine_rate || rate_ops->round_rate) in __clk_hw_register_composite()
Dclk-scmi.c120 .round_rate = scmi_clk_round_rate,
128 .round_rate = scmi_clk_round_rate,
/linux-6.6.21/drivers/clk/ti/
Ddpll.c28 .round_rate = &omap4_dpll_regm4xen_round_rate,
53 .round_rate = &omap2_dpll_round_rate,
66 .round_rate = &omap2_dpll_round_rate,
85 .round_rate = &omap2_dpll_round_rate,
96 .round_rate = &omap2_dpll_round_rate,
112 .round_rate = &omap2_dpll_round_rate,
124 .round_rate = &omap2_dpll_round_rate,
136 .round_rate = &omap2_dpll_round_rate,
/linux-6.6.21/drivers/sh/clk/
Dcpg.c183 .round_rate = sh_clk_div_round_rate,
189 .round_rate = sh_clk_div_round_rate,
314 .round_rate = sh_clk_div_round_rate,
368 .round_rate = sh_clk_div_round_rate,
446 .round_rate = fsidiv_round_rate,
/linux-6.6.21/drivers/clk/mvebu/
Dclk-corediv.c202 .round_rate = clk_corediv_round_rate,
218 .round_rate = clk_corediv_round_rate,
231 .round_rate = clk_corediv_round_rate,
243 .round_rate = clk_corediv_round_rate,
/linux-6.6.21/drivers/clk/qcom/
Dclk-regmap-divider.c73 .round_rate = div_round_rate,
80 .round_rate = div_round_ro_rate,
Dclk-alpha-pll.c1033 .round_rate = clk_alpha_pll_round_rate,
1043 .round_rate = alpha_pll_huayra_round_rate,
1053 .round_rate = clk_alpha_pll_round_rate,
1063 .round_rate = clk_alpha_pll_round_rate,
1148 .round_rate = clk_alpha_pll_postdiv_round_rate,
1154 .round_rate = clk_alpha_pll_postdiv_round_ro_rate,
1396 .round_rate = clk_alpha_pll_round_rate,
1405 .round_rate = clk_alpha_pll_round_rate,
1488 .round_rate = clk_trion_pll_postdiv_round_rate,
1534 .round_rate = clk_alpha_pll_postdiv_fabia_round_rate,
[all …]
/linux-6.6.21/drivers/clk/mxs/
Dclk-div.c48 return div->ops->round_rate(&div->divider.hw, rate, prate); in clk_div_round_rate()
66 .round_rate = clk_div_round_rate,
/linux-6.6.21/drivers/clk/actions/
Dowl-composite.c131 return comp->fix_fact_ops->round_rate(&fix_fact_hw->hw, rate, parent_rate); in owl_comp_fix_fact_round_rate()
196 .round_rate = owl_comp_fix_fact_round_rate,
/linux-6.6.21/drivers/clk/ux500/
Dclk-prcmu.c160 .round_rate = clk_prcmu_round_rate,
172 .round_rate = clk_prcmu_round_rate,
190 .round_rate = clk_prcmu_round_rate,
/linux-6.6.21/drivers/media/platform/qcom/camss/
Dcamss-csiphy.c147 long round_rate; in csiphy_set_clock_rates() local
166 round_rate = clk_round_rate(clock->clk, clock->freq[j]); in csiphy_set_clock_rates()
167 if (round_rate < 0) { in csiphy_set_clock_rates()
169 round_rate); in csiphy_set_clock_rates()
173 csiphy->timer_clk_rate = round_rate; in csiphy_set_clock_rates()
/linux-6.6.21/drivers/clk/samsung/
Dclk-pll.c296 .round_rate = samsung_pll_round_rate,
409 .round_rate = samsung_pll_round_rate,
491 .round_rate = samsung_pll_round_rate,
589 .round_rate = samsung_pll_round_rate,
712 .round_rate = samsung_pll_round_rate,
857 .round_rate = samsung_pll_round_rate,
1070 .round_rate = samsung_pll_round_rate,
1162 .round_rate = samsung_pll_round_rate,
1254 .round_rate = samsung_pll_round_rate,
/linux-6.6.21/drivers/clk/baikal-t1/
Dccu-div.c537 .round_rate = ccu_div_var_round_rate,
544 .round_rate = ccu_div_var_round_rate,
554 .round_rate = ccu_div_fixed_round_rate,
568 .round_rate = ccu_div_fixed_round_rate,
/linux-6.6.21/drivers/clk/sifive/
Dfu540-prci.h52 .round_rate = sifive_prci_wrpll_round_rate,
/linux-6.6.21/drivers/clk/tegra/
Dclk-audio-sync.c41 .round_rate = clk_sync_source_round_rate,
/linux-6.6.21/drivers/clk/zynqmp/
Ddivider.c202 .round_rate = zynqmp_clk_divider_round_rate,
208 .round_rate = zynqmp_clk_divider_round_rate,
/linux-6.6.21/sound/soc/atmel/
Dmchp-i2s-mcc.c399 long round_rate; in mchp_i2s_mcc_clk_get_rate_diff() local
402 round_rate = clk_round_rate(clk, rate); in mchp_i2s_mcc_clk_get_rate_diff()
403 if (round_rate < 0) in mchp_i2s_mcc_clk_get_rate_diff()
404 return (int)round_rate; in mchp_i2s_mcc_clk_get_rate_diff()
406 diff_rate = abs(rate - round_rate); in mchp_i2s_mcc_clk_get_rate_diff()

12345678