HomeSort by: relevance | last modified time | path
    Searched defs:card (Results 1 - 25 of 25) sorted by relevancy

  /src/games/monop/
jail.c 44 * This routine uses a get-out-of-jail-free card to get the
48 card(void) function in typeref:typename:void
55 printf("But you don't HAVE a get out of jail free card\n");
  /src/games/battlestar/
misc.c 45 card(const char *array, int size) function in typeref:typename:int
  /src/games/mille/
init.c 52 CARD card; local in function:init
67 account(card = *Topcard);
68 if (is_safety(card))
69 pp->safety[card - S_CONV] = S_IN_HAND;
95 CARD temp;
100 warnx("shuffle: card no. error: %d", r);
comp.c 52 CARD card; local in function:calcmove
59 CARD safe, oppos;
76 card = pp->hand[i];
77 switch (card) {
80 if ((playit[i] = canplay(pp, op, card)) != 0)
84 if ((playit[i] = canplay(pp, op, card))
91 if ((playit[i] = canplay(pp, op, card))
92 && pp->mileage + Value[card] == End)
96 playit[i] = canplay(pp, op, card);
408 CARD bat, spd, card; local in function:onecard
    [all...]
move.c 92 error("no card there");
148 * move blank card to top by one of two methods. If the
178 CARD card; local in function:check_go
185 card = pp->hand[i];
186 if (is_safety(card) || canplay(pp, op, card)) {
189 fprintf(outf, "CHECK_GO: can play %s (%d), ", C_name[card], card);
190 fprintf(outf, "is_safety(card) = %d, ", is_safety(card))
210 CARD card; local in function:playcard
495 int card; local in function:haspicked
    [all...]
  /src/sys/dev/isapnp/
isapnpres.c 84 * Add a new logical device to the current card; expand the configuration
85 * resources of the current card if needed.
88 isapnp_newdev(struct isapnp_attach_args *card)
95 memcpy(dev->ipa_devident, card->ipa_devident,
96 sizeof(card->ipa_devident));
98 if (card->ipa_child == NULL)
99 card->ipa_child = dev;
101 for (ipa = card->ipa_child; ipa->ipa_sibling != NULL;
173 isapnp_flatten(struct isapnp_attach_args *card)
177 dev = card->ipa_child
446 struct isapnp_attach_args *card, *dev = NULL, *conf = NULL; local in function:isapnp_get_resource
    [all...]
  /src/sys/dev/pcmcia/
pcmcia_cis_quirks.c 267 struct pcmcia_card *card = &sc->card; local in function:pcmcia_check_cis_quirks
276 if (card->manufacturer == quirk->manufacturer &&
277 card->manufacturer != PCMCIA_VENDOR_INVALID &&
278 card->product == quirk->product &&
279 card->product != PCMCIA_PRODUCT_INVALID)
283 if (card->cis1_info[j] == NULL ||
285 strcmp(card->cis1_info[j],
295 if (card->cis1_info[j] == NULL)
299 printf("%s", card->cis1_info[j])
    [all...]
pcmcia.c 168 SIMPLEQ_FIRST(&sc->card.pf_head) = NULL;
177 * bail now if the card has no functions, or if there was an error in
180 if (sc->card.error ||
181 SIMPLEQ_EMPTY(&sc->card.pf_head)) {
182 printf("%s: card appears to have bogus CIS\n",
192 SIMPLEQ_FOREACH(pf, &sc->card.pf_head, pf_list) {
224 if (sc->card.error ||
225 SIMPLEQ_EMPTY(&sc->card.pf_head)) {
226 /* XXX silently ignore if no card present? */
230 SIMPLEQ_FOREACH(pf, &sc->card.pf_head, pf_list)
340 struct pcmcia_card *card = &sc->card; local in function:pcmcia_print
    [all...]
pcmcia_cis.c 58 struct pcmcia_card *card; member in struct:cis_state
83 SIMPLEQ_INSERT_TAIL(&state->card->pf_head, state->pf, pf_list);
112 state.card = &sc->card;
114 state.card->error = 0;
115 state.card->cis1_major = -1;
116 state.card->cis1_minor = -1;
117 state.card->cis1_info[0] = NULL;
118 state.card->cis1_info[1] = NULL;
119 state.card->cis1_info[2] = NULL
540 struct pcmcia_card *card = &sc->card; local in function:pcmcia_print_cis
    [all...]
pcmciavar.h 87 * The card will only decode this mask in any case, so we can
132 /* read off the card */
164 #define PFF_DETACHED 0x0002 /* card is detached */
176 * hold the id value found in card CIS and special value that
195 /* this stuff is for the card */
196 struct pcmcia_card card; member in struct:pcmcia_softc
213 struct pcmcia_card *card; member in struct:pcmcia_attach_args
279 #define pcmcia_mfc(sc) (! SIMPLEQ_EMPTY(&(sc)->card.pf_head) && \
280 SIMPLEQ_NEXT(SIMPLEQ_FIRST(&(sc)->card.pf_head), pf_list))
  /src/sys/arch/amiga/dev/
gayle_pcmcia.c 33 device_t card; member in struct:pccard_slot
176 sc->devs[0].card = config_found(self, &paa, simple_devprint,
178 if (sc->devs[0].card == NULL) {
207 /* reset the card if it's already there */
300 if (pcmcia_card_attach(slot->card) == 0)
  /src/sys/dev/isa/
if_ef.c 76 uint8_t card_type; /* card model -- AUI/BNC or TP */
128 struct card { struct in struct:ef_isabus
213 /* Entering ISR: disable, ack card interrupts */
221 /* Exiting ISR: re-enable card interrupts */
350 * Reset and put card in CONFIG state without
479 * NOP chains don't give any advantage on this card, in fact they
547 /* Set up pointers to important on-card control structures */
555 /* Zero card memory */
558 /* Set card to 16-bit bus mode */
576 /* Set bank 2 for card part number and revision *
    [all...]
  /src/usr.sbin/lpr/lpr/
lpr.c 105 static void card(int, const char *);
308 card('H', host);
309 card('P', person);
318 card('J', jobname);
319 card('C', class);
320 card('L', person);
323 card('I', itoa(indent));
325 card('M', person);
329 card('1'+i, fonts[i]);
331 card('W', width)
511 card(int c, const char *p2) function in typeref:typename:void
    [all...]
  /src/games/fish/
fish.c 73 #define PRC(card) (void)printf(" %s", cards[card])
271 int card; local in function:drawcard
273 ++hand[card = deck[--curcard]];
274 if (player == USER || hand[card] == CARDS) {
276 (void)printf("drew %s", cards[card]);
277 if (hand[card] == CARDS) {
279 cards[card]);
284 return(card);
  /src/sys/dev/pci/bktr/
bktr_card.c 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 *
572 int card, i,j, card_found; local in function:probeCard
    [all...]
bktr_reg.h 365 /* description of the card */
368 unsigned int card_id; /* card id (from #define's) */
434 * BrookTree 848 info structure, one per bt848 card installed.
443 bus_size_t obmemsz; /* size of en card (bytes) */
551 struct CARDTYPE card; member in struct:bktr_softc
595 int card; member in struct:bt848_card_sig
  /src/sys/dev/ic/
cy.c 94 /* Cyclom card hardware reset */
100 printf("cy: card reset done\n");
136 * cleared chip 0 GFRCR. In that case we have a 16 port card.
234 } /* for(each CD1400 on a card... ) */
879 int card, port; local in function:cy_poll
896 for (card = 0; card < cy_cd.cd_ndevs; card++) {
897 sc = device_lookup_private(&cy_cd, card);
1001 "(card %d, port %d, carrier %d)\n"
    [all...]
  /src/sys/dev/sbus/
spif.c 339 int card = SPIF_CARD(dev); local in function:stty_open
342 sc = device_lookup_private(&stty_cd, card);
343 csc = device_lookup_private(&spif_cd, card);
magma.c 327 struct magma_board_info *card; local in function:magma_match
330 for (card = supported_cards; ; card++) {
331 if (card->mb_sbusname == NULL)
334 if (strcmp(sa->sa_name, card->mb_sbusname) == 0)
356 struct magma_board_info *card; local in function:magma_attach
366 * Find the card model.
373 for (card = supported_cards; card->mb_name != NULL; card++)
893 int card = MAGMA_CARD(dev); local in function:mttyopen
1448 int card = MAGMA_CARD(dev); local in function:mbppopen
1553 int card = MAGMA_CARD(dev); local in function:mbpp_rw
    [all...]
  /src/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
atom.h 131 struct card_info *card; member in struct:atom_context
  /src/sys/external/bsd/drm2/dist/drm/radeon/
atom.h 128 struct card_info *card; member in struct:atom_context
  /src/sys/dev/pci/
esa.c 933 const struct esa_card_type *card; local in function:esa_attach
948 for (card = esa_card_types; card->pci_vendor_id; card++)
949 if (PCI_VENDOR(pa->pa_id) == card->pci_vendor_id &&
950 PCI_PRODUCT(pa->pa_id) == card->pci_product_id) {
951 sc->type = card->type;
952 sc->delay1 = card->delay1;
953 sc->delay2 = card->delay2;
1011 "esa_attach: unable to initialize the card\n")
    [all...]
auixp.c 1046 const struct auixp_card_type *card; local in function:auixp_attach
1065 for (card = auixp_card_types; card->pci_vendor_id; card++)
1066 if (PCI_VENDOR(pa->pa_id) == card->pci_vendor_id &&
1067 PCI_PRODUCT(pa->pa_id) == card->pci_product_id) {
1068 sc->type = card->type;
1073 /* set MEM space access and enable the card's busmastering */
1140 "auixp_attach: unable to initialize the card\n");
  /src/lib/libossaudio/
soundcard.h 484 int card; member in struct:oss_card_info
  /src/sys/sys/
videoio.h 1413 * @card: name of the card (e.g. "Hauppauge WinTV")
1422 u_int8_t card[32]; member in struct:v4l2_capability

Completed in 51 milliseconds