Lines Matching defs:card

71 	struct pccard_card *card;
84 state.card = &sc->card;
85 state.card->error = 0;
86 state.card->cis1_major = -1;
87 state.card->cis1_minor = -1;
88 state.card->cis1_info[0] = NULL;
89 state.card->cis1_info[1] = NULL;
90 state.card->cis1_info[2] = NULL;
91 state.card->cis1_info[3] = NULL;
92 state.card->manufacturer = PCMCIA_VENDOR_INVALID;
93 state.card->product = PCMCIA_PRODUCT_INVALID;
94 STAILQ_INIT(&state.card->pf_head);
100 * XXX a way to tell if the card is 'ready' or not rather than
109 state.card->error++;
138 * helps card CIS being able to be read. Try it here and see what
410 * card with no longlink (which defaults to existing, == 0).
480 struct pccard_card *card = &sc->card;
486 if (card->cis1_major == 4) {
487 if (card->cis1_minor == 0)
489 else if (card->cis1_minor == 1)
491 } else if (card->cis1_major >= 5)
492 printf("PC Card Standard %d.%d\n", card->cis1_major, card->cis1_minor);
495 card->cis1_major, card->cis1_minor);
499 if (card->cis1_info[i] == NULL)
503 printf("%s", card->cis1_info[i]);
508 card->manufacturer, card->product);
510 STAILQ_FOREACH(pf, &card->pf_head, pf_list) {
563 printf("memory card");
566 printf("I/O card");
569 printf("card type unknown");
635 if (card->error)
637 card->error);
666 for (pf = STAILQ_FIRST(&state->card->pf_head);
672 STAILQ_INIT(&state->card->pf_head);
771 state->card->cis1_major = pccard_tuple_read_1(tuple, 0);
772 state->card->cis1_minor = pccard_tuple_read_1(tuple, 1);
779 state->card->cis1_info_buf[i] = ch;
781 state->card->cis1_info[count] =
782 state->card->cis1_info_buf + start;
796 state->card->manufacturer = pccard_tuple_read_2(tuple, 0);
797 state->card->product = pccard_tuple_read_2(tuple, 2);
808 state->card->prodext = pccard_tuple_read_1(tuple, 4);
824 STAILQ_INSERT_TAIL(&state->card->pf_head, state->pf,
871 STAILQ_INSERT_TAIL(&state->card->pf_head,
1071 state->card->error++;
1187 state->card->error++;