Lines Matching refs:gdth_ha_str

146 static irqreturn_t __gdth_interrupt(gdth_ha_str *ha,
148 static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index,
150 static int gdth_async_event(gdth_ha_str *ha);
153 static void gdth_putq(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 priority);
154 static void gdth_next(gdth_ha_str *ha);
155 static int gdth_fill_raw_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 b);
156 static int gdth_special_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp);
157 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, u16 source,
159 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr);
160 static void gdth_readapp_event(gdth_ha_str *ha, u8 application,
164 static void gdth_copy_internal_data(gdth_ha_str *ha, struct scsi_cmnd *scp,
166 static int gdth_internal_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp);
167 static int gdth_fill_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp,
170 static void gdth_enable_int(gdth_ha_str *ha);
171 static int gdth_test_busy(gdth_ha_str *ha);
172 static int gdth_get_cmd_index(gdth_ha_str *ha);
173 static void gdth_release_event(gdth_ha_str *ha);
174 static int gdth_wait(gdth_ha_str *ha, int index,u32 time);
175 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode,
177 static int gdth_search_drives(gdth_ha_str *ha);
178 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive);
180 static const char *gdth_ctr_name(gdth_ha_str *ha);
187 static void gdth_flush(gdth_ha_str *ha);
189 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp,
382 static gdth_ha_str *gdth_find_ha(int hanum) in gdth_find_ha()
384 gdth_ha_str *ha; in gdth_find_ha()
393 static struct gdth_cmndinfo *gdth_get_cmndinfo(gdth_ha_str *ha) in gdth_get_cmndinfo()
449 gdth_ha_str *ha = shost_priv(sdev->host); in __gdth_execute()
570 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out);
574 static void gdth_remove_one(gdth_ha_str *ha);
596 gdth_ha_str *ha = pci_get_drvdata(pdev); in gdth_pci_remove_one()
612 gdth_ha_str *ha = NULL; in gdth_pci_init_one()
662 static int __init gdth_init_eisa(u16 eisa_adr,gdth_ha_str *ha) in gdth_init_eisa()
756 static int __init gdth_init_isa(u32 bios_adr,gdth_ha_str *ha) in gdth_init_isa()
858 gdth_ha_str *ha) in gdth_init_pci()
1235 static void gdth_enable_int(gdth_ha_str *ha) in gdth_enable_int()
1272 static u8 gdth_get_status(gdth_ha_str *ha) in gdth_get_status()
1295 static int gdth_test_busy(gdth_ha_str *ha) in gdth_test_busy()
1317 static int gdth_get_cmd_index(gdth_ha_str *ha) in gdth_get_cmd_index()
1335 static void gdth_set_sema0(gdth_ha_str *ha) in gdth_set_sema0()
1353 static void gdth_copy_command(gdth_ha_str *ha) in gdth_copy_command()
1412 static void gdth_release_event(gdth_ha_str *ha) in gdth_release_event()
1448 static int gdth_wait(gdth_ha_str *ha, int index, u32 time) in gdth_wait()
1474 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode, in gdth_internal_cmd()
1551 static int gdth_search_drives(gdth_ha_str *ha) in gdth_search_drives()
1921 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive) in gdth_analyse_hdrive()
1986 static void gdth_putq(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 priority) in gdth_putq()
2026 static void gdth_next(gdth_ha_str *ha) in gdth_next()
2279 static void gdth_copy_internal_data(gdth_ha_str *ha, struct scsi_cmnd *scp, in gdth_copy_internal_data()
2321 static int gdth_internal_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp) in gdth_internal_cache_cmd()
2423 static int gdth_fill_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, in gdth_fill_cache_cmd()
2599 static int gdth_fill_raw_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 b) in gdth_fill_raw_cmd()
2772 static int gdth_special_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp) in gdth_special_cmd()
2839 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, u16 source, in gdth_store_event()
2882 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr) in gdth_read_event()
2914 static void gdth_readapp_event(gdth_ha_str *ha, in gdth_readapp_event()
2957 static irqreturn_t __gdth_interrupt(gdth_ha_str *ha, in __gdth_interrupt()
3216 gdth_ha_str *ha = dev_id; in gdth_interrupt()
3221 static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index, in gdth_sync_event()
3586 static int gdth_async_event(gdth_ha_str *ha) in gdth_async_event()
3714 gdth_ha_str *ha; in gdth_timeout()
3722 ha = list_first_entry(&gdth_instances, gdth_ha_str, list); in gdth_timeout()
3846 static const char *gdth_ctr_name(gdth_ha_str *ha) in gdth_ctr_name()
3876 gdth_ha_str *ha = shost_priv(shp); in gdth_info()
3884 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_timed_out()
3917 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_eh_bus_reset()
3970 gdth_ha_str *ha = shost_priv(sdev->host); in gdth_bios_param()
3999 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_queuecommand_lck()
4016 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp, in DEF_SCSI_QCMD()
4036 gdth_ha_str *ha; in gdth_open()
4058 gdth_ha_str *ha; in ioc_event()
4097 gdth_ha_str *ha; in ioc_lockdrv()
4128 gdth_ha_str *ha; in ioc_resetdrv()
4163 gdth_ha_str *ha; in ioc_general()
4289 gdth_ha_str *ha; in ioc_hdrlist()
4347 gdth_ha_str *ha; in ioc_rescan()
4470 gdth_ha_str *ha; in gdth_ioctl()
4629 static void gdth_flush(gdth_ha_str *ha) in gdth_flush()
4691 gdth_ha_str *ha; in gdth_isa_probe_one()
4698 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_isa_probe_one()
4823 gdth_ha_str *ha; in gdth_eisa_probe_one()
4830 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_eisa_probe_one()
4953 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out) in gdth_pci_probe_one()
4956 gdth_ha_str *ha; in gdth_pci_probe_one()
4963 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_pci_probe_one()
5097 static void gdth_remove_one(gdth_ha_str *ha) in gdth_remove_one()
5139 gdth_ha_str *ha; in gdth_halt()
5193 gdth_ha_str *ha; in gdth_init()
5211 gdth_ha_str *ha; in gdth_exit()