Lines Matching refs:card
13 * trying to find the card make and model of card.
119 /* EEProm (128 * 8) on an STB card */
124 /* EEProm (256 * 8) on a Hauppauge card */
139 * the data for each type of card
146 { CARD_UNKNOWN, /* the card id */
158 { CARD_MIRO, /* the card id */
170 { CARD_HAUPPAUGE, /* the card id */
182 { CARD_STB, /* the card id */
194 { CARD_INTEL, /* the card id */
206 { CARD_IMS_TURBO, /* the card id */
218 { CARD_AVER_MEDIA, /* the card id */
230 { CARD_OSPREY, /* the card id */
242 { CARD_NEC_PK, /* the card id */
254 { CARD_IO_GV, /* the card id */
266 { CARD_FLYVIDEO, /* the card id */
278 { CARD_ZOLTRIX, /* the card id */
290 { CARD_KISS, /* the card id */
302 { CARD_VIDEO_HIGHWAY_XTREME, /* the card id */
314 { CARD_ASKEY_DYNALINK_MAGIC_TVIEW, /* the card id */
326 { CARD_LEADTEK, /* the card id */
339 { CARD_TERRATVPLUS, /* the card id */
351 { CARD_TERRATVALUE, /* the card id */
366 /* IMS TURBO TV : card 5 */
374 * Write to the configuration EEPROM on the card.
375 * This is dangerous and will mess up your card. Therefore it is not
386 * Read the contents of the configuration EEPROM on the card.
387 * (This is not fitted to all makes of card. All Hauppauge cards have them
399 addr = (int)(bktr->card.eepromAddr & 0xff);
403 xmax = (int)(bktr->card.eepromSize * EEPROMBLOCKSIZE);
425 * get a signature of the card
453 * a video camera. (eg VideoLogic Captivator PCI, Intel SmartCapture card).
479 * Determine the actual address used on the TV card by probing read addresses.
505 * determine the card brand/model
517 * However some makes of card (eg Hauppauge) come with a configuration eeprom
518 * which tells us the make of the card. Most eeproms also tell us the
522 * A) If the card uses a Bt878/879:
526 * B) If it card uses a Bt848, 848A, 849A or an unknown Bt878/879:
533 * 2b) If there is an EEPROM at I2C address 0xa8 it will be an STB card.
536 * C) If we do not know the card type from (A) or (B), guess at the tuner
572 int card, i,j, card_found;
587 /* Reset the MSP34xx audio chip. This resolves bootup card
590 * at this point the probe function does not know the card type. */
604 /* Check for a user specified override on the card selection */
606 bktr->card = cards[(card = BKTR_OVERRIDE_CARD)];
610 bktr->card = cards[(card = bktr->bt848_card)];
615 /* No override, so try and determine the make of the card */
618 /* This identifies the manufacturer of the card and the model */
634 bktr->card = cards[(card = CARD_UNKNOWN)];
635 bktr->card.eepromAddr = eeprom_i2c_address;
636 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
654 bktr->card = cards[(card = CARD_AVER_MEDIA)];
655 bktr->card.eepromAddr = eeprom_i2c_address;
656 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
661 bktr->card = cards[(card = CARD_HAUPPAUGE)];
662 bktr->card.eepromAddr = eeprom_i2c_address;
663 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
669 bktr->card = cards[(card = CARD_FLYVIDEO)];
670 bktr->card.eepromAddr = eeprom_i2c_address;
671 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
676 bktr->card = cards[(card = CARD_STB)];
677 bktr->card.eepromAddr = eeprom_i2c_address;
678 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
683 bktr->card = cards[(card = CARD_ASKEY_DYNALINK_MAGIC_TVIEW)];
684 bktr->card.eepromAddr = eeprom_i2c_address;
685 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
693 bktr->card = cards[(card = CARD_LEADTEK)];
694 bktr->card.eepromAddr = eeprom_i2c_address;
695 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
700 bktr->card = cards[(card = CARD_MIRO)];
701 bktr->card.eepromAddr = eeprom_i2c_address;
702 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
709 bktr->card = cards[(card = CARD_TERRATVALUE)];
710 bktr->card.eepromAddr = eeprom_i2c_address;
711 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
716 bktr->card = cards[(card = CARD_TERRATVPLUS)];
717 bktr->card.eepromAddr = eeprom_i2c_address;
718 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
724 printf("%s: Warning - card vendor 0x%04x (model 0x%04x) unknown.\n",
729 printf("%s: Card has no configuration EEPROM. Cannot determine card make.\n",
732 } /* end of bt878/bt879 card detection code */
734 /* If we get to this point, we must have a Bt848/848A/849A card */
736 /* Try and determine the make of card by clever i2c probing */
740 bktr->card = cards[(card = CARD_INTEL)];
741 bktr->card.eepromAddr = 0;
742 bktr->card.eepromSize = 0;
758 bktr->card = cards[(card = CARD_UNKNOWN)];
759 bktr->card.eepromAddr = PFC8582_WADDR;
760 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
765 bktr->card = cards[(card = CARD_HAUPPAUGE)];
766 bktr->card.eepromAddr = PFC8582_WADDR;
767 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
774 bktr->card = cards[(card = CARD_OSPREY)];
775 bktr->card.eepromAddr = PFC8582_WADDR;
776 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
779 printf("%s: Warning: Unknown card type. EEPROM data not recognised\n",
785 /* look for an STB card */
787 bktr->card = cards[(card = CARD_STB)];
788 bktr->card.eepromAddr = X24C01_WADDR;
789 bktr->card.eepromSize = (u_char)(128 / EEPROMBLOCKSIZE);
798 printf("%s: card signature: ", bktr_name(bktr));
819 bktr->card = cards[card = bt848_card_signature[i].card];
822 bktr->card.eepromAddr = eeprom_i2c_address;
823 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
825 bktr->card.eepromAddr = 0;
826 bktr->card.eepromSize = 0;
834 /* We do not know the card type. Default to Miro */
835 bktr->card = cards[(card = CARD_MIRO)];
842 bktr->card.eepromAddr = eeprom_i2c_address;
843 bktr->card.eepromSize = (u_char)(256 / EEPROMBLOCKSIZE);
845 bktr->card.eepromAddr = 0;
846 bktr->card.eepromSize = 0;
876 switch (card) {
949 if (bktr->card.eepromAddr != 0) {
1058 if (bktr->card.eepromAddr != 0) {
1133 } /* end switch(card) */
1161 bktr->card.dbx = BKTR_OVERRIDE_DBX;
1171 bktr->card.dbx = 1;
1174 /* If this is a Hauppauge Bt878 card, we need to enable the
1176 * If this is a Hauppauge Bt848 card, reset the MSP device.
1187 if (card == CARD_HAUPPAUGE) {
1199 bktr->card.msp3400c = BKTR_OVERRIDE_MSP;
1209 bktr->card.msp3400c = 1;
1214 if (bktr->card.msp3400c) {
1225 bktr->card.dpl3518a = 1;
1228 if (bktr->card.dpl3518a) {
1271 if (card == CARD_OSPREY)
1275 if (card == CARD_VIDEO_HIGHWAY_XTREME)
1292 bktr->card.tuner_pllAddr = tuner_i2c_address;
1295 printf("%s: %s", bktr_name(bktr), bktr->card.name);
1296 if (bktr->card.tuner)
1297 printf(", %s tuner", bktr->card.tuner->name);
1298 if (bktr->card.dbx)
1300 if (bktr->card.msp3400c)
1302 if (bktr->card.dpl3518a)