Lines Matching refs:afcerr
530 int afcm, afcerr ; in afcerr_chk() local
543 afcerr = afcm * state->master_clk / 8192; in afcerr_chk()
545 return afcerr; in afcerr_chk()
637 int crrerr, afcerr; /* kHz */ in freqerr_chk() local
680 afcerr = afcm * state->master_clk / 8192; in freqerr_chk()
682 afcerr = 0; in freqerr_chk()
701 if (crrerr + afcerr + fOSC_OFS * 1000 >= 0) in freqerr_chk()
702 frqerr = (crrerr + afcerr + fOSC_OFS * 1000 + 500) / 1000; in freqerr_chk()
704 frqerr = (crrerr + afcerr + fOSC_OFS * 1000 - 500) / 1000; in freqerr_chk()
706 frqerr = crrerr + afcerr + fOSC_OFS * 1000; in freqerr_chk()
1032 int afcerr; in mb86a16_set_fe() local
1282 afcerr = afcerr_chk(state); in mb86a16_set_fe()
1283 if (afcerr == -1) in mb86a16_set_fe()
1286 swp_freq = fOSC * 1000 + afcerr ; in mb86a16_set_fe()