Lines Matching refs:tvee

423 void tveeprom_hauppauge_analog(struct tveeprom *tvee,  in tveeprom_hauppauge_analog()  argument
459 memset(tvee, 0, sizeof(*tvee)); in tveeprom_hauppauge_analog()
460 tvee->tuner_type = TUNER_ABSENT; in tveeprom_hauppauge_analog()
461 tvee->tuner2_type = TUNER_ABSENT; in tveeprom_hauppauge_analog()
512 tvee->has_radio = eeprom_data[i+len-1]; in tveeprom_hauppauge_analog()
515 tvee->has_ir = 0; in tveeprom_hauppauge_analog()
516 tvee->model = in tveeprom_hauppauge_analog()
519 tvee->revision = eeprom_data[i+10] + in tveeprom_hauppauge_analog()
526 tvee->serial_number = in tveeprom_hauppauge_analog()
539 tvee->audio_processor = audio_ic[audioic].id; in tveeprom_hauppauge_analog()
541 tvee->audio_processor = TVEEPROM_AUDPROC_OTHER; in tveeprom_hauppauge_analog()
548 tvee->serial_number = in tveeprom_hauppauge_analog()
555 tvee->MAC_address[0] = 0x00; in tveeprom_hauppauge_analog()
556 tvee->MAC_address[1] = 0x0D; in tveeprom_hauppauge_analog()
557 tvee->MAC_address[2] = 0xFE; in tveeprom_hauppauge_analog()
558 tvee->MAC_address[3] = eeprom_data[i + 7]; in tveeprom_hauppauge_analog()
559 tvee->MAC_address[4] = eeprom_data[i + 6]; in tveeprom_hauppauge_analog()
560 tvee->MAC_address[5] = eeprom_data[i + 5]; in tveeprom_hauppauge_analog()
561 tvee->has_MAC_address = 1; in tveeprom_hauppauge_analog()
572 tvee->audio_processor = audio_ic[audioic].id; in tveeprom_hauppauge_analog()
574 tvee->audio_processor = TVEEPROM_AUDPROC_OTHER; in tveeprom_hauppauge_analog()
580 tvee->model = in tveeprom_hauppauge_analog()
585 tvee->revision = in tveeprom_hauppauge_analog()
600 tvee->decoder_processor = eeprom_data[i + 1]; in tveeprom_hauppauge_analog()
615 tvee->has_radio = 1; /* must be radio */ in tveeprom_hauppauge_analog()
630 tvee->has_radio = eeprom_data[i+1]; in tveeprom_hauppauge_analog()
635 tvee->has_ir = 1 | (eeprom_data[i+1] << 1); in tveeprom_hauppauge_analog()
654 if (tvee->revision != 0) { in tveeprom_hauppauge_analog()
655 tvee->rev_str[0] = 32 + ((tvee->revision >> 18) & 0x3f); in tveeprom_hauppauge_analog()
656 tvee->rev_str[1] = 32 + ((tvee->revision >> 12) & 0x3f); in tveeprom_hauppauge_analog()
657 tvee->rev_str[2] = 32 + ((tvee->revision >> 6) & 0x3f); in tveeprom_hauppauge_analog()
658 tvee->rev_str[3] = 32 + (tvee->revision & 0x3f); in tveeprom_hauppauge_analog()
659 tvee->rev_str[4] = 0; in tveeprom_hauppauge_analog()
662 if (hasRadioTuner(tuner1) && !tvee->has_radio) { in tveeprom_hauppauge_analog()
665 tvee->has_radio = 1; in tveeprom_hauppauge_analog()
669 tvee->tuner_type = hauppauge_tuner[tuner1].id; in tveeprom_hauppauge_analog()
676 tvee->tuner2_type = hauppauge_tuner[tuner2].id; in tveeprom_hauppauge_analog()
682 tvee->tuner_hauppauge_model = tuner1; in tveeprom_hauppauge_analog()
683 tvee->tuner2_hauppauge_model = tuner2; in tveeprom_hauppauge_analog()
684 tvee->tuner_formats = 0; in tveeprom_hauppauge_analog()
685 tvee->tuner2_formats = 0; in tveeprom_hauppauge_analog()
688 tvee->tuner_formats |= hauppauge_tuner_fmt[i].id; in tveeprom_hauppauge_analog()
694 tvee->tuner2_formats |= hauppauge_tuner_fmt[i].id; in tveeprom_hauppauge_analog()
700 tvee->model, tvee->rev_str, tvee->serial_number); in tveeprom_hauppauge_analog()
701 if (tvee->has_MAC_address == 1) in tveeprom_hauppauge_analog()
702 pr_info("MAC address is %pM\n", tvee->MAC_address); in tveeprom_hauppauge_analog()
704 t_name1, tuner1, tvee->tuner_type); in tveeprom_hauppauge_analog()
711 t_name2, tuner2, tvee->tuner2_type); in tveeprom_hauppauge_analog()
719 tvee->audio_processor = TVEEPROM_AUDPROC_OTHER; in tveeprom_hauppauge_analog()
728 if (tvee->decoder_processor) in tveeprom_hauppauge_analog()
730 STRM(decoderIC, tvee->decoder_processor), in tveeprom_hauppauge_analog()
731 tvee->decoder_processor); in tveeprom_hauppauge_analog()
732 if (tvee->has_ir) in tveeprom_hauppauge_analog()
734 tvee->has_radio ? "" : "no ", in tveeprom_hauppauge_analog()
735 (tvee->has_ir & 2) ? "" : "no ", in tveeprom_hauppauge_analog()
736 (tvee->has_ir & 4) ? "" : "no "); in tveeprom_hauppauge_analog()
739 tvee->has_radio ? "" : "no "); in tveeprom_hauppauge_analog()