Lines Matching refs:cards
64 #define MM_SHIFT 6 /* max 64 partitions on 4 cards */
76 /* #define HW_TRACE(x) writeb(x,cards[0].csr_remap + MEMCTRLSTATUS_MAGIC) */
142 static struct cardinfo cards[MM_MAXCARDS];
705 if (!(cards[i].flags & UM_FLAG_NO_BATT)) {
706 struct cardinfo *card = &cards[i];
782 struct cardinfo *card = &cards[num_cards];
1083 spin_lock_init(&cards[i].lock);
1087 disk->private_data = &cards[i];
1088 disk->queue = cards[i].queue;
1089 set_capacity(disk, cards[i].mm_size << 1);