Home
last modified time | relevance | path

Searched refs:FREF (Results 1 – 5 of 5) sorted by relevance

/drivers/media/dvb-frontends/
Ddib0070.c386 u32 FBDiv, Rest, FREF, VCOF_kHz; in dib0070_tune_digital() local
409 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 …]
Ditd1000.c225 #define FREF 16 macro
233 plln = (freq_khz * 1000) / 2 / FREF; in itd1000_set_lo()
243 state->frequency = ((plln * 1000) + (pllf * 1000)/1048576) * 2*FREF; in itd1000_set_lo()
Ddib0090.c2239 u32 FBDiv, Rest, FREF, VCOF_kHz = 0; in dib0090_tune() local
2366 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()
/drivers/media/tuners/
Dmt2060.c154 #define FREF 16000 // Quartz oscillator 16 MHz macro
195 num1 = f_lo1 / (FREF / 64); in mt2060_set_params()
200 num2 = f_lo2 * 64 / (FREF / 128); in mt2060_set_params()
Dmt2266.c123 #define FREF 30000 // Quartz oscillator 30 MHz macro
144 tune = 2 * freq * (8192/16) / (FREF/16); in mt2266_set_params()