Searched refs:Rest (Results 1 – 2 of 2) sorted by relevance
372 u32 FBDiv, Rest, FREF, VCOF_kHz; in dib0070_tune_digital() local402 Rest = (VCOF_kHz / state->current_tune_table_index->presc) - FBDiv * FREF; in dib0070_tune_digital()409 Rest = 2 * freq - FBDiv * FREF; in dib0070_tune_digital()413 if (Rest < LPF) in dib0070_tune_digital()414 Rest = 0; in dib0070_tune_digital()415 else if (Rest < 2 * LPF) in dib0070_tune_digital()416 Rest = 2 * LPF; in dib0070_tune_digital()417 else if (Rest > (FREF - LPF)) { in dib0070_tune_digital()418 Rest = 0; in dib0070_tune_digital()420 } else if (Rest > (FREF - 2 * LPF)) in dib0070_tune_digital()[all …]
2240 u32 FBDiv, Rest, FREF, VCOF_kHz = 0; in dib0090_tune() local2372 Rest = (VCOF_kHz / pll->topresc) - FBDiv * FREF; in dib0090_tune()2374 if (Rest < LPF) in dib0090_tune()2375 Rest = 0; in dib0090_tune()2376 else if (Rest < 2 * LPF) in dib0090_tune()2377 Rest = 2 * LPF; in dib0090_tune()2378 else if (Rest > (FREF - LPF)) { in dib0090_tune()2379 Rest = 0; in dib0090_tune()2381 } else if (Rest > (FREF - 2 * LPF)) in dib0090_tune()2382 Rest = FREF - 2 * LPF; in dib0090_tune()[all …]