cards 73 arch/arm/mach-rpc/ecard.c static ecard_t *cards; cards 499 arch/arm/mach-rpc/ecard.c for (ec = cards; ec; ec = ec->next) { cards 562 arch/arm/mach-rpc/ecard.c for (ec = cards; ec; ec = ec->next) { cards 652 arch/arm/mach-rpc/ecard.c ecard_t *ec = cards; cards 966 arch/arm/mach-rpc/ecard.c for (ecp = &cards; *ecp; ecp = &(*ecp)->next); cards 156 drivers/atm/nicstar.c static struct ns_dev *cards[NS_MAX_CARDS]; cards 183 drivers/atm/nicstar.c cards[index] = NULL; cards 187 drivers/atm/nicstar.c cards[index--] = NULL; /* don't increment index */ cards 207 drivers/atm/nicstar.c if (cards[i] == NULL) cards 381 drivers/atm/nicstar.c cards[i] = card; cards 2692 drivers/atm/nicstar.c card = cards[i]; cards 138 drivers/block/umem.c static struct cardinfo cards[MM_MAXCARDS]; cards 723 drivers/block/umem.c if (!(cards[i].flags & UM_FLAG_NO_BATT)) { cards 724 drivers/block/umem.c struct cardinfo *card = &cards[i]; cards 788 drivers/block/umem.c struct cardinfo *card = &cards[num_cards]; cards 1084 drivers/block/umem.c spin_lock_init(&cards[i].lock); cards 1088 drivers/block/umem.c disk->private_data = &cards[i]; cards 1089 drivers/block/umem.c disk->queue = cards[i].queue; cards 1090 drivers/block/umem.c set_capacity(disk, cards[i].mm_size << 1); cards 974 drivers/gpu/vga/vgaarb.c struct vga_arb_user_card cards[MAX_USER_CARDS]; cards 1117 drivers/gpu/vga/vgaarb.c if (priv->cards[i].pdev == pdev) { cards 1119 drivers/gpu/vga/vgaarb.c priv->cards[i].io_cnt++; cards 1121 drivers/gpu/vga/vgaarb.c priv->cards[i].mem_cnt++; cards 1156 drivers/gpu/vga/vgaarb.c if (priv->cards[i].pdev == pdev) cards 1157 drivers/gpu/vga/vgaarb.c uc = &priv->cards[i]; cards 1210 drivers/gpu/vga/vgaarb.c if (priv->cards[i].pdev == pdev) { cards 1212 drivers/gpu/vga/vgaarb.c priv->cards[i].io_cnt++; cards 1214 drivers/gpu/vga/vgaarb.c priv->cards[i].mem_cnt++; cards 1269 drivers/gpu/vga/vgaarb.c if (priv->cards[i].pdev == pdev) cards 1271 drivers/gpu/vga/vgaarb.c if (priv->cards[i].pdev == NULL) { cards 1272 drivers/gpu/vga/vgaarb.c priv->cards[i].pdev = pdev; cards 1273 drivers/gpu/vga/vgaarb.c priv->cards[i].io_cnt = 0; cards 1274 drivers/gpu/vga/vgaarb.c priv->cards[i].mem_cnt = 0; cards 1345 drivers/gpu/vga/vgaarb.c priv->cards[0].pdev = priv->target; cards 1346 drivers/gpu/vga/vgaarb.c priv->cards[0].io_cnt = 0; cards 1347 drivers/gpu/vga/vgaarb.c priv->cards[0].mem_cnt = 0; cards 1365 drivers/gpu/vga/vgaarb.c uc = &priv->cards[i]; cards 290 drivers/input/gameport/lightning.c int i, cards = 0; cards 297 drivers/input/gameport/lightning.c cards++; cards 301 drivers/input/gameport/lightning.c if (!cards) { cards 146 drivers/media/pci/bt8xx/bttv-cards.c } cards[] = { cards 2904 drivers/media/pci/bt8xx/bttv-cards.c for (type = -1, i = 0; cards[i].id != 0; i++) cards 2905 drivers/media/pci/bt8xx/bttv-cards.c if (cards[i].id == btv->cardid) cards 2911 drivers/media/pci/bt8xx/bttv-cards.c btv->c.nr, cards[type].name, cards[type].cardnr, cards 2914 drivers/media/pci/bt8xx/bttv-cards.c btv->c.type = cards[type].cardnr; cards 70 drivers/net/arcnet/com90xx.c static struct net_device *cards[16]; cards 547 drivers/net/arcnet/com90xx.c cards[numcards++] = dev; cards 666 drivers/net/arcnet/com90xx.c dev = cards[count]; cards 78 drivers/net/ethernet/8390/zorro8390.c } cards[] = { cards 407 drivers/net/ethernet/8390/zorro8390.c for (i = ARRAY_SIZE(cards) - 1; i >= 0; i--) cards 408 drivers/net/ethernet/8390/zorro8390.c if (z->id == cards[i].id) cards 414 drivers/net/ethernet/8390/zorro8390.c ioaddr = board + cards[i].offset; cards 422 drivers/net/ethernet/8390/zorro8390.c err = zorro8390_init(dev, board, cards[i].name, ZTWO_VADDR(ioaddr)); cards 74 drivers/net/ethernet/amd/lance.c } cards[] = { cards 410 drivers/net/ethernet/amd/lance.c if (cards[card].id_offset14 == offset14) cards 415 drivers/net/ethernet/amd/lance.c if ((cards[card].id_offset14 == offset14) && cards 416 drivers/net/ethernet/amd/lance.c (cards[card].id_offset15 == offset15)) cards 185 drivers/net/ethernet/amd/ni65.c } cards[] = { cards 275 drivers/net/ethernet/amd/ni65.c if( !(cards[p->cardno].config & 0x02) ) cards 298 drivers/net/ethernet/amd/ni65.c cards[p->cardno].cardname,dev); cards 349 drivers/net/ethernet/amd/ni65.c release_region(dev->base_addr, cards[p->cardno].total_size); cards 427 drivers/net/ethernet/amd/ni65.c if(!request_region(ioaddr, cards[i].total_size, cards[i].cardname)) cards 429 drivers/net/ethernet/amd/ni65.c if(cards[i].id_offset >= 0) { cards 430 drivers/net/ethernet/amd/ni65.c if(inb(ioaddr+cards[i].id_offset+0) != cards[i].id0 || cards 431 drivers/net/ethernet/amd/ni65.c inb(ioaddr+cards[i].id_offset+1) != cards[i].id1) { cards 432 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[i].total_size); cards 436 drivers/net/ethernet/amd/ni65.c if(cards[i].vendor_id) { cards 438 drivers/net/ethernet/amd/ni65.c if(inb(ioaddr+cards[i].addr_offset+j) != cards[i].vendor_id[j]) cards 439 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[i].total_size); cards 447 drivers/net/ethernet/amd/ni65.c dev->dev_addr[j] = inb(ioaddr+cards[i].addr_offset+j); cards 450 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[i].total_size); cards 454 drivers/net/ethernet/amd/ni65.c p->cmdr_addr = ioaddr + cards[i].cmd_offset; cards 458 drivers/net/ethernet/amd/ni65.c printk(KERN_INFO "%s: %s found at %#3x, ", dev->name, cards[p->cardno].cardname , ioaddr); cards 465 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); cards 484 drivers/net/ethernet/amd/ni65.c if(test_bit(0,&cards[i].config)) { cards 520 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); cards 542 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); cards 551 drivers/net/ethernet/amd/ni65.c if(request_dma(dev->dma, cards[p->cardno].cardname ) != 0) cards 555 drivers/net/ethernet/amd/ni65.c release_region(ioaddr, cards[p->cardno].total_size); cards 808 drivers/net/ethernet/amd/ni65.c cards[p->cardno].cardname,(int) i); cards 2965 drivers/net/ethernet/hp/hp100.c int i, err, cards = 0; cards 2975 drivers/net/ethernet/hp/hp100.c while (cards > 0) cards 2976 drivers/net/ethernet/hp/hp100.c cleanup_dev(hp100_devlist[--cards]); cards 2983 drivers/net/ethernet/hp/hp100.c hp100_devlist[cards++] = dev; cards 2988 drivers/net/ethernet/hp/hp100.c return cards > 0 ? 0 : -ENODEV; cards 2673 drivers/parport/parport_pc.c } cards[] = { cards 2835 drivers/parport/parport_pc.c if (cards[i].preinit_hook && cards 2836 drivers/parport/parport_pc.c cards[i].preinit_hook(dev, PARPORT_IRQ_NONE, PARPORT_DMA_NONE)) { cards 2841 drivers/parport/parport_pc.c for (n = 0; n < cards[i].numports; n++) { cards 2842 drivers/parport/parport_pc.c int lo = cards[i].addr[n].lo; cards 2843 drivers/parport/parport_pc.c int hi = cards[i].addr[n].hi; cards 2876 drivers/parport/parport_pc.c if (cards[i].postinit_hook) cards 2877 drivers/parport/parport_pc.c cards[i].postinit_hook(dev, count == 0); cards 117 drivers/parport/parport_serial.c static struct parport_pc_pci cards[] = { cards 580 drivers/parport/parport_serial.c priv->par = cards[id->driver_data]; cards 251 drivers/pnp/card.c list_add_tail(&card->protocol_list, &card->protocol->cards); cards 65 drivers/pnp/core.c INIT_LIST_HEAD(&protocol->cards); cards 978 drivers/pnp/isapnp/core.c int cards; cards 1031 drivers/pnp/isapnp/core.c cards = isapnp_isolate(); cards 1032 drivers/pnp/isapnp/core.c if (cards < 0 || (isapnp_rdp < 0x203 || isapnp_rdp > 0x3ff)) { cards 1044 drivers/pnp/isapnp/core.c cards = 0; cards 1047 drivers/pnp/isapnp/core.c cards++; cards 1059 drivers/pnp/isapnp/core.c if (cards) cards 1061 drivers/pnp/isapnp/core.c "isapnp: %i Plug & Play card%s detected total\n", cards, cards 1062 drivers/pnp/isapnp/core.c cards > 1 ? "s" : ""); cards 137 drivers/scsi/qlogicfas.c static struct qlogicfas408_priv *cards; cards 158 drivers/scsi/qlogicfas.c priv->next = cards; cards 159 drivers/scsi/qlogicfas.c cards = priv; cards 216 drivers/scsi/qlogicfas.c for (priv = cards; priv != NULL; priv = priv->next) cards 56 drivers/staging/isdn/avm/b1pcmcia.c static LIST_HEAD(cards); cards 128 drivers/staging/isdn/avm/b1pcmcia.c list_add(&card->list, &cards); cards 179 drivers/staging/isdn/avm/b1pcmcia.c list_for_each(l, &cards) { cards 428 include/linux/pnp.h struct list_head cards; cards 434 include/linux/pnp.h list_for_each_entry(card, &(protocol)->cards, protocol_list) cards 1226 sound/drivers/aloop.c int i, err, cards; cards 1233 sound/drivers/aloop.c cards = 0; cards 1247 sound/drivers/aloop.c cards++; cards 1249 sound/drivers/aloop.c if (!cards) { cards 1163 sound/drivers/dummy.c int i, cards, err; cards 1175 sound/drivers/dummy.c cards = 0; cards 1189 sound/drivers/dummy.c cards++; cards 1191 sound/drivers/dummy.c if (!cards) { cards 994 sound/drivers/serial-u16550.c int i, cards, err; cards 999 sound/drivers/serial-u16550.c cards = 0; cards 1013 sound/drivers/serial-u16550.c cards++; cards 1015 sound/drivers/serial-u16550.c if (! cards) { cards 146 sound/drivers/virmidi.c int i, cards, err; cards 152 sound/drivers/virmidi.c cards = 0; cards 167 sound/drivers/virmidi.c cards++; cards 169 sound/drivers/virmidi.c if (!cards) { cards 3640 sound/pci/cs46xx/cs46xx_lib.c static struct cs_card_type cards[] = { cards 3935 sound/pci/cs46xx/cs46xx_lib.c for (cp = &cards[0]; cp->name; cp++) {