Lines Matching refs:options
511 if (itv->options.tuner == -1) in ivtv_process_eeprom()
512 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom()
513 if (itv->options.radio == -1) in ivtv_process_eeprom()
514 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom()
516 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom()
517 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom()
518 if (itv->options.newi2c) { in ivtv_process_eeprom()
643 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options()
644 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options()
645 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options()
646 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; in ivtv_process_options()
647 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_MPG] = dec_mpg_buffers * 1024; in ivtv_process_options()
648 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_YUV] = dec_yuv_buffers * 1024; in ivtv_process_options()
649 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_VBI] = dec_vbi_buffers; in ivtv_process_options()
650 itv->options.cardtype = cardtype[itv->instance]; in ivtv_process_options()
651 itv->options.tuner = tuner[itv->instance]; in ivtv_process_options()
652 itv->options.radio = radio[itv->instance]; in ivtv_process_options()
654 itv->options.i2c_clock_period = i2c_clock_period[itv->instance]; in ivtv_process_options()
655 if (itv->options.i2c_clock_period == -1) in ivtv_process_options()
656 itv->options.i2c_clock_period = IVTV_DEFAULT_I2C_CLOCK_PERIOD; in ivtv_process_options()
657 else if (itv->options.i2c_clock_period < 10) in ivtv_process_options()
658 itv->options.i2c_clock_period = 10; in ivtv_process_options()
659 else if (itv->options.i2c_clock_period > 4500) in ivtv_process_options()
660 itv->options.i2c_clock_period = 4500; in ivtv_process_options()
662 itv->options.newi2c = newi2c; in ivtv_process_options()
672 if (itv->options.cardtype == -1) { in ivtv_process_options()
676 if ((itv->card = ivtv_get_card(itv->options.cardtype - 1))) { in ivtv_process_options()
679 } else if (itv->options.cardtype != 0) { in ivtv_process_options()
1016 if (itv->options.cardtype == -1) { in ivtv_probe()
1115 if (itv->options.tuner == -1) { in ivtv_probe()
1121 itv->options.tuner = itv->card->tuners[i].tuner; in ivtv_probe()
1126 if (itv->options.tuner == -1 && itv->card->tuners[0].std) { in ivtv_probe()
1134 itv->options.tuner = itv->card->tuners[0].tuner; in ivtv_probe()
1136 if (itv->options.radio == -1) in ivtv_probe()
1137 itv->options.radio = (itv->card->radio_input.audio_type != 0); in ivtv_probe()
1181 if (itv->options.radio > 0) in ivtv_probe()
1184 if (itv->options.tuner > -1) { in ivtv_probe()
1188 setup.type = itv->options.tuner; in ivtv_probe()
1190 if (itv->options.radio > 0) in ivtv_probe()
1201 .tuner = itv->options.tuner, in ivtv_probe()