Lines Matching refs:FNR
166 u8 ADCONF, FCONF, FNR, AGCR; in ves1x93_set_symbolrate() local
192 FNR = 0xff; in ves1x93_set_symbolrate()
194 if (ratio < MUL/3) FNR = 0; in ves1x93_set_symbolrate()
195 if (ratio < (MUL*11)/50) FNR = 1; in ves1x93_set_symbolrate()
196 if (ratio < MUL/6) FNR = 2; in ves1x93_set_symbolrate()
197 if (ratio < MUL/9) FNR = 3; in ves1x93_set_symbolrate()
198 if (ratio < MUL/12) FNR = 4; in ves1x93_set_symbolrate()
199 if (ratio < (MUL*11)/200) FNR = 5; in ves1x93_set_symbolrate()
200 if (ratio < MUL/24) FNR = 6; in ves1x93_set_symbolrate()
201 if (ratio < (MUL*27)/1000) FNR = 7; in ves1x93_set_symbolrate()
202 if (ratio < MUL/48) FNR = 8; in ves1x93_set_symbolrate()
203 if (ratio < (MUL*137)/10000) FNR = 9; in ves1x93_set_symbolrate()
205 if (FNR == 0xff) { in ves1x93_set_symbolrate()
208 FNR = 0; in ves1x93_set_symbolrate()
211 FCONF = 0x88 | (FNR >> 1) | ((FNR & 0x01) << 5); in ves1x93_set_symbolrate()
215 BDR = (( (ratio << (FNR >> 1)) >> 4) + 1) >> 1; in ves1x93_set_symbolrate()
216 BDRI = ( ((FIN << 8) / ((srate << (FNR >> 1)) >> 2)) + 1) >> 1; in ves1x93_set_symbolrate()
218 dprintk("FNR= %d\n", FNR); in ves1x93_set_symbolrate()