Lines Matching refs:num_cards
167 static int num_cards = 0; variable
748 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()
1416 mm_gendisk.nr_real = num_cards; in mm_init()
1423 for (i = 0; i < num_cards << MM_SHIFT; i++) { in mm_init()
1431 for (i = 0; i < num_cards; i++) { in mm_init()
1452 for (i=0; i < num_cards ; i++) in mm_cleanup()
1462 for (i = 0; i < (num_cards << MM_SHIFT); i++) in mm_cleanup()