Lines Matching refs:adc_clock
113 u32 adc_clock = 20480; /* 20.340 MHz */ in mt352_calc_nominal_rate() local
128 if (state->config.adc_clock) in mt352_calc_nominal_rate()
129 adc_clock = state->config.adc_clock; in mt352_calc_nominal_rate()
132 value = value * 1000 / adc_clock; in mt352_calc_nominal_rate()
134 __func__, bw, adc_clock, value); in mt352_calc_nominal_rate()
142 int adc_clock = 20480; /* 20.480000 MHz */ in mt352_calc_input_freq() local
146 if (state->config.adc_clock) in mt352_calc_input_freq()
147 adc_clock = state->config.adc_clock; in mt352_calc_input_freq()
151 if (adc_clock >= if2 * 2) in mt352_calc_input_freq()
154 ife = adc_clock - (if2 % adc_clock); in mt352_calc_input_freq()
155 if (ife > adc_clock / 2) in mt352_calc_input_freq()
156 ife = adc_clock - ife; in mt352_calc_input_freq()
158 value = -16374 * ife / adc_clock; in mt352_calc_input_freq()
160 __func__, if2, ife, adc_clock, value, value & 0x3fff); in mt352_calc_input_freq()