Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/media/dvb-frontends/
Dstb6100.c302 int psd2, odiv; in stb6100_get_frequency() local
311 psd2 = (regs[STB6100_K] & STB6100_K_PSD2) >> STB6100_K_PSD2_SHIFT; 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()
333 u8 g, psd2, odiv; in stb6100_set_frequency() local
380 psd2 = 0; in stb6100_set_frequency()
382 psd2 = 1; in stb6100_set_frequency()
386 nint = fvco / (state->reference << psd2); in stb6100_set_frequency()
388 nfrac = DIV_ROUND_CLOSEST((fvco - (nint * state->reference << psd2)) in stb6100_set_frequency()
389 << (9 - psd2), state->reference); in stb6100_set_frequency()
[all …]
Dstv6110.c226 u32 nbsteps, divider, psd2, freq; in stv6110_get_frequency() local
237 psd2 = (priv->regs[RSTV6110_TUNING2] >> 4) & 1; in stv6110_get_frequency()
240 freq /= (1 << (nbsteps + psd2)); in stv6110_get_frequency()