Home
last modified time | relevance | path

Searched refs:calc_rate (Results 1 – 12 of 12) sorted by relevance

/linux-6.3-rc2/sound/pci/pcxhr/
A Dpcxhr_mix22.c406 int rate, calc_rate = 0; in hr222_get_external_clock() local
456 if (calc_rate > 184200) in hr222_get_external_clock()
462 else if (calc_rate > 92100) in hr222_get_external_clock()
464 else if (calc_rate > 76100) in hr222_get_external_clock()
466 else if (calc_rate > 56000) in hr222_get_external_clock()
468 else if (calc_rate > 46050) in hr222_get_external_clock()
470 else if (calc_rate > 38050) in hr222_get_external_clock()
472 else if (calc_rate > 28000) in hr222_get_external_clock()
482 else if (calc_rate > 9512) in hr222_get_external_clock()
484 else if (calc_rate > 7000) in hr222_get_external_clock()
[all …]
/linux-6.3-rc2/drivers/clk/renesas/
A Dclk-div6.c106 unsigned long prate, calc_rate, diff, best_rate, best_prate; in cpg_div6_clock_determine_rate() local
128 calc_rate = prate / div; in cpg_div6_clock_determine_rate()
129 diff = calc_rate > req->rate ? calc_rate - req->rate in cpg_div6_clock_determine_rate()
130 : req->rate - calc_rate; in cpg_div6_clock_determine_rate()
132 best_rate = calc_rate; in cpg_div6_clock_determine_rate()
/linux-6.3-rc2/drivers/clk/spear/
A Dclk.c14 unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt, in clk_round_rate_index() argument
21 rate = calc_rate(hw, parent_rate, *index); in clk_round_rate_index()
A Dclk.h128 unsigned long parent_rate, clk_calc_rate calc_rate, u8 rtbl_cnt,
/linux-6.3-rc2/drivers/clk/actions/
A Dowl-factor.c48 u64 calc_rate; in _get_table_val() local
51 calc_rate = parent_rate * clkt->mul; in _get_table_val()
52 do_div(calc_rate, clkt->div); in _get_table_val()
54 if ((unsigned long)calc_rate <= rate) { in _get_table_val()
/linux-6.3-rc2/net/can/
A Dproc.c99 static unsigned long calc_rate(unsigned long oldjif, unsigned long newjif, in calc_rate() function
146 pkg_stats->total_tx_rate = calc_rate(pkg_stats->jiffies_init, j, in can_stat_update()
148 pkg_stats->total_rx_rate = calc_rate(pkg_stats->jiffies_init, j, in can_stat_update()
157 pkg_stats->current_tx_rate = calc_rate(0, HZ, pkg_stats->tx_frames_delta); in can_stat_update()
158 pkg_stats->current_rx_rate = calc_rate(0, HZ, pkg_stats->rx_frames_delta); in can_stat_update()
/linux-6.3-rc2/drivers/clk/at91/
A Dclk-pll.c279 unsigned long calc_rate; in clk_pll_restore_context() local
288 calc_rate = (pll->pms.parent_rate / PLL_DIV(pllr)) * in clk_pll_restore_context()
293 if (pll->pms.rate != calc_rate || in clk_pll_restore_context()
/linux-6.3-rc2/drivers/clk/qcom/
A Dclk-rcg2.c159 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 hid_div) in calc_rate() function
198 return calc_rate(parent_rate, m, n, mode, hid_div); in __clk_rcg2_recalc_rate()
626 req->rate = calc_rate(req->best_parent_rate, in clk_edp_pixel_determine_rate()
665 req->rate = calc_rate(parent_rate, 0, 0, 0, div); in clk_byte_determine_rate()
722 req->rate = calc_rate(parent_rate, 0, 0, 0, div); in clk_byte2_determine_rate()
1203 f->freq = calc_rate(prate, f->m, f->n, mode, f->pre_div); in clk_rcg2_dfs_populate_freq()
1285 return calc_rate(parent_rate, m, n, mode, pre_div); in clk_rcg2_dfs_recalc_rate()
A Dclk-rcg.c326 calc_rate(unsigned long rate, u32 m, u32 n, u32 mode, u32 pre_div) in calc_rate() function
363 return calc_rate(parent_rate, m, n, mode, pre_div); in clk_rcg_recalc_rate()
396 return calc_rate(parent_rate, m, n, mode, pre_div); in clk_dyn_rcg_recalc_rate()
/linux-6.3-rc2/drivers/clk/tegra/
A Dclk-tegra210.c1685 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1731 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1770 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1800 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1860 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1916 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1940 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
1982 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
2022 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
2060 .calc_rate = tegra210_pll_fixed_mdiv_cfg,
[all …]
A Dclk-pll.c820 pll->params->calc_rate(hw, &cfg, rate, parent_rate)) { in clk_pll_set_rate()
857 pll->params->calc_rate(hw, &cfg, rate, *prate)) in clk_pll_round_rate()
1904 if (!pll->params->calc_rate) { in _tegra_clk_register_pll()
1906 pll->params->calc_rate = _calc_dynamic_ramp_rate; in _tegra_clk_register_pll()
1908 pll->params->calc_rate = _calc_rate; in _tegra_clk_register_pll()
A Dclk.h341 int (*calc_rate)(struct clk_hw *hw, member

Completed in 35 milliseconds