Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/drivers/media/i2c/
Dtc358746.c821 u16 p_best = 1, p; in tc358746_find_pll_settings() local
856 p_best = p; in tc358746_find_pll_settings()
872 tc358746->pll_pre_div = p_best; in tc358746_find_pll_settings()
880 best_freq, p_best, m_best, postdiv); in tc358746_find_pll_settings()