Lines Matching defs:psd2
283 int psd2, odiv;
291 psd2 = (regs[STB6100_K] & STB6100_K_PSD2) >> STB6100_K_PSD2_SHIFT;
294 fvco = (nfrac * state->reference >> (9 - psd2)) + (nint * state->reference << psd2);
298 "frequency = %u kHz, odiv = %u, psd2 = %u, fxtal = %u kHz, fvco = %u kHz, N(I) = %u, N(F) = %u",
299 state->frequency, odiv, psd2, state->reference, fvco, nint, nfrac);
313 u8 g, psd2, odiv;
351 psd2 = 0;
353 psd2 = 1;
354 regs[STB6100_K] = (regs[STB6100_K] & ~STB6100_K_PSD2) | (psd2 << STB6100_K_PSD2_SHIFT);
369 nint = fvco / (state->reference << psd2);
371 nfrac = DIV_ROUND_CLOSEST((fvco - (nint * state->reference << psd2))
372 << (9 - psd2),
375 "frequency = %u, srate = %u, g = %u, odiv = %u, psd2 = %u, fxtal = %u, osm = %u, fvco = %u, N(I) = %u, N(F) = %u",
377 (unsigned int)psd2, state->reference,