Searched refs:input_rate (Results 1 – 8 of 8) sorted by relevance
/linux-6.1.9/drivers/clk/mmp/ |
D | clk-pll.c | 24 unsigned long input_rate; member 73 rate = pll->input_rate; in mmp_clk_pll_recalc_rate() 104 unsigned long input_rate, in mmp_clk_register_pll() argument 127 pll->input_rate = input_rate; in mmp_clk_register_pll() 159 clks[i].input_rate, in mmp_register_pll_clks()
|
D | clk.h | 235 unsigned long input_rate; member
|
/linux-6.1.9/drivers/clk/tegra/ |
D | clk-pll.c | 526 for (sel = pll->params->freq_table; sel->input_rate != 0; sel++) in _get_table_rate() 527 if (sel->input_rate == parent_rate && in _get_table_rate() 531 if (sel->input_rate == 0) in _get_table_rate() 542 cfg->input_rate = sel->input_rate; in _get_table_rate() 959 unsigned long input_rate; in clk_plle_enable() local 966 input_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in clk_plle_enable() 968 if (_get_table_rate(hw, &sel, pll->params->fixed_rate, input_rate)) in clk_plle_enable() 1122 unsigned long flags = 0, input_rate; in clk_pllu_enable() local 1132 input_rate = clk_hw_get_rate(osc); in clk_pllu_enable() 1145 if (input_rate == utmi_parameters[i].osc_frequency) { in clk_pllu_enable() [all …]
|
D | clk-tegra210.c | 1111 unsigned long input_rate; in pllx_get_dyn_steps() local 1115 input_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in pllx_get_dyn_steps() 1117 input_rate = 38400000; in pllx_get_dyn_steps() 1119 input_rate /= tegra_pll_get_fixed_mdiv(hw, input_rate); in pllx_get_dyn_steps() 1121 switch (input_rate) { in pllx_get_dyn_steps() 1138 __func__, input_rate); in pllx_get_dyn_steps() 1464 cfg->input_rate / cfg->m * cfg->n / in tegra210_pllx_dyn_ramp() 1480 unsigned long rate, unsigned long input_rate) in tegra210_pll_fixed_mdiv_cfg() argument 1501 cfg->m = tegra_pll_get_fixed_mdiv(hw, input_rate); in tegra210_pll_fixed_mdiv_cfg() 1510 cf = input_rate / cfg->m; in tegra210_pll_fixed_mdiv_cfg() [all …]
|
D | clk.h | 165 unsigned long input_rate; member 907 u16 tegra_pll_get_fixed_mdiv(struct clk_hw *hw, unsigned long input_rate);
|
/linux-6.1.9/sound/pci/ctxfi/ |
D | ctatc.c | 195 atc_get_pitch(unsigned int input_rate, unsigned int output_rate) in atc_get_pitch() argument 201 pitch = (input_rate / output_rate) << 24; in atc_get_pitch() 202 input_rate %= output_rate; in atc_get_pitch() 203 input_rate /= 100; in atc_get_pitch() 205 for (b = 31; ((b >= 0) && !(input_rate >> b)); ) in atc_get_pitch() 209 input_rate <<= (31 - b); in atc_get_pitch() 210 input_rate /= output_rate; in atc_get_pitch() 213 input_rate <<= b; in atc_get_pitch() 215 input_rate >>= -b; in atc_get_pitch() 217 pitch |= input_rate; in atc_get_pitch()
|
/linux-6.1.9/sound/soc/stm/ |
D | stm32_i2s.c | 265 unsigned long input_rate, in stm32_i2s_calc_clk_div() argument 271 ratio = DIV_ROUND_CLOSEST(input_rate, output_rate); in stm32_i2s_calc_clk_div() 292 if (input_rate % divider) in stm32_i2s_calc_clk_div() 295 output_rate, input_rate / divider); in stm32_i2s_calc_clk_div()
|
D | stm32_sai_sub.c | 313 unsigned long input_rate, in stm32_sai_get_clk_div() argument 319 div = DIV_ROUND_CLOSEST(input_rate, output_rate); in stm32_sai_get_clk_div() 326 if (input_rate % div) in stm32_sai_get_clk_div() 329 output_rate, input_rate / div); in stm32_sai_get_clk_div()
|