Searched refs:FREF (Results 1 – 5 of 5) sorted by relevance
386 u32 FBDiv, Rest, FREF, VCOF_kHz; in dib0070_tune_digital() local409 FREF = state->cfg->clock_khz / REFDIV; in dib0070_tune_digital()415 FBDiv = (VCOF_kHz / state->current_tune_table_index->presc / FREF); in dib0070_tune_digital()416 Rest = (VCOF_kHz / state->current_tune_table_index->presc) - FBDiv * FREF; in dib0070_tune_digital()422 FBDiv = (freq / (FREF / 2)); in dib0070_tune_digital()423 Rest = 2 * freq - FBDiv * FREF; in dib0070_tune_digital()431 else if (Rest > (FREF - LPF)) { in dib0070_tune_digital()434 } else if (Rest > (FREF - 2 * LPF)) in dib0070_tune_digital()435 Rest = FREF - 2 * LPF; in dib0070_tune_digital()436 Rest = (Rest * 6528) / (FREF / 10); in dib0070_tune_digital()[all …]
225 #define FREF 16 macro233 plln = (freq_khz * 1000) / 2 / FREF; in itd1000_set_lo()243 state->frequency = ((plln * 1000) + (pllf * 1000)/1048576) * 2*FREF; in itd1000_set_lo()
2239 u32 FBDiv, Rest, FREF, VCOF_kHz = 0; in dib0090_tune() local2366 FREF = state->config->io.clock_khz; in dib0090_tune()2368 FREF /= state->config->fref_clock_ratio; in dib0090_tune()2370 FBDiv = (VCOF_kHz / pll->topresc / FREF); in dib0090_tune()2371 Rest = (VCOF_kHz / pll->topresc) - FBDiv * FREF; in dib0090_tune()2377 else if (Rest > (FREF - LPF)) { in dib0090_tune()2380 } else if (Rest > (FREF - 2 * LPF)) in dib0090_tune()2381 Rest = FREF - 2 * LPF; in dib0090_tune()2382 Rest = (Rest * 6528) / (FREF / 10); in dib0090_tune()
154 #define FREF 16000 // Quartz oscillator 16 MHz macro195 num1 = f_lo1 / (FREF / 64); in mt2060_set_params()200 num2 = f_lo2 * 64 / (FREF / 128); in mt2060_set_params()
123 #define FREF 30000 // Quartz oscillator 30 MHz macro144 tune = 2 * freq * (8192/16) / (FREF/16); in mt2266_set_params()