Lines Matching defs:tvee

415 void tveeprom_hauppauge_analog(struct tveeprom *tvee,
451 memset(tvee, 0, sizeof(*tvee));
452 tvee->tuner_type = TUNER_ABSENT;
453 tvee->tuner2_type = TUNER_ABSENT;
504 tvee->has_radio = eeprom_data[i+len-1];
507 tvee->has_ir = 0;
508 tvee->model =
511 tvee->revision = eeprom_data[i+10] +
518 tvee->serial_number =
531 tvee->audio_processor = audio_ic[audioic].id;
533 tvee->audio_processor = TVEEPROM_AUDPROC_OTHER;
540 tvee->serial_number =
547 tvee->MAC_address[0] = 0x00;
548 tvee->MAC_address[1] = 0x0D;
549 tvee->MAC_address[2] = 0xFE;
550 tvee->MAC_address[3] = eeprom_data[i + 7];
551 tvee->MAC_address[4] = eeprom_data[i + 6];
552 tvee->MAC_address[5] = eeprom_data[i + 5];
553 tvee->has_MAC_address = 1;
564 tvee->audio_processor = audio_ic[audioic].id;
566 tvee->audio_processor = TVEEPROM_AUDPROC_OTHER;
572 tvee->model =
577 tvee->revision =
592 tvee->decoder_processor = eeprom_data[i + 1];
607 tvee->has_radio = 1; /* must be radio */
622 tvee->has_radio = eeprom_data[i+1];
627 tvee->has_ir = 1 | (eeprom_data[i+1] << 1);
646 if (tvee->revision != 0) {
647 tvee->rev_str[0] = 32 + ((tvee->revision >> 18) & 0x3f);
648 tvee->rev_str[1] = 32 + ((tvee->revision >> 12) & 0x3f);
649 tvee->rev_str[2] = 32 + ((tvee->revision >> 6) & 0x3f);
650 tvee->rev_str[3] = 32 + (tvee->revision & 0x3f);
651 tvee->rev_str[4] = 0;
654 if (hasRadioTuner(tuner1) && !tvee->has_radio) {
657 tvee->has_radio = 1;
661 tvee->tuner_type = hauppauge_tuner[tuner1].id;
668 tvee->tuner2_type = hauppauge_tuner[tuner2].id;
674 tvee->tuner_hauppauge_model = tuner1;
675 tvee->tuner2_hauppauge_model = tuner2;
676 tvee->tuner_formats = 0;
677 tvee->tuner2_formats = 0;
680 tvee->tuner_formats |= hauppauge_tuner_fmt[i].id;
686 tvee->tuner2_formats |= hauppauge_tuner_fmt[i].id;
692 tvee->model, tvee->rev_str, tvee->serial_number);
693 if (tvee->has_MAC_address == 1)
694 pr_info("MAC address is %pM\n", tvee->MAC_address);
696 t_name1, tuner1, tvee->tuner_type);
703 t_name2, tuner2, tvee->tuner2_type);
711 tvee->audio_processor = TVEEPROM_AUDPROC_OTHER;
720 if (tvee->decoder_processor)
722 STRM(decoderIC, tvee->decoder_processor),
723 tvee->decoder_processor);
724 if (tvee->has_ir)
726 tvee->has_radio ? "" : "no ",
727 (tvee->has_ir & 2) ? "" : "no ",
728 (tvee->has_ir & 4) ? "" : "no ");
731 tvee->has_radio ? "" : "no ");