Lines Matching refs:tvee
413 void tveeprom_hauppauge_analog(struct i2c_client *c, struct tveeprom *tvee,
449 memset(tvee, 0, sizeof(*tvee));
450 tvee->tuner_type = TUNER_ABSENT;
451 tvee->tuner2_type = TUNER_ABSENT;
508 tvee->has_radio = eeprom_data[i+len-1];
511 tvee->has_ir = 0;
512 tvee->model =
515 tvee->revision = eeprom_data[i+10] +
522 tvee->serial_number =
535 tvee->audio_processor = audioIC[audioic].id;
537 tvee->audio_processor = V4L2_IDENT_UNKNOWN;
544 tvee->serial_number =
550 (tvee->serial_number < 0xffffff)) {
551 tvee->MAC_address[0] = 0x00;
552 tvee->MAC_address[1] = 0x0D;
553 tvee->MAC_address[2] = 0xFE;
554 tvee->MAC_address[3] = eeprom_data[i + 7];
555 tvee->MAC_address[4] = eeprom_data[i + 6];
556 tvee->MAC_address[5] = eeprom_data[i + 5];
557 tvee->has_MAC_address = 1;
568 tvee->audio_processor = audioIC[audioic].id;
570 tvee->audio_processor = V4L2_IDENT_UNKNOWN;
576 tvee->model =
581 tvee->revision =
596 tvee->decoder_processor = eeprom_data[i + 1];
611 tvee->has_radio = 1; /* must be radio */
626 tvee->has_radio = eeprom_data[i+1];
631 tvee->has_ir = 1 | (eeprom_data[i+1] << 1);
650 if (tvee->revision != 0) {
651 tvee->rev_str[0] = 32 + ((tvee->revision >> 18) & 0x3f);
652 tvee->rev_str[1] = 32 + ((tvee->revision >> 12) & 0x3f);
653 tvee->rev_str[2] = 32 + ((tvee->revision >> 6) & 0x3f);
654 tvee->rev_str[3] = 32 + (tvee->revision & 0x3f);
655 tvee->rev_str[4] = 0;
658 if (hasRadioTuner(tuner1) && !tvee->has_radio) {
661 tvee->has_radio = 1;
665 tvee->tuner_type = hauppauge_tuner[tuner1].id;
672 tvee->tuner2_type = hauppauge_tuner[tuner2].id;
678 tvee->tuner_hauppauge_model = tuner1;
679 tvee->tuner2_hauppauge_model = tuner2;
680 tvee->tuner_formats = 0;
681 tvee->tuner2_formats = 0;
684 tvee->tuner_formats |= hauppauge_tuner_fmt[i].id;
690 tvee->tuner2_formats |= hauppauge_tuner_fmt[i].id;
696 tvee->model, tvee->rev_str, tvee->serial_number);
697 if (tvee->has_MAC_address == 1)
698 tveeprom_info("MAC address is %pM\n", tvee->MAC_address);
700 t_name1, tuner1, tvee->tuner_type);
707 t_name2, tuner2, tvee->tuner2_type);
715 tvee->audio_processor = V4L2_IDENT_UNKNOWN;
724 if (tvee->decoder_processor)
726 STRM(decoderIC, tvee->decoder_processor),
727 tvee->decoder_processor);
728 if (tvee->has_ir)
730 tvee->has_radio ? "" : "no ",
731 (tvee->has_ir & 2) ? "" : "no ",
732 (tvee->has_ir & 4) ? "" : "no ");
735 tvee->has_radio ? "" : "no ");