Lines Matching refs:adc_clock
103 u32 adc_clock = 20480; /* 20.340 MHz */ in mt352_calc_nominal_rate() local
118 if (state->config.adc_clock) in mt352_calc_nominal_rate()
119 adc_clock = state->config.adc_clock; in mt352_calc_nominal_rate()
122 value = value * 1000 / adc_clock; in mt352_calc_nominal_rate()
124 __func__, bw, adc_clock, value); in mt352_calc_nominal_rate()
132 int adc_clock = 20480; /* 20.480000 MHz */ in mt352_calc_input_freq() local
136 if (state->config.adc_clock) in mt352_calc_input_freq()
137 adc_clock = state->config.adc_clock; in mt352_calc_input_freq()
141 if (adc_clock >= if2 * 2) in mt352_calc_input_freq()
144 ife = adc_clock - (if2 % adc_clock); in mt352_calc_input_freq()
145 if (ife > adc_clock / 2) in mt352_calc_input_freq()
146 ife = adc_clock - ife; in mt352_calc_input_freq()
148 value = -16374 * ife / adc_clock; in mt352_calc_input_freq()
150 __func__, if2, ife, adc_clock, value, value & 0x3fff); in mt352_calc_input_freq()