Lines Matching refs:gdth_ha_str
119 static irqreturn_t __gdth_interrupt(gdth_ha_str *ha,
121 static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index,
123 static int gdth_async_event(gdth_ha_str *ha);
126 static void gdth_putq(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 priority);
127 static void gdth_next(gdth_ha_str *ha);
128 static int gdth_fill_raw_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 b);
129 static int gdth_special_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp);
130 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, u16 source,
132 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr);
133 static void gdth_readapp_event(gdth_ha_str *ha, u8 application,
137 static void gdth_copy_internal_data(gdth_ha_str *ha, struct scsi_cmnd *scp,
139 static int gdth_internal_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp);
140 static int gdth_fill_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp,
143 static void gdth_enable_int(gdth_ha_str *ha);
144 static int gdth_test_busy(gdth_ha_str *ha);
145 static int gdth_get_cmd_index(gdth_ha_str *ha);
146 static void gdth_release_event(gdth_ha_str *ha);
147 static int gdth_wait(gdth_ha_str *ha, int index,u32 time);
148 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode,
150 static int gdth_search_drives(gdth_ha_str *ha);
151 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive);
153 static const char *gdth_ctr_name(gdth_ha_str *ha);
160 static void gdth_flush(gdth_ha_str *ha);
162 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp,
268 static gdth_ha_str *gdth_find_ha(int hanum) in gdth_find_ha()
270 gdth_ha_str *ha; in gdth_find_ha()
279 static struct gdth_cmndinfo *gdth_get_cmndinfo(gdth_ha_str *ha) in gdth_get_cmndinfo()
335 gdth_ha_str *ha = shost_priv(sdev->host); in __gdth_execute()
417 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out);
421 static void gdth_remove_one(gdth_ha_str *ha);
443 gdth_ha_str *ha = pci_get_drvdata(pdev); in gdth_pci_remove_one()
459 gdth_ha_str *ha = NULL; in gdth_pci_init_one()
508 gdth_ha_str *ha) in gdth_init_pci()
884 static void gdth_enable_int(gdth_ha_str *ha) in gdth_enable_int()
911 static u8 gdth_get_status(gdth_ha_str *ha) in gdth_get_status()
929 static int gdth_test_busy(gdth_ha_str *ha) in gdth_test_busy()
947 static int gdth_get_cmd_index(gdth_ha_str *ha) in gdth_get_cmd_index()
965 static void gdth_set_sema0(gdth_ha_str *ha) in gdth_set_sema0()
979 static void gdth_copy_command(gdth_ha_str *ha) in gdth_copy_command()
1028 static void gdth_release_event(gdth_ha_str *ha) in gdth_release_event()
1058 static int gdth_wait(gdth_ha_str *ha, int index, u32 time) in gdth_wait()
1084 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode, in gdth_internal_cmd()
1161 static int gdth_search_drives(gdth_ha_str *ha) in gdth_search_drives()
1471 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive) in gdth_analyse_hdrive()
1536 static void gdth_putq(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 priority) in gdth_putq()
1576 static void gdth_next(gdth_ha_str *ha) in gdth_next()
1829 static void gdth_copy_internal_data(gdth_ha_str *ha, struct scsi_cmnd *scp, in gdth_copy_internal_data()
1871 static int gdth_internal_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp) in gdth_internal_cache_cmd()
1973 static int gdth_fill_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, in gdth_fill_cache_cmd()
2137 static int gdth_fill_raw_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 b) in gdth_fill_raw_cmd()
2294 static int gdth_special_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp) in gdth_special_cmd()
2358 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, u16 source, in gdth_store_event()
2401 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr) in gdth_read_event()
2433 static void gdth_readapp_event(gdth_ha_str *ha, in gdth_readapp_event()
2476 static irqreturn_t __gdth_interrupt(gdth_ha_str *ha, in __gdth_interrupt()
2637 gdth_ha_str *ha = dev_id; in gdth_interrupt()
2642 static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index, in gdth_sync_event()
3007 static int gdth_async_event(gdth_ha_str *ha) in gdth_async_event()
3128 gdth_ha_str *ha; in gdth_timeout()
3136 ha = list_first_entry(&gdth_instances, gdth_ha_str, list); in gdth_timeout()
3172 static const char *gdth_ctr_name(gdth_ha_str *ha) in gdth_ctr_name()
3191 gdth_ha_str *ha = shost_priv(shp); in gdth_info()
3199 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_timed_out()
3232 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_eh_bus_reset()
3285 gdth_ha_str *ha = shost_priv(sdev->host); in gdth_bios_param()
3314 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_queuecommand_lck()
3331 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp, in DEF_SCSI_QCMD()
3351 gdth_ha_str *ha; in gdth_open()
3373 gdth_ha_str *ha; in ioc_event()
3412 gdth_ha_str *ha; in ioc_lockdrv()
3443 gdth_ha_str *ha; in ioc_resetdrv()
3473 static void gdth_ioc_cacheservice(gdth_ha_str *ha, gdth_ioctl_general *gen, in gdth_ioc_cacheservice()
3506 static void gdth_ioc_scsiraw(gdth_ha_str *ha, gdth_ioctl_general *gen, in gdth_ioc_scsiraw()
3555 gdth_ha_str *ha; in ioc_general()
3621 gdth_ha_str *ha; in ioc_hdrlist()
3679 gdth_ha_str *ha; in ioc_rescan()
3802 gdth_ha_str *ha; in gdth_ioctl()
3956 static void gdth_flush(gdth_ha_str *ha) in gdth_flush()
4013 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out) in gdth_pci_probe_one()
4016 gdth_ha_str *ha; in gdth_pci_probe_one()
4023 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_pci_probe_one()
4142 static void gdth_remove_one(gdth_ha_str *ha) in gdth_remove_one()
4175 gdth_ha_str *ha; in gdth_halt()
4209 gdth_ha_str *ha; in gdth_init()
4226 gdth_ha_str *ha; in gdth_exit()