Lines Matching refs:options

484 	if (itv->options.tuner == -1)  in ivtv_process_eeprom()
485 itv->options.tuner = tv.tuner_type; in ivtv_process_eeprom()
486 if (itv->options.radio == -1) in ivtv_process_eeprom()
487 itv->options.radio = (tv.has_radio != 0); in ivtv_process_eeprom()
489 if (itv->options.newi2c == -1 && tv.has_ir) { in ivtv_process_eeprom()
490 itv->options.newi2c = (tv.has_ir & 4) ? 1 : 0; in ivtv_process_eeprom()
491 if (itv->options.newi2c) { in ivtv_process_eeprom()
616 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_MPG] = enc_mpg_buffers * 1024; in ivtv_process_options()
617 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_YUV] = enc_yuv_buffers * 1024; in ivtv_process_options()
618 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_VBI] = enc_vbi_buffers * 1024; in ivtv_process_options()
619 itv->options.kilobytes[IVTV_ENC_STREAM_TYPE_PCM] = enc_pcm_buffers; in ivtv_process_options()
620 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_MPG] = dec_mpg_buffers * 1024; in ivtv_process_options()
621 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_YUV] = dec_yuv_buffers * 1024; in ivtv_process_options()
622 itv->options.kilobytes[IVTV_DEC_STREAM_TYPE_VBI] = dec_vbi_buffers; in ivtv_process_options()
623 itv->options.cardtype = cardtype[itv->instance]; in ivtv_process_options()
624 itv->options.tuner = tuner[itv->instance]; in ivtv_process_options()
625 itv->options.radio = radio[itv->instance]; in ivtv_process_options()
627 itv->options.i2c_clock_period = i2c_clock_period[itv->instance]; in ivtv_process_options()
628 if (itv->options.i2c_clock_period == -1) in ivtv_process_options()
629 itv->options.i2c_clock_period = IVTV_DEFAULT_I2C_CLOCK_PERIOD; in ivtv_process_options()
630 else if (itv->options.i2c_clock_period < 10) in ivtv_process_options()
631 itv->options.i2c_clock_period = 10; in ivtv_process_options()
632 else if (itv->options.i2c_clock_period > 4500) in ivtv_process_options()
633 itv->options.i2c_clock_period = 4500; in ivtv_process_options()
635 itv->options.newi2c = newi2c; in ivtv_process_options()
645 if (itv->options.cardtype == -1) { in ivtv_process_options()
649 if ((itv->card = ivtv_get_card(itv->options.cardtype - 1))) { in ivtv_process_options()
652 } else if (itv->options.cardtype != 0) { in ivtv_process_options()
984 if (itv->options.cardtype == -1) { in ivtv_probe()
1084 if (itv->options.tuner == -1) { in ivtv_probe()
1090 itv->options.tuner = itv->card->tuners[i].tuner; in ivtv_probe()
1095 if (itv->options.tuner == -1 && itv->card->tuners[0].std) { in ivtv_probe()
1103 itv->options.tuner = itv->card->tuners[0].tuner; in ivtv_probe()
1105 if (itv->options.radio == -1) in ivtv_probe()
1106 itv->options.radio = (itv->card->radio_input.audio_type != 0); in ivtv_probe()
1150 if (itv->options.radio > 0) in ivtv_probe()
1153 if (itv->options.tuner > -1) { in ivtv_probe()
1157 setup.type = itv->options.tuner; in ivtv_probe()
1159 if (itv->options.radio > 0) in ivtv_probe()
1170 .tuner = itv->options.tuner, in ivtv_probe()