Searched refs:r_div_opt (Results 1 - 1 of 1) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Dstv6110.c269 s32 p_calc, p_calc_opt = 1000, r_div, r_div_opt = 0, p_val; stv6110_set_frequency() local
317 r_div_opt = r_div; stv6110_set_frequency()
320 p_calc_opt /= (1 << (r_div_opt + 1)); stv6110_set_frequency()
323 ref = priv->mclk / ((1 << (r_div_opt + 1)) * (1 << (p + 1))); stv6110_set_frequency()
326 /* RDIV = r_div_opt */ stv6110_set_frequency()
328 priv->regs[RSTV6110_TUNING2] |= (((r_div_opt) & 3) << 6); stv6110_set_frequency()
353 vco_freq = divider * ((priv->mclk / 1000) / ((1 << (r_div_opt + 1)))); stv6110_set_frequency()

Completed in 89 milliseconds