Searched refs:adc_clock (Results 1 - 8 of 8) sorted by relevance

/linux-4.4.14/drivers/media/dvb-frontends/
H A Dzl10353.c129 u32 adc_clock = 450560; /* 45.056 MHz */ zl10353_calc_nominal_rate() local
133 if (state->config.adc_clock) zl10353_calc_nominal_rate()
134 adc_clock = state->config.adc_clock; zl10353_calc_nominal_rate()
137 value = (bw * value) + adc_clock / 2; zl10353_calc_nominal_rate()
138 do_div(value, adc_clock); zl10353_calc_nominal_rate()
141 dprintk("%s: bw %d, adc_clock %d => 0x%x\n", zl10353_calc_nominal_rate()
142 __func__, bw, adc_clock, *nominal_rate); zl10353_calc_nominal_rate()
149 u32 adc_clock = 450560; /* 45.056 MHz */ zl10353_calc_input_freq() local
154 if (state->config.adc_clock) zl10353_calc_input_freq()
155 adc_clock = state->config.adc_clock; zl10353_calc_input_freq()
159 if (adc_clock >= if2 * 2) zl10353_calc_input_freq()
162 ife = adc_clock - (if2 % adc_clock); zl10353_calc_input_freq()
163 if (ife > adc_clock / 2) zl10353_calc_input_freq()
164 ife = adc_clock - ife; zl10353_calc_input_freq()
166 value = (u64)65536 * ife + adc_clock / 2; zl10353_calc_input_freq()
167 do_div(value, adc_clock); zl10353_calc_input_freq()
170 dprintk("%s: if2 %d, ife %d, adc_clock %d => %d / 0x%x\n", zl10353_calc_input_freq()
171 __func__, if2, ife, adc_clock, -(int)value, *input_freq); zl10353_calc_input_freq()
H A Dmt352.c117 u32 adc_clock = 20480; /* 20.340 MHz */ mt352_calc_nominal_rate() local
132 if (state->config.adc_clock) mt352_calc_nominal_rate()
133 adc_clock = state->config.adc_clock; mt352_calc_nominal_rate()
136 value = value * 1000 / adc_clock; mt352_calc_nominal_rate()
137 dprintk("%s: bw %d, adc_clock %d => 0x%x\n", mt352_calc_nominal_rate()
138 __func__, bw, adc_clock, value); mt352_calc_nominal_rate()
146 int adc_clock = 20480; /* 20.480000 MHz */ mt352_calc_input_freq() local
150 if (state->config.adc_clock) mt352_calc_input_freq()
151 adc_clock = state->config.adc_clock; mt352_calc_input_freq()
155 if (adc_clock >= if2 * 2) mt352_calc_input_freq()
158 ife = adc_clock - (if2 % adc_clock); mt352_calc_input_freq()
159 if (ife > adc_clock / 2) mt352_calc_input_freq()
160 ife = adc_clock - ife; mt352_calc_input_freq()
162 value = -16374 * ife / adc_clock; mt352_calc_input_freq()
163 dprintk("%s: if2 %d, ife %d, adc_clock %d => %d / 0x%x\n", mt352_calc_input_freq()
164 __func__, if2, ife, adc_clock, value, value & 0x3fff); mt352_calc_input_freq()
H A Dzl10353.h33 int adc_clock; /* default: 450560 (45.056 MHz) */ member in struct:zl10353_config
H A Dmt352.h44 int adc_clock; // default: 20480 member in struct:mt352_config
/linux-4.4.14/drivers/media/pci/cx88/
H A Dcx88-core.c862 u32 adc_clock; cx88_set_tvnorm() local
878 adc_clock = xtal; cx88_set_tvnorm()
916 v4l2_norm_to_name(core->tvnorm), fsc8, adc_clock, vdec_clock, cx88_set_tvnorm()
933 tmp64 = adc_clock * (u64)(1 << 17); cx88_set_tvnorm()
/linux-4.4.14/drivers/media/usb/dvb-usb-v2/
H A Dce6230.c171 .adc_clock = 450000,
/linux-4.4.14/drivers/media/pci/cx18/
H A Dcx18-dvb.c222 .adc_clock = 20480, /* 20.480 MHz */
/linux-4.4.14/drivers/media/pci/saa7134/
H A Dsaa7134-dvb.c207 .adc_clock = 20333,

Completed in 354 milliseconds