Lines Matching defs:config
230 .addr = state->config->demod_address,
235 .addr = state->config->demod_address,
299 .addr = state->config->demod_address,
306 .addr = state->config->demod_address,
313 .addr = state->config->demod_address,
402 .addr = state->config->demod_address,
409 .addr = state->config->demod_address,
456 .addr = state->config->demod_address,
461 .addr = state->config->demod_address,
504 .addr = state->config->demod_address,
557 mclk = (div + 1) * state->config->xtal_freq / 6;
574 dprintk(state->verbose, FE_DEBUG, 1, "state->config=%p", state->config);
575 mdiv = ((6 * Mclk) / state->config->xtal_freq) - 1;
586 struct stb0899_config *config = state->config;
587 const struct stb0899_postproc *postproc = config->postproc;
893 struct stb0899_config *config = state->config;
899 for (i = 0; config->init_dev[i].address != 0xffff; i++)
900 stb0899_write_reg(state, config->init_dev[i].address, config->init_dev[i].data);
904 for (i = 0; config->init_s2_demod[i].offset != 0xffff; i++)
906 config->init_s2_demod[i].base_address,
907 config->init_s2_demod[i].offset,
908 config->init_s2_demod[i].data);
912 for (i = 0; config->init_s1_demod[i].address != 0xffff; i++)
913 stb0899_write_reg(state, config->init_s1_demod[i].address, config->init_s1_demod[i].data);
917 for (i = 0; config->init_s2_fec[i].offset != 0xffff; i++)
919 config->init_s2_fec[i].base_address,
920 config->init_s2_fec[i].offset,
921 config->init_s2_fec[i].data);
925 for (i = 0; config->init_tst[i].address != 0xffff; i++)
926 stb0899_write_reg(state, config->init_tst[i].address, config->init_tst[i].data);
1416 struct stb0899_config *config = state->config;
1426 if (iter_scale > config->ldpc_max_iter)
1427 iter_scale = config->ldpc_max_iter;
1439 struct stb0899_config *config = state->config;
1456 if (state->config->tuner_set_rfsiggain) {
1463 state->config->tuner_set_rfsiggain(fe, gain);
1467 stb0899_set_mclk(state, config->lo_clk);
1469 stb0899_set_mclk(state, config->hi_clk);
1490 if (state->config->tuner_set_bandwidth)
1491 state->config->tuner_set_bandwidth(fe, (13 * (stb0899_carr_width(state) + SearchRange)) / 10);
1492 if (state->config->tuner_get_bandwidth)
1493 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);
1529 if (state->config->tuner_set_bandwidth)
1530 state->config->tuner_set_bandwidth(fe, (stb0899_carr_width(state) + SearchRange));
1531 if (state->config->tuner_get_bandwidth)
1532 state->config->tuner_get_bandwidth(fe, &internal->tuner_bw);
1652 struct dvb_frontend *stb0899_attach(struct stb0899_config *config, struct i2c_adapter *i2c)
1661 inversion = config->inversion;
1663 state->config = config;