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, 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, Scsi_Cmnd *scp, u8 b);
156 static int gdth_special_cmd(gdth_ha_str *ha, 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, Scsi_Cmnd *scp,
166 static int gdth_internal_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp);
167 static int gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive);
169 static void gdth_enable_int(gdth_ha_str *ha);
170 static int gdth_test_busy(gdth_ha_str *ha);
171 static int gdth_get_cmd_index(gdth_ha_str *ha);
172 static void gdth_release_event(gdth_ha_str *ha);
173 static int gdth_wait(gdth_ha_str *ha, int index,u32 time);
174 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode,
176 static int gdth_search_drives(gdth_ha_str *ha);
177 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive);
179 static const char *gdth_ctr_name(gdth_ha_str *ha);
186 static void gdth_flush(gdth_ha_str *ha);
188 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp,
381 static gdth_ha_str *gdth_find_ha(int hanum) in gdth_find_ha()
383 gdth_ha_str *ha; in gdth_find_ha()
392 static struct gdth_cmndinfo *gdth_get_cmndinfo(gdth_ha_str *ha) in gdth_get_cmndinfo()
448 gdth_ha_str *ha = shost_priv(sdev->host); in __gdth_execute()
569 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out);
573 static void gdth_remove_one(gdth_ha_str *ha);
595 gdth_ha_str *ha = pci_get_drvdata(pdev); in gdth_pci_remove_one()
611 gdth_ha_str *ha = NULL; in gdth_pci_init_one()
661 static int __init gdth_init_eisa(u16 eisa_adr,gdth_ha_str *ha) in gdth_init_eisa()
755 static int __init gdth_init_isa(u32 bios_adr,gdth_ha_str *ha) in gdth_init_isa()
857 gdth_ha_str *ha) in gdth_init_pci()
1234 static void gdth_enable_int(gdth_ha_str *ha) in gdth_enable_int()
1271 static u8 gdth_get_status(gdth_ha_str *ha) in gdth_get_status()
1294 static int gdth_test_busy(gdth_ha_str *ha) in gdth_test_busy()
1316 static int gdth_get_cmd_index(gdth_ha_str *ha) in gdth_get_cmd_index()
1334 static void gdth_set_sema0(gdth_ha_str *ha) in gdth_set_sema0()
1352 static void gdth_copy_command(gdth_ha_str *ha) in gdth_copy_command()
1411 static void gdth_release_event(gdth_ha_str *ha) in gdth_release_event()
1447 static int gdth_wait(gdth_ha_str *ha, int index, u32 time) in gdth_wait()
1473 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode, in gdth_internal_cmd()
1550 static int gdth_search_drives(gdth_ha_str *ha) in gdth_search_drives()
1920 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive) in gdth_analyse_hdrive()
1985 static void gdth_putq(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 priority) in gdth_putq()
2025 static void gdth_next(gdth_ha_str *ha) in gdth_next()
2278 static void gdth_copy_internal_data(gdth_ha_str *ha, Scsi_Cmnd *scp, in gdth_copy_internal_data()
2320 static int gdth_internal_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp) in gdth_internal_cache_cmd()
2422 static int gdth_fill_cache_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u16 hdrive) in gdth_fill_cache_cmd()
2597 static int gdth_fill_raw_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp, u8 b) in gdth_fill_raw_cmd()
2770 static int gdth_special_cmd(gdth_ha_str *ha, Scsi_Cmnd *scp) in gdth_special_cmd()
2837 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, u16 source, in gdth_store_event()
2883 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr) in gdth_read_event()
2915 static void gdth_readapp_event(gdth_ha_str *ha, in gdth_readapp_event()
2958 static irqreturn_t __gdth_interrupt(gdth_ha_str *ha, in __gdth_interrupt()
3217 gdth_ha_str *ha = dev_id; in gdth_interrupt()
3222 static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index, in gdth_sync_event()
3587 static int gdth_async_event(gdth_ha_str *ha) in gdth_async_event()
3715 gdth_ha_str *ha; in gdth_timeout()
3723 ha = list_first_entry(&gdth_instances, gdth_ha_str, list); in gdth_timeout()
3848 static const char *gdth_ctr_name(gdth_ha_str *ha) in gdth_ctr_name()
3878 gdth_ha_str *ha = shost_priv(shp); in gdth_info()
3886 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_timed_out()
3919 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_eh_bus_reset()
3972 gdth_ha_str *ha = shost_priv(sdev->host); in gdth_bios_param()
4001 gdth_ha_str *ha = shost_priv(scp->device->host); in gdth_queuecommand_lck()
4018 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp, in DEF_SCSI_QCMD()
4038 gdth_ha_str *ha; in gdth_open()
4060 gdth_ha_str *ha; in ioc_event()
4099 gdth_ha_str *ha; in ioc_lockdrv()
4130 gdth_ha_str *ha; in ioc_resetdrv()
4165 gdth_ha_str *ha; in ioc_general()
4291 gdth_ha_str *ha; in ioc_hdrlist()
4349 gdth_ha_str *ha; in ioc_rescan()
4472 gdth_ha_str *ha; in gdth_ioctl()
4631 static void gdth_flush(gdth_ha_str *ha) in gdth_flush()
4693 gdth_ha_str *ha; in gdth_isa_probe_one()
4700 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_isa_probe_one()
4825 gdth_ha_str *ha; in gdth_eisa_probe_one()
4832 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_eisa_probe_one()
4955 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out) in gdth_pci_probe_one()
4958 gdth_ha_str *ha; in gdth_pci_probe_one()
4965 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str)); in gdth_pci_probe_one()
5099 static void gdth_remove_one(gdth_ha_str *ha) in gdth_remove_one()
5141 gdth_ha_str *ha; in gdth_halt()
5195 gdth_ha_str *ha; in gdth_init()
5213 gdth_ha_str *ha; in gdth_exit()