/dragonfly/sys/dev/video/bktr/ |
H A D | bktr_card.c | 635 bktr->card = cards[ (card = BKTR_OVERRIDE_CARD) ]; in probeCard() 663 bktr->card = cards[ (card = CARD_UNKNOWN) ]; in probeCard() 703 bktr->card = cards[ (card = CARD_STB) ]; in probeCard() 719 bktr->card = cards[ (card = CARD_LEADTEK) ]; in probeCard() 727 bktr->card = cards[ (card = CARD_MIRO) ]; in probeCard() 773 bktr->card = cards[ (card = CARD_INTEL) ]; in probeCard() 791 bktr->card = cards[ (card = CARD_UNKNOWN) ]; in probeCard() 807 bktr->card = cards[ (card = CARD_OSPREY) ]; in probeCard() 820 bktr->card = cards[ (card = CARD_STB) ]; in probeCard() 852 bktr->card = cards[ card = bt848_card_signature[i].card]; in probeCard() [all …]
|
H A D | bktr_audio.c | 83 if ( bktr->card.dbx ) in init_audio_devices() 87 if ( bktr->card.msp3400c ) in init_audio_devices() 91 if ( bktr->card.dpl3518a ) in init_audio_devices() 114 if ( !bktr->card.audiomuxs[ 4 ] ) in set_audio() 186 temp = INL(bktr, BKTR_GPIO_DATA) & ~bktr->card.gpio_mux_bits; in set_audio() 190 cmd, bktr->card.audiomuxs[ idx ], temp ); in set_audio() 192 OUTL(bktr, BKTR_GPIO_DATA, temp | bktr->card.audiomuxs[ idx ]); in set_audio() 205 if ((bktr->card.msp3400c) && (bktr->audio_mux_present == 0)) { in set_audio()
|
H A D | bktr_tuner.c | 711 bktr->card.tuner = &tuners[ tuner_type ]; in select_tuner() 713 bktr->card.tuner = NULL; in select_tuner() 788 tuner = bktr->card.tuner; in tv_freq() 824 addr = bktr->card.tuner_pllAddr; in tv_freq() 883 addr = bktr->card.tuner_pllAddr; in tv_freq() 983 if (bktr->card.tuner == &tuners[TUNER_MT2032]) in get_tuner_status() 985 return i2cRead( bktr, bktr->card.tuner_pllAddr + 1 ); in get_tuner_status() 1058 #define MT2032_ADDR (bktr->card.tuner_pllAddr)
|
H A D | CHANGELOG.TXT | 56 card auto-detection. 138 correctly recognized his bt848 card. 173 hw.bt848.card 174 card takes a value from 0 to bt848_max_card 178 1.34 reverse mute function for ims turbo card 198 AVerMedia card type added <sos@freebsd.org> 248 Added to card probe. Thanks to Ken and Fred. 314 Add GPIO mask for the audio mux to each card type. 365 Added STB Bt878 card identification. 386 Add card type for Aimslabs Video Highway Xtreme for [all …]
|
/dragonfly/games/mille/ |
H A D | comp.c | 44 CARD card; in calcmove() local 68 switch (card) { in calcmove() 104 if (card >= 0) in calcmove() 105 ++count[card]; in calcmove() 144 card -= 7; in calcmove() 185 && (int)diff / Value[card] > count[card] in calcmove() 264 *value /= (count[card]*count[card]); in calcmove() 405 card = -1; in onecard() 413 card = C_200; in onecard() 426 return Numseen[card] != Numcards[card]; in onecard() [all …]
|
H A D | move.c | 158 CARD card; in check_go() local 166 if (issafety(card) || canplay(pp, op, card)) { in check_go() 190 CARD card; in playcard() local 212 switch (card) { in playcard() 229 v = Value[card]; in playcard() 333 account(card); in playcard() 477 int card; in haspicked() local 484 card = 1; in haspicked() 487 card = 0; in haspicked() 500 ++Numseen[card]; in account() [all …]
|
H A D | types.c | 40 isrepair(CARD card) in isrepair() argument 42 return card == C_GAS || card == C_SPARE || in isrepair() 43 card == C_REPAIRS || card == C_INIT; in isrepair() 47 safety(CARD card) in safety() argument 49 switch (card) { in safety()
|
H A D | init.c | 44 CARD card; in init() local 59 account(card = *Topcard); in init() 60 if (issafety(card)) in init() 61 pp->safety[card - S_CONV] = S_IN_HAND; in init()
|
/dragonfly/sys/dev/sound/pci/ |
H A D | emu10kx-pcm.c | 93 struct emu_sc_info *card; member 457 emumix_set_volume(sc->card, M_FX0_REC_L, emumix_get_volume(sc->card, M_FX0_FRONT_L)); in emu_dspmixer_setrecsrc() 458 emumix_set_volume(sc->card, M_FX1_REC_R, emumix_get_volume(sc->card, M_FX1_FRONT_R)); in emu_dspmixer_setrecsrc() 725 ch->master = emu_valloc(sc->card); in emupchan_init() 730 ch->slave = emu_valloc(sc->card); in emupchan_init() 742 emu_timer_clear(sc->card, ch->timer); in emupchan_free() 744 emu_vfree(sc->card, ch->slave); in emupchan_free() 745 emu_vfree(sc->card, ch->master); in emupchan_free() 798 emu_vwrite(sc->card, ch->master); in emupchan_trigger() 816 r = emu_vpos(sc->card, ch->master); in emupchan_getptr() [all …]
|
H A D | emu10kx-midi.c | 59 struct emu_sc_info *card; member 77 d = emu_rd(sc->card, 0x18 + reg, 1); in emu_mread() 79 d = emu_rdptr(sc->card, 0, sc->port + reg); in emu_mread() 90 emu_wr(sc->card, 0x18 + reg, b, 1); in emu_mwrite() 92 emu_wrptr(sc->card, 0, sc->port + reg, b); in emu_mwrite() 170 scp->card = midiinfo->card; in emu_midi_attach() 199 scp->ihandle = emu_intr_register(scp->card, inte_val, ipr_val, &emu_midi_card_intr, scp); in emu_midi_attach() 203 emu_intr_unregister(scp->card, scp->ihandle); in emu_midi_attach() 213 emu_enable_ir(scp->card); in emu_midi_attach() 216 emu_enable_ir(scp->card); in emu_midi_attach() [all …]
|
H A D | emu10kx.h | 137 struct emu_sc_info *card; member 144 struct emu_sc_info *card; member
|
H A D | emu10kx.c | 286 struct emu_sc_info *card; member 2376 rm->card = sc; in emu_rm_init() 2733 sc->mem.card = sc; in emu_init() 3263 pcminfo->card = sc; in emu_pci_attach() 3285 pcminfo->card = sc; in emu_pci_attach() 3306 pcminfo->card = sc; in emu_pci_attach() 3326 pcminfo->card = sc; in emu_pci_attach() 3348 pcminfo->card = sc; in emu_pci_attach() 3371 pcminfo->card = sc; in emu_pci_attach() 3397 midiinfo->card = sc; in emu_pci_attach() [all …]
|
/dragonfly/sys/bus/pccard/ |
H A D | pccard_cis_quirks.c | 204 if ((sc->card.manufacturer == q->manufacturer) && in pccard_cis_quirk_match() 205 (sc->card.product == q->product) && in pccard_cis_quirk_match() 206 (((sc->card.manufacturer != PCMCIA_VENDOR_INVALID) && in pccard_cis_quirk_match() 207 (sc->card.product != PCMCIA_PRODUCT_INVALID)) || in pccard_cis_quirk_match() 209 (sc->card.product == PCMCIA_PRODUCT_INVALID) && in pccard_cis_quirk_match() 210 sc->card.cis1_info[0] && in pccard_cis_quirk_match() 212 sc->card.cis1_info[1] && in pccard_cis_quirk_match() 239 if (sc->card.cis1_info[j] == NULL) in pccard_check_cis_quirks() 243 kprintf("%s", sc->card.cis1_info[j]); in pccard_check_cis_quirks() 259 STAILQ_INIT(&sc->card.pf_head); in pccard_check_cis_quirks() [all …]
|
H A D | pccard_cis.c | 69 struct pccard_card *card; member 82 state.card = &sc->card; in pccard_read_cis() 83 state.card->error = 0; in pccard_read_cis() 84 state.card->cis1_major = -1; in pccard_read_cis() 96 state.card->error++; in pccard_read_cis() 452 struct pccard_card *card = &sc->card; in pccard_print_cis() local 464 kprintf("PC Card Standard %d.%d\n", card->cis1_major, card->cis1_minor); in pccard_print_cis() 467 card->cis1_major, card->cis1_minor); in pccard_print_cis() 480 card->manufacturer, card->product); in pccard_print_cis() 607 if (card->error) in pccard_print_cis() [all …]
|
H A D | pccard.c | 189 STAILQ_INIT(&sc->card.pf_head); in pccard_attach_card() 205 if (sc->card.error) { in pccard_attach_card() 209 if (STAILQ_EMPTY(&sc->card.pf_head)) { in pccard_attach_card() 219 STAILQ_FOREACH(pf, &sc->card.pf_head, pf_list) { in pccard_attach_card() 233 STAILQ_FOREACH(pf, &sc->card.pf_head, pf_list) { in pccard_attach_card() 303 STAILQ_FOREACH(pf, &sc->card.pf_head, pf_list) { in pccard_detach_card() 971 "at function %d\n", sc->card.manufacturer, sc->card.product, in pccard_probe_nomatch() 1024 sc->card.manufacturer, sc->card.product, cis0, cis1, pf->function); in pccard_child_pnpinfo_str() 1044 *(uint32_t *)result = sc->card.manufacturer; in pccard_read_ivar() 1047 *(uint32_t *)result = sc->card.product; in pccard_read_ivar() [all …]
|
H A D | card_if.m | 33 INTERFACE card; 83 # pccard bridges call this method to initate the attachment of a card 90 # pccard bridges call this to detach a card. 174 # Scanning function for accessing the CIS of a card in its driver.
|
H A D | pccardvar.h | 201 struct pccard_card card; member 286 (STAILQ_FIRST(&(sc)->card.pf_head) && \ 287 STAILQ_NEXT(STAILQ_FIRST(&(sc)->card.pf_head),pf_list))
|
/dragonfly/usr.sbin/lpr/lpr/ |
H A D | lpr.c | 327 card('C', class); in main() 336 card('J', jobname); in main() 340 card('Z', Zflag); in main() 350 card('W', width); in main() 361 card('Z', locale); in main() 363 card('Z', s); in main() 384 card('S', buf); in main() 391 card('U', cp); in main() 392 card('N', arg); in main() 468 card('N', arg); in main() [all …]
|
/dragonfly/games/fish/ |
H A D | fish.c | 60 #define PRC(card) printf(" %s", cards[card]) argument 255 int card; in drawcard() local 257 while (deck[card = nrandom(RANKS)] == 0) in drawcard() 259 ++hand[card]; in drawcard() 260 --deck[card]; in drawcard() 261 if (player == USER || hand[card] == CARDS) { in drawcard() 263 printf("drew %s", cards[card]); in drawcard() 264 if (hand[card] == CARDS) { in drawcard() 265 printf(" and made a book of %s's!\n", cards[card]); in drawcard() 270 return(card); in drawcard()
|
H A D | fish.instr | 1 This is the traditional children's card game "Go Fish". We each get seven 6 We take turns asking each other for cards, but you can't ask me for a card 10 card of which I don't have any, then I'll tell you to "Go Fish!" This 11 means that you draw a card from the deck. If you draw the card you asked 13 you for a card. 18 when I'm trying to decide what card to ask for, honest!) 20 Your input can be a card name ("A", "2", "3", "4", "5", "6", "7", "8",
|
/dragonfly/games/cribbage/ |
H A D | cribbage.n | 20 (wherefore these are called tenth cards); ace, 1; each other card, its 73 Nondealer begins the play by laying a card from his hand face up 95 Playing a card of same rank as that previously played pegs 96 2. Playing a third card of the same rank makes pair royal 97 and pegs 6. Playing the fourth card of the same rank 104 Playing a card which, with the two or more played 106 cards, pegs 1 for each card in the run. Runs depend on 133 scores 1 for each card in the run. 154 A double run is a run with one card duplicated, as 4-3-3-2. 192 Misdeal. There must be a new deal by the same dealer if a card [all …]
|
/dragonfly/sys/dev/drm/radeon/ |
H A D | atom.c | 114 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 119 (void)ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 120 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute() 197 val = gctx->card->reg_read(gctx->card, idx); in atom_get_src_int() 325 val = gctx->card->pll_read(gctx->card, idx); in atom_get_src_int() 332 val = gctx->card->mc_read(gctx->card, idx); in atom_get_src_int() 473 gctx->card->reg_write(gctx->card, idx, in atom_put_dst() 476 gctx->card->reg_write(gctx->card, idx, val); in atom_put_dst() 554 gctx->card->pll_write(gctx->card, idx, val); in atom_put_dst() 560 gctx->card->mc_write(gctx->card, idx, val); in atom_put_dst() [all …]
|
/dragonfly/sys/dev/drm/amd/amdgpu/ |
H A D | atom.c | 112 temp = ctx->card->ioreg_read(ctx->card, CU16(base + 1)); in atom_iio_execute() 116 ctx->card->ioreg_write(ctx->card, CU16(base + 1), temp); in atom_iio_execute() 189 val = gctx->card->reg_read(gctx->card, idx); in atom_get_src_int() 314 val = gctx->card->pll_read(gctx->card, idx); in atom_get_src_int() 321 val = gctx->card->mc_read(gctx->card, idx); in atom_get_src_int() 462 gctx->card->reg_write(gctx->card, idx, in atom_put_dst() 465 gctx->card->reg_write(gctx->card, idx, val); in atom_put_dst() 540 gctx->card->pll_write(gctx->card, idx, val); in atom_put_dst() 546 gctx->card->mc_write(gctx->card, idx, val); in atom_put_dst() 1296 struct atom_context *amdgpu_atom_parse(struct card_info *card, void *bios) in amdgpu_atom_parse() argument [all …]
|
/dragonfly/games/battlestar/ |
H A D | command7.c | 66 hurt = rnd(70) - 2 * card(injuries, NUMOFINJURIES) - in fight() 70 card(injuries, NUMOFINJURIES) - encumber - in fight() 75 hurt = rnd(15) - card(injuries, NUMOFINJURIES) - in fight()
|
/dragonfly/contrib/wpa_supplicant/src/utils/ |
H A D | pcsc_funcs.c | 116 SCARDHANDLE card; member 608 &scard->card, &scard->protocol); in scard_init() 621 (unsigned int) scard->card, (unsigned long) scard->protocol, in scard_init() 624 ret = SCardBeginTransaction(scard->card); in scard_init() 695 ret = SCardEndTransaction(scard->card, SCARD_LEAVE_CARD); in scard_init() 705 SCardEndTransaction(scard->card, SCARD_LEAVE_CARD); in scard_init() 755 if (scard->card) { in scard_deinit() 756 ret = SCardDisconnect(scard->card, SCARD_UNPOWER_CARD); in scard_deinit() 789 ret = SCardTransmit(scard->card, in scard_transmit()
|