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