Searched refs:r_div_opt (Results 1 – 1 of 1) sorted by relevance
253 s32 p_calc, p_calc_opt = 1000, r_div, r_div_opt = 0, p_val; in stv6110_set_frequency() local293 r_div_opt = r_div; in stv6110_set_frequency()296 p_calc_opt /= (1 << (r_div_opt + 1)); in stv6110_set_frequency()299 ref = priv->mclk / ((1 << (r_div_opt + 1)) * (1 << (p + 1))); in stv6110_set_frequency()304 priv->regs[RSTV6110_TUNING2] |= (((r_div_opt) & 3) << 6); in stv6110_set_frequency()329 vco_freq = divider * ((priv->mclk / 1000) / ((1 << (r_div_opt + 1)))); in stv6110_set_frequency()