Home
last modified time | relevance | path

Searched refs:n_div (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/media/tuners/
H A Dit913x.c215 u16 iqik_m_cal, n_div; in it913x_set_params() local
227 n_div = 48; in it913x_set_params()
230 n_div = 32; in it913x_set_params()
233 n_div = 24; in it913x_set_params()
236 n_div = 16; in it913x_set_params()
239 n_div = 12; in it913x_set_params()
242 n_div = 8; in it913x_set_params()
245 n_div = 6; in it913x_set_params()
248 n_div = 4; in it913x_set_params()
251 n_div = 2; in it913x_set_params()
[all …]
/linux/sound/soc/codecs/
H A Dwm8978.c412 unsigned int k, n_div, n_mod; in pll_factors() local
414 n_div = target / source; in pll_factors()
415 if (n_div < 6) { in pll_factors()
418 n_div = target / source; in pll_factors()
423 if (n_div < 6 || n_div > 12) in pll_factors()
426 n_div); in pll_factors()
428 pll_div->n = n_div; in pll_factors()
429 n_mod = target - source * n_div; in pll_factors()
/linux/drivers/clk/nxp/
H A Dclk-lpc32xx.c327 unsigned long n_div; member
486 clk->n_div = ((val & PLL_CTRL_PREDIV) >> 9) + 1; in clk_pll_recalc_rate()
503 ref_rate = parent_rate / clk->n_div; in clk_pll_recalc_rate()
519 clk->n_div, clk->m_div, (1 << clk->p_div), rate); in clk_pll_recalc_rate()
544 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()
545 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()
559 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()
561 new_rate = (parent_rate * clk->m_div) / clk->n_div; in clk_pll_set_rate()
566 val |= (clk->n_div - 1) << 9; in clk_pll_set_rate()
569 (clk->n_div * (1 << clk->p_div)); in clk_pll_set_rate()
[all …]