Home
last modified time | relevance | path

Searched defs:parent_rate (Results 1 – 25 of 335) sorted by relevance

12345678910>>...14

/linux-6.6.21/drivers/clk/actions/
Dowl-divider.c19 unsigned long *parent_rate) in owl_divider_helper_round_rate()
27 unsigned long *parent_rate) in owl_divider_round_rate()
37 unsigned long parent_rate) in owl_divider_helper_recalc_rate()
53 unsigned long parent_rate) in owl_divider_recalc_rate()
64 unsigned long parent_rate) in owl_divider_helper_set_rate()
82 unsigned long parent_rate) in owl_divider_set_rate()
Dowl-factor.c44 unsigned long rate, unsigned long parent_rate) in _get_table_val()
71 unsigned long parent_rate, try_parent_rate, best = 0, cur_rate; in owl_clk_val_best() local
122 unsigned long *parent_rate) in owl_factor_helper_round_rate()
134 unsigned long *parent_rate) in owl_factor_round_rate()
145 unsigned long parent_rate) in owl_factor_helper_recalc_rate()
174 unsigned long parent_rate) in owl_factor_recalc_rate()
186 unsigned long parent_rate) in owl_factor_helper_set_rate()
206 unsigned long parent_rate) in owl_factor_set_rate()
Dowl-composite.c72 unsigned long parent_rate) in owl_comp_div_recalc_rate()
81 unsigned long parent_rate) in owl_comp_div_set_rate()
106 unsigned long parent_rate) in owl_comp_fact_recalc_rate()
116 unsigned long parent_rate) in owl_comp_fact_set_rate()
126 unsigned long *parent_rate) in owl_comp_fix_fact_round_rate()
135 unsigned long parent_rate) in owl_comp_fix_fact_recalc_rate()
145 unsigned long parent_rate) in owl_comp_fix_fact_set_rate()
/linux-6.6.21/drivers/clk/
Dclk-loongson2.c84 unsigned long parent_rate) in loongson2_node_recalc_rate()
94 unsigned long parent_rate) in loongson2_ddr_recalc_rate()
104 unsigned long parent_rate) in loongson2_dc_recalc_rate()
114 unsigned long parent_rate) in loongson2_pix0_recalc_rate()
124 unsigned long parent_rate) in loongson2_pix1_recalc_rate()
147 unsigned long parent_rate) in loongson2_boot_recalc_rate()
159 unsigned long parent_rate) in loongson2_apb_recalc_rate()
171 unsigned long parent_rate) in loongson2_usb_recalc_rate()
183 unsigned long parent_rate) in loongson2_sata_recalc_rate()
Dclk-multiplier.c33 unsigned long parent_rate) in __get_mult()
42 unsigned long parent_rate) in clk_multiplier_recalc_rate()
71 unsigned long parent_rate, current_rate, best_rate = ~0; in __bestmult() local
116 unsigned long *parent_rate) in clk_multiplier_round_rate()
126 unsigned long parent_rate) in clk_multiplier_set_rate()
Dclk-highbank.c94 unsigned long parent_rate) in clk_pll_recalc_rate()
135 unsigned long *parent_rate) in clk_pll_round_rate()
146 unsigned long parent_rate) in clk_pll_set_rate()
194 unsigned long parent_rate) in clk_cpu_periphclk_recalc_rate()
206 unsigned long parent_rate) in clk_cpu_a9bclk_recalc_rate()
219 unsigned long parent_rate) in clk_periclk_recalc_rate()
232 unsigned long *parent_rate) in clk_periclk_round_rate()
244 unsigned long parent_rate) in clk_periclk_set_rate()
Dclk-cdce925.c92 static unsigned long cdce925_pll_calculate_rate(unsigned long parent_rate, in cdce925_pll_calculate_rate()
101 unsigned long parent_rate) in cdce925_pll_recalc_rate()
110 unsigned long parent_rate, u16 *n, u16 *m) in cdce925_pll_find_rate()
147 unsigned long *parent_rate) in cdce925_pll_round_rate()
156 unsigned long parent_rate) in cdce925_pll_set_rate()
369 unsigned long parent_rate) in cdce925_clk_recalc_rate()
379 unsigned long parent_rate) in cdce925_calc_divider()
439 unsigned long *parent_rate) in cdce925_clk_round_rate()
456 unsigned long parent_rate) in cdce925_clk_set_rate()
475 unsigned long parent_rate) in cdce925_y1_calc_divider()
[all …]
Dclk-sparx5.c58 static unsigned long s5_calc_freq(unsigned long parent_rate, in s5_calc_freq()
76 unsigned long parent_rate, in s5_search_fractional()
109 unsigned long parent_rate, in s5_calc_params()
167 unsigned long parent_rate) in s5_pll_set_rate()
193 unsigned long parent_rate) in s5_pll_recalc_rate()
217 unsigned long *parent_rate) in s5_pll_round_rate()
Dclk-scpi.c28 unsigned long parent_rate) in scpi_clk_recalc_rate()
36 unsigned long *parent_rate) in scpi_clk_round_rate()
48 unsigned long parent_rate) in scpi_clk_set_rate()
82 unsigned long parent_rate) in scpi_dvfs_recalc_rate()
96 unsigned long *parent_rate) in scpi_dvfs_round_rate()
115 unsigned long parent_rate) in scpi_dvfs_set_rate()
/linux-6.6.21/drivers/clk/imx/
Dclk-pllv3.c112 unsigned long parent_rate) in clk_pllv3_recalc_rate()
123 unsigned long parent_rate = *prate; in clk_pllv3_round_rate() local
130 unsigned long parent_rate) in clk_pllv3_set_rate()
160 unsigned long parent_rate) in clk_pllv3_sys_recalc_rate()
171 unsigned long parent_rate = *prate; in clk_pllv3_sys_round_rate() local
186 unsigned long parent_rate) in clk_pllv3_sys_set_rate()
215 unsigned long parent_rate) in clk_pllv3_av_recalc_rate()
232 unsigned long parent_rate = *prate; in clk_pllv3_av_round_rate() local
262 unsigned long parent_rate) in clk_pllv3_av_set_rate()
309 static unsigned long clk_pllv3_vf610_mf_to_rate(unsigned long parent_rate, in clk_pllv3_vf610_mf_to_rate()
[all …]
/linux-6.6.21/drivers/clk/sprd/
Ddiv.c13 unsigned long *parent_rate) in sprd_div_round_rate()
23 unsigned long parent_rate) in sprd_div_helper_recalc_rate()
38 unsigned long parent_rate) in sprd_div_recalc_rate()
48 unsigned long parent_rate) in sprd_div_helper_set_rate()
68 unsigned long parent_rate) in sprd_div_set_rate()
/linux-6.6.21/drivers/clk/qcom/
Dclk-rcg2.c171 __clk_rcg2_recalc_rate(struct clk_hw *hw, unsigned long parent_rate, u32 cfg) in __clk_rcg2_recalc_rate()
196 clk_rcg2_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_rcg2_recalc_rate()
375 unsigned long parent_rate) in clk_rcg2_set_rate()
381 unsigned long parent_rate) in clk_rcg2_set_floor_rate()
387 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_rate_and_parent()
393 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg2_set_floor_rate_and_parent()
543 unsigned long parent_rate) in clk_edp_pixel_set_rate()
582 unsigned long rate, unsigned long parent_rate, u8 index) in clk_edp_pixel_set_rate_and_parent()
648 unsigned long parent_rate, div; in clk_byte_determine_rate() local
667 unsigned long parent_rate) in clk_byte_set_rate()
[all …]
Dclk-rcg.c342 clk_rcg_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_rcg_recalc_rate()
367 clk_dyn_rcg_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in clk_dyn_rcg_recalc_rate()
517 unsigned long parent_rate) in clk_rcg_set_rate()
530 unsigned long parent_rate) in clk_rcg_set_floor_rate()
543 unsigned long parent_rate) in clk_rcg_bypass_set_rate()
563 unsigned long parent_rate) in clk_rcg_bypass2_set_rate()
588 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_bypass2_set_rate_and_parent()
631 unsigned long parent_rate) in clk_rcg_pixel_set_rate()
675 unsigned long rate, unsigned long parent_rate, u8 index) in clk_rcg_pixel_set_rate_and_parent()
705 unsigned long parent_rate) in clk_rcg_esc_set_rate()
[all …]
/linux-6.6.21/drivers/clk/at91/
Dclk-audio-pll.c159 static unsigned long clk_audio_pll_fout(unsigned long parent_rate, in clk_audio_pll_fout()
174 unsigned long parent_rate) in clk_audio_pll_frac_recalc_rate()
188 unsigned long parent_rate) in clk_audio_pll_pad_recalc_rate()
203 unsigned long parent_rate) in clk_audio_pll_pmc_recalc_rate()
217 unsigned long parent_rate, in clk_audio_pll_frac_compute_frac()
274 unsigned long *parent_rate) in clk_audio_pll_pad_round_rate()
325 unsigned long *parent_rate) in clk_audio_pll_pmc_round_rate()
365 unsigned long parent_rate) in clk_audio_pll_frac_set_rate()
388 unsigned long parent_rate) in clk_audio_pll_pad_set_rate()
412 unsigned long parent_rate) in clk_audio_pll_pmc_set_rate()
Dclk-sam9x60-pll.c75 unsigned long parent_rate) in sam9x60_frac_pll_recalc_rate()
189 unsigned long parent_rate, in sam9x60_frac_pll_compute_mul_frac()
229 unsigned long *parent_rate) in sam9x60_frac_pll_round_rate()
237 unsigned long parent_rate) in sam9x60_frac_pll_set_rate()
245 unsigned long parent_rate) in sam9x60_frac_pll_set_rate_chg()
428 unsigned long parent_rate) in sam9x60_div_pll_recalc_rate()
437 unsigned long *parent_rate, in sam9x60_div_pll_compute_div()
480 unsigned long *parent_rate) in sam9x60_div_pll_round_rate()
488 unsigned long parent_rate) in sam9x60_div_pll_set_rate()
499 unsigned long parent_rate) in sam9x60_div_pll_set_rate_chg()
[all …]
/linux-6.6.21/drivers/clk/meson/
Dclk-pll.c54 static unsigned long __pll_params_to_rate(unsigned long parent_rate, in __pll_params_to_rate()
72 unsigned long parent_rate) in meson_clk_pll_recalc_rate()
98 unsigned long parent_rate, in __pll_params_with_frac()
153 unsigned long parent_rate, in meson_clk_get_pll_range_m()
166 unsigned long parent_rate, in meson_clk_get_pll_range_index()
199 unsigned long parent_rate, in meson_clk_get_pll_get_index()
215 unsigned long parent_rate, in meson_clk_get_pll_settings()
404 unsigned long parent_rate) in meson_clk_pll_set_rate()
Dclk-dualdiv.c37 __dualdiv_param_to_rate(unsigned long parent_rate, in __dualdiv_param_to_rate()
48 unsigned long parent_rate) in meson_clk_dualdiv_recalc_rate()
64 __dualdiv_get_setting(unsigned long rate, unsigned long parent_rate, in __dualdiv_get_setting()
109 unsigned long parent_rate) in meson_clk_dualdiv_set_rate()
Dclk-mpll.c31 static long rate_from_params(unsigned long parent_rate, in rate_from_params()
44 unsigned long parent_rate, in params_from_rate()
76 unsigned long parent_rate) in mpll_recalc_rate()
110 unsigned long parent_rate) in mpll_set_rate()
/linux-6.6.21/drivers/clk/microchip/
Dclk-core.c120 unsigned long parent_rate, in calc_best_divided_rate()
151 unsigned long parent_rate) in pbclk_recalc_rate()
159 unsigned long *parent_rate) in pbclk_round_rate()
166 unsigned long parent_rate) in pbclk_set_rate()
294 static unsigned long roclk_calc_rate(unsigned long parent_rate, in roclk_calc_rate()
318 unsigned long parent_rate, in roclk_calc_div_trim()
359 unsigned long parent_rate) in roclk_recalc_rate()
376 unsigned long *parent_rate) in roclk_round_rate()
392 unsigned long parent_rate, best_parent_rate = 0; in roclk_determine_rate() local
477 unsigned long parent_rate, in roclk_set_rate_and_parent()
[all …]
/linux-6.6.21/drivers/clk/mstar/
Dclk-msc313-cpupll.c117 static unsigned long msc313_cpupll_frequencyforreg(u32 reg, unsigned long parent_rate) in msc313_cpupll_frequencyforreg()
126 static u32 msc313_cpupll_regforfrequecy(unsigned long rate, unsigned long parent_rate) in msc313_cpupll_regforfrequecy()
135 static unsigned long msc313_cpupll_recalc_rate(struct clk_hw *hw, unsigned long parent_rate) in msc313_cpupll_recalc_rate()
144 unsigned long *parent_rate) in msc313_cpupll_round_rate()
159 static int msc313_cpupll_set_rate(struct clk_hw *hw, unsigned long rate, unsigned long parent_rate) in msc313_cpupll_set_rate()
/linux-6.6.21/drivers/clk/sunxi-ng/
Dccu_mp.c49 unsigned long parent_rate, now; in ccu_mp_find_best_with_parent_adj() local
99 unsigned long *parent_rate, in ccu_mp_round_rate()
148 unsigned long parent_rate) in ccu_mp_recalc_rate()
187 unsigned long parent_rate) in ccu_mp_set_rate()
269 unsigned long parent_rate) in ccu_mp_mmc_recalc_rate()
307 unsigned long parent_rate) in ccu_mp_mmc_set_rate()
/linux-6.6.21/drivers/clk/mvebu/
Dclk-cpu.c49 unsigned long parent_rate) in clk_cpu_recalc_rate()
60 unsigned long *parent_rate) in clk_cpu_round_rate()
75 unsigned long parent_rate) in clk_cpu_off_set_rate()
109 unsigned long parent_rate) in clk_cpu_on_set_rate()
152 unsigned long parent_rate) in clk_cpu_set_rate()
/linux-6.6.21/drivers/clk/baikal-t1/
Dccu-div.c77 unsigned long parent_rate, in ccu_div_var_update_clkdiv()
208 unsigned long parent_rate) in ccu_div_var_recalc_rate()
221 unsigned long parent_rate, in ccu_div_var_calc_divider()
232 unsigned long *parent_rate) in ccu_div_var_round_rate()
248 unsigned long parent_rate) in ccu_div_var_set_rate_slow()
282 unsigned long parent_rate) in ccu_div_var_set_rate_fast()
304 unsigned long parent_rate) in ccu_div_fixed_recalc_rate()
312 unsigned long *parent_rate) in ccu_div_fixed_round_rate()
320 unsigned long parent_rate) in ccu_div_fixed_set_rate()
/linux-6.6.21/drivers/clk/ti/
Dfapll.c161 unsigned long parent_rate) in ti_fapll_recalc_rate()
195 unsigned long parent_rate, in ti_fapll_set_div_mult()
218 unsigned long *parent_rate) in ti_fapll_round_rate()
238 unsigned long parent_rate) in ti_fapll_set_rate()
307 unsigned long parent_rate) in ti_fapll_synth_recalc_rate()
351 unsigned long parent_rate) in ti_fapll_synth_get_frac_rate()
366 unsigned long parent_rate) in ti_fapll_synth_set_frac_rate()
403 unsigned long *parent_rate) in ti_fapll_synth_round_rate()
437 unsigned long parent_rate) in ti_fapll_synth_set_rate()
/linux-6.6.21/drivers/clk/ingenic/
Dx1000-cgu.c65 unsigned long parent_rate) in x1000_otg_phy_recalc_rate()
88 unsigned long *parent_rate) in x1000_otg_phy_round_rate()
100 unsigned long parent_rate) in x1000_otg_phy_set_rate()
174 unsigned long rate, unsigned long parent_rate, in x1000_i2spll_calc_m_n_od()
194 unsigned long rate, unsigned long parent_rate) in x1000_i2spll_set_rate_hook()

12345678910>>...14