Lines Matching refs:options
514 if (itv->options.tuner == -1) in ivtv_process_eeprom()
515 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom()
516 if (itv->options.radio == -1) in ivtv_process_eeprom()
517 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom()
519 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom()
520 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom()
521 if (itv->options.newi2c) { in ivtv_process_eeprom()
646 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options()
647 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options()
648 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options()
649 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; in ivtv_process_options()
650 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_MPG] = dec_mpg_buffers * 1024; in ivtv_process_options()
651 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_YUV] = dec_yuv_buffers * 1024; in ivtv_process_options()
652 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_VBI] = dec_vbi_buffers; in ivtv_process_options()
653 itv->options.cardtype = cardtype[itv->instance]; in ivtv_process_options()
654 itv->options.tuner = tuner[itv->instance]; in ivtv_process_options()
655 itv->options.radio = radio[itv->instance]; in ivtv_process_options()
657 itv->options.i2c_clock_period = i2c_clock_period[itv->instance]; in ivtv_process_options()
658 if (itv->options.i2c_clock_period == -1) in ivtv_process_options()
659 itv->options.i2c_clock_period = IVTV_DEFAULT_I2C_CLOCK_PERIOD; in ivtv_process_options()
660 else if (itv->options.i2c_clock_period < 10) in ivtv_process_options()
661 itv->options.i2c_clock_period = 10; in ivtv_process_options()
662 else if (itv->options.i2c_clock_period > 4500) in ivtv_process_options()
663 itv->options.i2c_clock_period = 4500; in ivtv_process_options()
665 itv->options.newi2c = newi2c; in ivtv_process_options()
675 if (itv->options.cardtype == -1) { in ivtv_process_options()
679 if ((itv->card = ivtv_get_card(itv->options.cardtype - 1))) { in ivtv_process_options()
682 } else if (itv->options.cardtype != 0) { in ivtv_process_options()
1014 if (itv->options.cardtype == -1) { in ivtv_probe()
1113 if (itv->options.tuner == -1) { in ivtv_probe()
1119 itv->options.tuner = itv->card->tuners[i].tuner; in ivtv_probe()
1124 if (itv->options.tuner == -1 && itv->card->tuners[0].std) { in ivtv_probe()
1132 itv->options.tuner = itv->card->tuners[0].tuner; in ivtv_probe()
1134 if (itv->options.radio == -1) in ivtv_probe()
1135 itv->options.radio = (itv->card->radio_input.audio_type != 0); in ivtv_probe()
1179 if (itv->options.radio > 0) in ivtv_probe()
1182 if (itv->options.tuner > -1) { in ivtv_probe()
1186 setup.type = itv->options.tuner; in ivtv_probe()
1188 if (itv->options.radio > 0) in ivtv_probe()
1199 .tuner = itv->options.tuner, in ivtv_probe()