Searched refs:num_cards (Results 1 – 4 of 4) sorted by relevance
167 static int num_cards = 0; variable748 for (i = 0; i < num_cards; i++) in check_all_batteries()898 if (card_number >= num_cards) /* paranoid */ in mm_check_change()915 if (num >= num_cards) in mm_open()1073 struct cardinfo *card = &cards[num_cards]; in mm_pci_probe()1086 card->card_number = num_cards; in mm_pci_probe()1100 printk(KERN_WARNING "MM%d: NO suitable DMA found\n",num_cards); in mm_pci_probe()1277 num_cards++; in mm_pci_probe()1404 for (i = 0; i < num_cards; i++) { in mm_init()1409 for (i = 0; i < num_cards; i++) { in mm_init()[all …]
85 static int pc_refcount, nbdevs, num_cards, liloconfig; variable1430 if ((boardnum >= num_cards) || (boards[boardnum].status == DISABLED)) in pc_open()1579 for (crd = 0; crd < num_cards; crd++) in cleanup_module()1656 num_cards = NUMCARDS; in pc_init()1701 if(num_cards < MAXBOARDS) in pc_init()1703 num_cards += pci_boards_found; in pc_init()1778 for (crd = 0; crd < num_cards; crd++) in pc_init()2228 for (crd = 0; crd < num_cards; crd++) in epcapoll()2985 if ((brd < 0) || (brd >= num_cards) || (num_cards == 0)) in pc_ioctl()3009 if ((brd < 0) || (brd >= num_cards)) in pc_ioctl()[all …]
235 also bumps the card count (num_cards).
256 static unsigned num_cards; variable930 num_cards++; in ns_init_card()2990 for (i = 0; i < num_cards; i++) in ns_poll()