Searched refs:freq_adc (Results 1 – 1 of 1) sorted by relevance
1629 u32 freq_adc, ratio, rest, max = 0; in dib8090_compute_pll_parameters() local1633 freq_adc = 12 * pll_ratio * (1 << 8) / 16; in dib8090_compute_pll_parameters()1634 ratio = ((fe->dtv_property_cache.frequency / 1000) * (1 << 8) / 1000) / freq_adc; in dib8090_compute_pll_parameters()1635 rest = ((fe->dtv_property_cache.frequency / 1000) * (1 << 8) / 1000) - ratio * freq_adc; in dib8090_compute_pll_parameters()1637 if (rest > freq_adc / 2) in dib8090_compute_pll_parameters()1638 rest = freq_adc - rest; in dib8090_compute_pll_parameters()