Searched refs:psd2 (Results 1 – 2 of 2) sorted by relevance
/Linux-v4.19/drivers/media/dvb-frontends/ |
D | stb6100.c | 314 int psd2, odiv; in stb6100_get_frequency() local 323 psd2 = (regs[STB6100_K] & STB6100_K_PSD2) >> STB6100_K_PSD2_SHIFT; in stb6100_get_frequency() 326 fvco = (nfrac * state->reference >> (9 - psd2)) + (nint * state->reference << psd2); in stb6100_get_frequency() 331 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac); in stb6100_get_frequency() 345 u8 g, psd2, odiv; in stb6100_set_frequency() local 392 psd2 = 0; in stb6100_set_frequency() 394 psd2 = 1; in stb6100_set_frequency() 398 nint = fvco / (state->reference << psd2); in stb6100_set_frequency() 400 nfrac = DIV_ROUND_CLOSEST((fvco - (nint * state->reference << psd2)) in stb6100_set_frequency() 401 << (9 - psd2), state->reference); in stb6100_set_frequency() [all …]
|
D | stv6110.c | 236 u32 nbsteps, divider, psd2, freq; in stv6110_get_frequency() local 247 psd2 = (priv->regs[RSTV6110_TUNING2] >> 4) & 1; in stv6110_get_frequency() 250 freq /= (1 << (nbsteps + psd2)); in stv6110_get_frequency()
|