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)
270 gdth_ha_str *ha;
279 static struct gdth_cmndinfo *gdth_get_cmndinfo(gdth_ha_str *ha)
335 gdth_ha_str *ha = shost_priv(sdev->host);
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);
459 gdth_ha_str *ha = NULL;
508 gdth_ha_str *ha)
884 static void gdth_enable_int(gdth_ha_str *ha)
911 static u8 gdth_get_status(gdth_ha_str *ha)
929 static int gdth_test_busy(gdth_ha_str *ha)
947 static int gdth_get_cmd_index(gdth_ha_str *ha)
965 static void gdth_set_sema0(gdth_ha_str *ha)
979 static void gdth_copy_command(gdth_ha_str *ha)
1028 static void gdth_release_event(gdth_ha_str *ha)
1058 static int gdth_wait(gdth_ha_str *ha, int index, u32 time)
1084 static int gdth_internal_cmd(gdth_ha_str *ha, u8 service, u16 opcode,
1161 static int gdth_search_drives(gdth_ha_str *ha)
1471 static int gdth_analyse_hdrive(gdth_ha_str *ha, u16 hdrive)
1536 static void gdth_putq(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 priority)
1576 static void gdth_next(gdth_ha_str *ha)
1829 static void gdth_copy_internal_data(gdth_ha_str *ha, struct scsi_cmnd *scp,
1871 static int gdth_internal_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp)
1973 static int gdth_fill_cache_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp,
2137 static int gdth_fill_raw_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp, u8 b)
2294 static int gdth_special_cmd(gdth_ha_str *ha, struct scsi_cmnd *scp)
2358 static gdth_evt_str *gdth_store_event(gdth_ha_str *ha, u16 source,
2401 static int gdth_read_event(gdth_ha_str *ha, int handle, gdth_evt_str *estr)
2433 static void gdth_readapp_event(gdth_ha_str *ha,
2476 static irqreturn_t __gdth_interrupt(gdth_ha_str *ha,
2637 gdth_ha_str *ha = dev_id;
2642 static int gdth_sync_event(gdth_ha_str *ha, int service, u8 index,
3007 static int gdth_async_event(gdth_ha_str *ha)
3128 gdth_ha_str *ha;
3136 ha = list_first_entry(&gdth_instances, gdth_ha_str, list);
3172 static const char *gdth_ctr_name(gdth_ha_str *ha)
3191 gdth_ha_str *ha = shost_priv(shp);
3199 gdth_ha_str *ha = shost_priv(scp->device->host);
3232 gdth_ha_str *ha = shost_priv(scp->device->host);
3285 gdth_ha_str *ha = shost_priv(sdev->host);
3314 gdth_ha_str *ha = shost_priv(scp->device->host);
3331 static int __gdth_queuecommand(gdth_ha_str *ha, struct scsi_cmnd *scp,
3351 gdth_ha_str *ha;
3373 gdth_ha_str *ha;
3412 gdth_ha_str *ha;
3443 gdth_ha_str *ha;
3473 static void gdth_ioc_cacheservice(gdth_ha_str *ha, gdth_ioctl_general *gen,
3506 static void gdth_ioc_scsiraw(gdth_ha_str *ha, gdth_ioctl_general *gen,
3555 gdth_ha_str *ha;
3621 gdth_ha_str *ha;
3679 gdth_ha_str *ha;
3802 gdth_ha_str *ha;
3956 static void gdth_flush(gdth_ha_str *ha)
4013 static int gdth_pci_probe_one(gdth_pci_str *pcistr, gdth_ha_str **ha_out)
4016 gdth_ha_str *ha;
4023 shp = scsi_host_alloc(&gdth_template, sizeof(gdth_ha_str));
4142 static void gdth_remove_one(gdth_ha_str *ha)
4175 gdth_ha_str *ha;
4209 gdth_ha_str *ha;
4226 gdth_ha_str *ha;