Searched refs:input_rate (Results 1 – 7 of 7) sorted by relevance
/Linux-v5.4/drivers/clk/tegra/ |
D | clk-pll.c | 516 for (sel = pll->params->freq_table; sel->input_rate != 0; sel++) in _get_table_rate() 517 if (sel->input_rate == parent_rate && in _get_table_rate() 521 if (sel->input_rate == 0) in _get_table_rate() 532 cfg->input_rate = sel->input_rate; in _get_table_rate() 936 unsigned long input_rate; in clk_plle_enable() local 943 input_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in clk_plle_enable() 945 if (_get_table_rate(hw, &sel, pll->params->fixed_rate, input_rate)) in clk_plle_enable() 1077 unsigned long flags = 0, input_rate; in clk_pllu_enable() local 1087 input_rate = clk_hw_get_rate(osc); in clk_pllu_enable() 1099 if (input_rate == utmi_parameters[i].osc_frequency) { in clk_pllu_enable() [all …]
|
D | clk-tegra210.c | 1034 unsigned long input_rate; in pllx_get_dyn_steps() local 1038 input_rate = clk_hw_get_rate(clk_hw_get_parent(hw)); in pllx_get_dyn_steps() 1040 input_rate = 38400000; in pllx_get_dyn_steps() 1042 input_rate /= tegra_pll_get_fixed_mdiv(hw, input_rate); in pllx_get_dyn_steps() 1044 switch (input_rate) { in pllx_get_dyn_steps() 1061 __func__, input_rate); in pllx_get_dyn_steps() 1387 cfg->input_rate / cfg->m * cfg->n / in tegra210_pllx_dyn_ramp() 1403 unsigned long rate, unsigned long input_rate) in tegra210_pll_fixed_mdiv_cfg() argument 1424 cfg->m = tegra_pll_get_fixed_mdiv(hw, input_rate); in tegra210_pll_fixed_mdiv_cfg() 1433 cf = input_rate / cfg->m; in tegra210_pll_fixed_mdiv_cfg() [all …]
|
D | clk.h | 106 unsigned long input_rate; member 828 u16 tegra_pll_get_fixed_mdiv(struct clk_hw *hw, unsigned long input_rate);
|
/Linux-v5.4/sound/pci/ctxfi/ |
D | ctatc.c | 193 atc_get_pitch(unsigned int input_rate, unsigned int output_rate) in atc_get_pitch() argument 199 pitch = (input_rate / output_rate) << 24; in atc_get_pitch() 200 input_rate %= output_rate; in atc_get_pitch() 201 input_rate /= 100; in atc_get_pitch() 203 for (b = 31; ((b >= 0) && !(input_rate >> b)); ) in atc_get_pitch() 207 input_rate <<= (31 - b); in atc_get_pitch() 208 input_rate /= output_rate; in atc_get_pitch() 211 input_rate <<= b; in atc_get_pitch() 213 input_rate >>= -b; in atc_get_pitch() 215 pitch |= input_rate; in atc_get_pitch()
|
/Linux-v5.4/arch/c6x/include/asm/ |
D | clock.h | 109 u32 input_rate; member
|
/Linux-v5.4/arch/c6x/platforms/ |
D | pll.c | 224 rate = pll->input_rate; in clk_sysclk_recalc() 276 rate = pll->input_rate = clk->parent->rate; in clk_pllclk_recalc()
|
/Linux-v5.4/sound/soc/stm/ |
D | stm32_sai_sub.c | 264 unsigned long input_rate, in stm32_sai_get_clk_div() argument 270 div = DIV_ROUND_CLOSEST(input_rate, output_rate); in stm32_sai_get_clk_div() 277 if (input_rate % div) in stm32_sai_get_clk_div() 280 output_rate, input_rate / div); in stm32_sai_get_clk_div()
|