Lines Matching refs:config
126 const struct dib0090_config *config;
191 const struct dib0090_config *config;
212 state->msg[0].addr = state->config->i2c_address;
216 state->msg[1].addr = state->config->i2c_address;
246 state->msg[0].addr = state->config->i2c_address;
529 /* Read Pll current config * */
601 /* Read Pll current config * */
652 if (state->config->sleep)
653 state->config->sleep(fe, 0);
663 if (state->config->sleep)
664 state->config->sleep(fe, 1);
903 offset = state->config->wbd_vhf_offset;
905 offset = state->config->wbd_cband_offset;
1063 const u16 *bb_ramp = bb_ramp_pwm_normal; /* default baseband config */
1068 if (state->config->use_pwm_agc) {
1075 if (state->config->is_dib7090e) {
1233 adc = state->config->get_adc_power(fe);
1549 dib0090_reset_digital(fe, state->config);
1578 if (state->config->force_crystal_mode != 0)
1580 state->config->force_crystal_mode & 3);
1581 else if (state->config->io.clock_khz >= 24000)
2168 /*write the final cptrim config */
2219 if (state->config->analog_output == 0)
2256 if (state->config->analog_output == 0)
2273 if (state->config->use_pwm_agc && state->identity.in_soc) {
2282 BAND_UHF ? state->config->freq_offset_khz_uhf : state->config->
2288 const struct dib0090_low_if_offset_table *LUT_offset = state->config->low_if;
2320 if (state->config->force_cband_input) { /* Use the CBAND input for all band */
2324 if (state->config->is_dib7090e)
2332 if (state->config->is_dib7090e)
2367 FREF = state->config->io.clock_khz;
2368 if (state->config->fref_clock_ratio != 0)
2369 FREF /= state->config->fref_clock_ratio;
2398 else if (state->config->analog_output)
2416 if (!state->config->io.pll_int_loop_filt) {
2424 lo6 = (state->config->io.pll_int_loop_filt << 3);
2433 if (state->config->fref_clock_ratio != 0)
2434 dib0090_write_reg(state, 0x16, (Den << 8) | state->config->fref_clock_ratio);
2442 if (state->config->analog_output)
2445 dib0090_write_reg(state, 0x24, lo6 | EN_LO | state->config->use_pwm_agc * EN_CRYSTAL);
2467 dprintk("REFDIV: %d, FREF: %d\n", (u32) 1, (u32) state->config->io.clock_khz);
2479 state->wbdmux = (c << 13) | (i << 11) | (WBD | (state->config->use_pwm_agc << 1));
2607 struct dvb_frontend *dib0090_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config)
2613 st->config = config;
2619 if (config->wbd == NULL)
2622 st->current_wbd_table = config->wbd;
2639 struct dvb_frontend *dib0090_fw_register(struct dvb_frontend *fe, struct i2c_adapter *i2c, const struct dib0090_config *config)
2645 st->config = config;
2651 if (dib0090_fw_reset_digital(fe, st->config) != 0)