Lines Matching +full:0 +full:xc5000
67 /* 0-9 */
233 { TUNER_XC5000, "Xceive XC5000"},
284 /* 0-4 */
306 { TVEEPROM_AUDPROC_OTHER, "Type 0x12" },
319 { TVEEPROM_AUDPROC_MSP, "Type 0x1d" },
352 /* 0-4 */
412 return 0; in hasRadioTuner()
421 ** if packet[0] == 0x84, then packet[0..1] == length in tveeprom_hauppauge_analog()
422 ** else length = packet[0] & 3f; in tveeprom_hauppauge_analog()
423 ** if packet[0] & f8 == f8, then EOD and packet[1] == checksum in tveeprom_hauppauge_analog()
426 ** tuner type: tag [00].05 or [0a].01 (index into hauppauge_tuner) in tveeprom_hauppauge_analog()
427 ** tuner fmts: tag [00].04 or [0a].00 (bitmask index into in tveeprom_hauppauge_analog()
429 ** radio: tag [00].{last} or [0e].00 (bitmask. bit2=FM) in tveeprom_hauppauge_analog()
430 ** audio proc: tag [02].01 or [05].00 (mask with 0x7f) in tveeprom_hauppauge_analog()
435 ** revision: tag [00].09-0b or [06].04-06 in tveeprom_hauppauge_analog()
443 int tuner1 = 0, t_format1 = 0, audioic = -1; in tveeprom_hauppauge_analog()
447 int tuner2 = 0, t_format2 = 0; in tveeprom_hauppauge_analog()
451 memset(tvee, 0, sizeof(*tvee)); in tveeprom_hauppauge_analog()
455 done = len = beenhere = 0; in tveeprom_hauppauge_analog()
458 if (eeprom_data[0] == 0x1a && in tveeprom_hauppauge_analog()
459 eeprom_data[1] == 0xeb && in tveeprom_hauppauge_analog()
460 eeprom_data[2] == 0x67 && in tveeprom_hauppauge_analog()
461 eeprom_data[3] == 0x95) in tveeprom_hauppauge_analog()
462 start = 0xa0; /* Generic em28xx offset */ in tveeprom_hauppauge_analog()
463 else if ((eeprom_data[0] & 0xe1) == 0x01 && in tveeprom_hauppauge_analog()
464 eeprom_data[1] == 0x00 && in tveeprom_hauppauge_analog()
465 eeprom_data[2] == 0x00 && in tveeprom_hauppauge_analog()
466 eeprom_data[8] == 0x84) in tveeprom_hauppauge_analog()
468 else if (eeprom_data[1] == 0x70 && in tveeprom_hauppauge_analog()
469 eeprom_data[2] == 0x00 && in tveeprom_hauppauge_analog()
470 eeprom_data[4] == 0x74 && in tveeprom_hauppauge_analog()
471 eeprom_data[8] == 0x84) in tveeprom_hauppauge_analog()
474 start = 0; in tveeprom_hauppauge_analog()
477 if (eeprom_data[i] == 0x84) { in tveeprom_hauppauge_analog()
480 } else if ((eeprom_data[i] & 0xf0) == 0x70) { in tveeprom_hauppauge_analog()
481 if (eeprom_data[i] & 0x08) { in tveeprom_hauppauge_analog()
486 len = eeprom_data[i] & 0x07; in tveeprom_hauppauge_analog()
500 case 0x00: in tveeprom_hauppauge_analog()
507 tvee->has_ir = 0; in tveeprom_hauppauge_analog()
516 case 0x01: in tveeprom_hauppauge_analog()
524 case 0x02: in tveeprom_hauppauge_analog()
526 Note mask with 0x7F, high bit used on some older models in tveeprom_hauppauge_analog()
529 audioic = eeprom_data[i+2] & 0x7f; in tveeprom_hauppauge_analog()
536 /* case 0x03: tag 'EEInfo' */ in tveeprom_hauppauge_analog()
538 case 0x04: in tveeprom_hauppauge_analog()
546 if (eeprom_data[i + 8] == 0xf0) { 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()
557 case 0x05: in tveeprom_hauppauge_analog()
559 Note mask with 0x7F, high bit used on some older models in tveeprom_hauppauge_analog()
562 audioic = eeprom_data[i+1] & 0x7f; in tveeprom_hauppauge_analog()
570 case 0x06: in tveeprom_hauppauge_analog()
583 case 0x07: in tveeprom_hauppauge_analog()
588 /* there is no tag 0x08 defined */ in tveeprom_hauppauge_analog()
590 case 0x09: in tveeprom_hauppauge_analog()
595 case 0x0a: in tveeprom_hauppauge_analog()
597 if (beenhere == 0) { in tveeprom_hauppauge_analog()
606 if (t_format2 == 0) in tveeprom_hauppauge_analog()
611 case 0x0b: in tveeprom_hauppauge_analog()
617 /* case 0x0c: tag 'Balun' */ in tveeprom_hauppauge_analog()
618 /* case 0x0d: tag 'Teletext' */ in tveeprom_hauppauge_analog()
620 case 0x0e: in tveeprom_hauppauge_analog()
625 case 0x0f: in tveeprom_hauppauge_analog()
630 /* case 0x10: tag 'VBIInfo' */ in tveeprom_hauppauge_analog()
631 /* case 0x11: tag 'QCInfo' */ in tveeprom_hauppauge_analog()
632 /* case 0x12: tag 'InfoBits' */ 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()
676 tvee->tuner_formats = 0; in tveeprom_hauppauge_analog()
677 tvee->tuner2_formats = 0; in tveeprom_hauppauge_analog()
678 for (i = j = 0; i < 8; i++) { in tveeprom_hauppauge_analog()
684 for (i = j = 0; i < 8; i++) { in tveeprom_hauppauge_analog()
697 pr_info("TV standards%s%s%s%s%s%s%s%s (eeprom 0x%02x)\n", in tveeprom_hauppauge_analog()
698 t_fmt_name1[0], t_fmt_name1[1], t_fmt_name1[2], in tveeprom_hauppauge_analog()
705 pr_info("TV standards%s%s%s%s%s%s%s%s (eeprom 0x%02x)\n", in tveeprom_hauppauge_analog()
706 t_fmt_name2[0], t_fmt_name2[1], t_fmt_name2[2], in tveeprom_hauppauge_analog()
709 if (audioic < 0) { in tveeprom_hauppauge_analog()
743 buf = 0; in tveeprom_read()
757 return 0; in tveeprom_read()