Searched refs:FREF (Results 1 – 6 of 6) sorted by relevance
372 u32 FBDiv, Rest, FREF, VCOF_kHz; in dib0070_tune_digital() local395 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 …]
211 #define FREF 16 macro219 plln = (freq_khz * 1000) / 2 / FREF; in itd1000_set_lo()229 state->frequency = ((plln * 1000) + (pllf * 1000)/1048576) * 2*FREF; in itd1000_set_lo()
2238 u32 FBDiv, Rest, FREF, VCOF_kHz = 0; in dib0090_tune() local2365 FREF = state->config->io.clock_khz; in dib0090_tune()2367 FREF /= state->config->fref_clock_ratio; in dib0090_tune()2369 FBDiv = (VCOF_kHz / pll->topresc / FREF); in dib0090_tune()2370 Rest = (VCOF_kHz / pll->topresc) - FBDiv * FREF; in dib0090_tune()2376 else if (Rest > (FREF - LPF)) { in dib0090_tune()2379 } else if (Rest > (FREF - 2 * LPF)) in dib0090_tune()2380 Rest = FREF - 2 * LPF; in dib0090_tune()2381 Rest = (Rest * 6528) / (FREF / 10); in dib0090_tune()
251 #define FREF 16000 /* KHz */ macro475 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()
114 #define FREF 30000 // Quartz oscillator 30 MHz macro135 tune = 2 * freq * (8192/16) / (FREF/16); in mt2266_set_params()
186 #define FREF 16000 // Quartz oscillator 16 MHz macro227 num1 = f_lo1 / (FREF / 64); in mt2060_set_params()232 num2 = f_lo2 * 64 / (FREF / 128); in mt2060_set_params()