Lines Matching refs:cardinfo
109 struct cardinfo { struct
157 static struct cardinfo cards[MM_MAXCARDS]; argument
179 static void check_batteries(struct cardinfo *card);
186 static int get_userbit(struct cardinfo *card, int bit) in get_userbit()
198 static int set_userbit(struct cardinfo *card, int bit, unsigned char state) in set_userbit()
219 static void set_led(struct cardinfo *card, int shift, unsigned char state) in set_led()
240 static void dump_regs(struct cardinfo *card) in dump_regs()
261 static void dump_dmastat(struct cardinfo *card, unsigned int dmastat) in dump_dmastat()
306 static void mm_start_io(struct cardinfo *card) in mm_start_io()
353 static int add_bh(struct cardinfo *card);
355 static void activate(struct cardinfo *card) in activate()
387 struct cardinfo *card = data; in mm_unplug_device()
399 static int add_bh(struct cardinfo *card) in add_bh()
463 struct cardinfo *card = (struct cardinfo *)data; in process_page()
543 struct cardinfo *card = &cards[DEVICE_NR(bh->b_rdev)]; in mm_make_request()
565 struct cardinfo *card = (struct cardinfo *) __card; in mm_interrupt()
668 static void set_fault_to_battery_status(struct cardinfo *card) in set_fault_to_battery_status()
688 static int check_battery(struct cardinfo *card, int battery, int status) in check_battery()
721 static void check_batteries(struct cardinfo *card) in check_batteries()
750 struct cardinfo *card = &cards[i]; in check_all_batteries()
912 struct cardinfo *card; in mm_open()
933 struct cardinfo *card; in mm_do_release()
958 static int __devinit mm_init_mem(struct cardinfo *card) in mm_init_mem()
1073 struct cardinfo *card = &cards[num_cards]; in mm_pci_probe()
1324 struct cardinfo *card = pci_get_drvdata(dev); in mm_pci_remove()
1384 memset (cards, 0, MM_MAXCARDS * sizeof(struct cardinfo)); in mm_init()