Lines Matching refs:psd2
302 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()
404 regs[STB6100_K] = (0x38 & ~STB6100_K_PSD2) | (psd2 << STB6100_K_PSD2_SHIFT); in stb6100_set_frequency()
436 (unsigned int)psd2, state->reference, in stb6100_set_frequency()