Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/media/dvb-frontends/
Ddib0070.c372 u32 FBDiv, Rest, FREF, VCOF_kHz; in dib0070_tune_digital() local
395 FREF = state->cfg->clock_khz / REFDIV; in dib0070_tune_digital()
401 FBDiv = (VCOF_kHz / state->current_tune_table_index->presc / FREF); in dib0070_tune_digital()
402 Rest = (VCOF_kHz / state->current_tune_table_index->presc) - FBDiv * FREF; in dib0070_tune_digital()
408 FBDiv = (freq / (FREF / 2)); in dib0070_tune_digital()
409 Rest = 2 * freq - FBDiv * FREF; in dib0070_tune_digital()
417 else if (Rest > (FREF - LPF)) { in dib0070_tune_digital()
420 } else if (Rest > (FREF - 2 * LPF)) in dib0070_tune_digital()
421 Rest = FREF - 2 * LPF; in dib0070_tune_digital()
422 Rest = (Rest * 6528) / (FREF / 10); in dib0070_tune_digital()
[all …]
Ditd1000.c211 #define FREF 16 macro
219 plln = (freq_khz * 1000) / 2 / FREF; in itd1000_set_lo()
229 state->frequency = ((plln * 1000) + (pllf * 1000)/1048576) * 2*FREF; in itd1000_set_lo()
Ddib0090.c2240 u32 FBDiv, Rest, FREF, VCOF_kHz = 0; in dib0090_tune() local
2367 FREF = state->config->io.clock_khz; in dib0090_tune()
2369 FREF /= state->config->fref_clock_ratio; in dib0090_tune()
2371 FBDiv = (VCOF_kHz / pll->topresc / FREF); in dib0090_tune()
2372 Rest = (VCOF_kHz / pll->topresc) - FBDiv * FREF; in dib0090_tune()
2378 else if (Rest > (FREF - LPF)) { in dib0090_tune()
2381 } else if (Rest > (FREF - 2 * LPF)) in dib0090_tune()
2382 Rest = FREF - 2 * LPF; in dib0090_tune()
2383 Rest = (Rest * 6528) / (FREF / 10); in dib0090_tune()
/linux-6.1.9/arch/m68k/coldfire/
Dm53xx.c251 #define FREF 16000 /* KHz */ macro
475 fref = FREF; in clock_pll()
564 return (FREF/(3*(1 << div))); in clock_limp()
590 return (FREF/(2 << divider)); in get_sys_clock()
593 return (FREF * readb(MCF_PLL_PFDR)) / (BUSDIV * 4); in get_sys_clock()
/linux-6.1.9/drivers/media/tuners/
Dmt2266.c114 #define FREF 30000 // Quartz oscillator 30 MHz macro
135 tune = 2 * freq * (8192/16) / (FREF/16); in mt2266_set_params()
Dmt2060.c186 #define FREF 16000 // Quartz oscillator 16 MHz macro
227 num1 = f_lo1 / (FREF / 64); in mt2060_set_params()
232 num2 = f_lo2 * 64 / (FREF / 128); in mt2060_set_params()