Home
last modified time | relevance | path

Searched refs:p_best (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/video/fbdev/
Di740fb.c350 int m_best = 0, n_best = 0, p_best = 0; in i740_calc_vclk() local
353 p_best = min(15, ilog2(I740_MAX_VCO_FREQ / (freq / I740_RFREQ_FIX))); in i740_calc_vclk()
354 f_vco = (freq * (1 << p_best)) / I740_RFREQ_FIX; in i740_calc_vclk()
367 / n) + ((1 << p_best) / 2)) / (1 << p_best); in i740_calc_vclk()
389 par->video_clk2_div_sel = ((p_best << 4) | REF_DIV_1); in i740_calc_vclk()
/kernel/linux/linux-5.10/drivers/video/fbdev/intelfb/
Dintelfbhw.c941 u32 f_vco, p, p_best = 0, m, f_out = 0; in calc_pll_params() local
992 p_best = p; in calc_pll_params()
1007 p = p_best; in calc_pll_params()