Home
last modified time | relevance | path

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

/drivers/media/dvb-frontends/
Dstb6100.c301 u32 nint, nfrac, fvco; in stb6100_get_frequency() local
312 nint = regs[STB6100_NI]; in stb6100_get_frequency()
314 fvco = (nfrac * state->reference >> (9 - psd2)) + (nint * state->reference << psd2); in stb6100_get_frequency()
319 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac); in stb6100_get_frequency()
331 u32 srate = 0, fvco, nint, nfrac; in stb6100_set_frequency() local
386 nint = fvco / (state->reference << psd2); in stb6100_set_frequency()
388 nfrac = DIV_ROUND_CLOSEST((fvco - (nint * state->reference << psd2)) in stb6100_set_frequency()
392 regs[STB6100_NI] = nint; in stb6100_set_frequency()
437 ptr->reg, fvco, nint, nfrac); in stb6100_set_frequency()
/drivers/media/tuners/
Dr820t.c555 u8 ni, si, nint, vco_fine_tune, val; in r820t_set_pll() local
625 nint = vco_freq / (2 * pll_ref); in r820t_set_pll()
626 vco_fra = vco_freq - 2 * pll_ref * nint; in r820t_set_pll()
633 nint++; in r820t_set_pll()
640 if (nint > 63) { in r820t_set_pll()
645 ni = (nint - 13) / 4; in r820t_set_pll()
646 si = nint - 4 * ni - 13; in r820t_set_pll()