Lines Matching refs:ctlr_info_t
73 static ctlr_info_t *hba[MAX_CTLR];
140 static int cpqarray_pci_init(ctlr_info_t *c, struct pci_dev *pdev);
147 static cmdlist_t * cmd_alloc(ctlr_info_t *h, int get_from_pool);
148 static void cmd_free(ctlr_info_t *h, cmdlist_t *c, int got_from_pool);
166 static int ida_ctlr_ioctl(ctlr_info_t *h, int dsk, ida_ioctl_t *io);
169 static void start_io(ctlr_info_t *h);
178 static int revalidate_allvol(ctlr_info_t *host);
192 static inline ctlr_info_t *get_host(struct gendisk *disk) in get_host()
233 ctlr_info_t *h = (ctlr_info_t*)m->private; in ida_proc_show()
313 static void release_io_mem(ctlr_info_t *c) in release_io_mem()
358 ctlr_info_t *tmp_ptr; in cpqarray_remove_one_pci()
520 memset(hba[i], 0, sizeof(ctlr_info_t)); in cpqarray_init_one()
582 hba[i] = kmalloc(sizeof(ctlr_info_t), GFP_KERNEL); in alloc_cpqarray_hba()
605 static int cpqarray_pci_init(ctlr_info_t *c, struct pci_dev *pdev) in cpqarray_pci_init()
768 memset(hba[ctlr], 0, sizeof(ctlr_info_t)); in cpqarray_eisa_detect()
826 ctlr_info_t *host = get_host(bdev->bd_disk); in ida_open()
861 ctlr_info_t *host; in ida_release()
906 ctlr_info_t *h = q->queuedata; in do_ida_request()
975 static void start_io(ctlr_info_t *h) in start_io()
1045 ctlr_info_t *h = dev_id; in do_ida_intr()
1116 ctlr_info_t *h = (ctlr_info_t*)tdata; in ida_timer()
1147 ctlr_info_t *host = get_host(bdev->bd_disk); in ida_locked_ioctl()
1234 static int ida_ctlr_ioctl(ctlr_info_t *h, int dsk, ida_ioctl_t *io) in ida_ctlr_ioctl()
1360 static cmdlist_t * cmd_alloc(ctlr_info_t *h, int get_from_pool) in cmd_alloc()
1387 static void cmd_free(ctlr_info_t *h, cmdlist_t *c, int got_from_pool) in cmd_free()
1420 ctlr_info_t *info_p = hba[ctlr]; in sendcmd()
1518 static int revalidate_allvol(ctlr_info_t *host) in revalidate_allvol()
1653 ctlr_info_t *info_p = hba[ctlr]; in getgeometry()