Lines Matching refs:ips_ha_t

238 static int ips_hainit(ips_ha_t *);
239 static int ips_map_status(ips_ha_t *, ips_scb_t *, ips_stat_t *);
240 static int ips_send_wait(ips_ha_t *, ips_scb_t *, int, int);
241 static int ips_send_cmd(ips_ha_t *, ips_scb_t *);
242 static int ips_online(ips_ha_t *, ips_scb_t *);
243 static int ips_inquiry(ips_ha_t *, ips_scb_t *);
244 static int ips_rdcap(ips_ha_t *, ips_scb_t *);
245 static int ips_msense(ips_ha_t *, ips_scb_t *);
246 static int ips_reqsen(ips_ha_t *, ips_scb_t *);
247 static int ips_deallocatescbs(ips_ha_t *, int);
248 static int ips_allocatescbs(ips_ha_t *);
249 static int ips_reset_copperhead(ips_ha_t *);
250 static int ips_reset_copperhead_memio(ips_ha_t *);
251 static int ips_reset_morpheus(ips_ha_t *);
252 static int ips_issue_copperhead(ips_ha_t *, ips_scb_t *);
253 static int ips_issue_copperhead_memio(ips_ha_t *, ips_scb_t *);
254 static int ips_issue_i2o(ips_ha_t *, ips_scb_t *);
255 static int ips_issue_i2o_memio(ips_ha_t *, ips_scb_t *);
256 static int ips_isintr_copperhead(ips_ha_t *);
257 static int ips_isintr_copperhead_memio(ips_ha_t *);
258 static int ips_isintr_morpheus(ips_ha_t *);
259 static int ips_wait(ips_ha_t *, int, int);
260 static int ips_write_driver_status(ips_ha_t *, int);
261 static int ips_read_adapter_status(ips_ha_t *, int);
262 static int ips_read_subsystem_parameters(ips_ha_t *, int);
263 static int ips_read_config(ips_ha_t *, int);
264 static int ips_clear_adapter(ips_ha_t *, int);
265 static int ips_readwrite_page5(ips_ha_t *, int, int);
266 static int ips_init_copperhead(ips_ha_t *);
267 static int ips_init_copperhead_memio(ips_ha_t *);
268 static int ips_init_morpheus(ips_ha_t *);
269 static int ips_isinit_copperhead(ips_ha_t *);
270 static int ips_isinit_copperhead_memio(ips_ha_t *);
271 static int ips_isinit_morpheus(ips_ha_t *);
272 static int ips_erase_bios(ips_ha_t *);
273 static int ips_program_bios(ips_ha_t *, char *, uint32_t, uint32_t);
274 static int ips_verify_bios(ips_ha_t *, char *, uint32_t, uint32_t);
275 static int ips_erase_bios_memio(ips_ha_t *);
276 static int ips_program_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
277 static int ips_verify_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
278 static int ips_flash_copperhead(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
279 static int ips_flash_bios(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
280 static int ips_flash_firmware(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
281 static void ips_free_flash_copperhead(ips_ha_t * ha);
282 static void ips_get_bios_version(ips_ha_t *, int);
283 static void ips_identify_controller(ips_ha_t *);
284 static void ips_chkstatus(ips_ha_t *, IPS_STATUS *);
285 static void ips_enable_int_copperhead(ips_ha_t *);
286 static void ips_enable_int_copperhead_memio(ips_ha_t *);
287 static void ips_enable_int_morpheus(ips_ha_t *);
288 static int ips_intr_copperhead(ips_ha_t *);
289 static int ips_intr_morpheus(ips_ha_t *);
290 static void ips_next(ips_ha_t *, int);
291 static void ipsintr_blocking(ips_ha_t *, struct ips_scb *);
292 static void ipsintr_done(ips_ha_t *, struct ips_scb *);
293 static void ips_done(ips_ha_t *, ips_scb_t *);
294 static void ips_free(ips_ha_t *);
295 static void ips_init_scb(ips_ha_t *, ips_scb_t *);
296 static void ips_freescb(ips_ha_t *, ips_scb_t *);
297 static void ips_setup_funclist(ips_ha_t *);
298 static void ips_statinit(ips_ha_t *);
299 static void ips_statinit_memio(ips_ha_t *);
300 static void ips_fix_ffdc_time(ips_ha_t *, ips_scb_t *, time_t);
301 static void ips_ffdc_reset(ips_ha_t *, int);
302 static void ips_ffdc_time(ips_ha_t *);
303 static uint32_t ips_statupd_copperhead(ips_ha_t *);
304 static uint32_t ips_statupd_copperhead_memio(ips_ha_t *);
305 static uint32_t ips_statupd_morpheus(ips_ha_t *);
306 static ips_scb_t *ips_getscb(ips_ha_t *);
321 static int ips_make_passthru(ips_ha_t *, struct scsi_cmnd *, ips_scb_t *, int);
322 static int ips_usrcmd(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
323 static void ips_cleanup_passthru(ips_ha_t *, ips_scb_t *);
331 static int ips_host_info(ips_ha_t *, struct seq_file *);
332 static int ips_abort_init(ips_ha_t * ha, int index);
338 static int ips_poll_for_flush_complete(ips_ha_t * ha);
339 static void ips_flush_and_reset(ips_ha_t *ha);
346 static ips_ha_t *ips_ha[IPS_MAX_ADAPTERS]; /* Array of HA structures */
587 ips_setup_funclist(ips_ha_t * ha) in ips_setup_funclist()
654 ips_ha_t *ha; in ips_release()
728 ips_ha_t *ha; in ips_halt()
736 ha = (ips_ha_t *) ips_ha[i]; in ips_halt()
786 ips_ha_t *ha; in ips_eh_abort()
797 ha = (ips_ha_t *) SC->device->host->hostdata; in ips_eh_abort()
845 ips_ha_t *ha; in __ips_eh_reset()
861 ha = (ips_ha_t *) SC->device->host->hostdata; in __ips_eh_reset()
1052 ips_ha_t *ha; in ips_queue_lck()
1057 ha = (ips_ha_t *) SC->device->host->hostdata; in ips_queue_lck()
1155 ips_ha_t *ha = (ips_ha_t *) sdev->host->hostdata; in DEF_SCSI_QCMD()
1205 ips_ha_t *ha; in ips_slave_configure()
1233 ips_ha_t *ha; in do_ipsintr()
1239 ha = (ips_ha_t *) dev_id; in do_ipsintr()
1277 ips_intr_copperhead(ips_ha_t * ha) in ips_intr_copperhead()
1341 ips_intr_morpheus(ips_ha_t * ha) in ips_intr_morpheus()
1413 ips_ha_t *ha; in ips_info()
1441 ips_ha_t *ha = NULL; in ips_write_info()
1447 ha = (ips_ha_t *) ips_sh[i]->hostdata; in ips_write_info()
1463 ips_ha_t *ha = NULL; in ips_show_info()
1469 ha = (ips_ha_t *) ips_sh[i]->hostdata; in ips_show_info()
1535 ips_alloc_passthru_buffer(ips_ha_t * ha, int length) in ips_alloc_passthru_buffer()
1568 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr) in ips_make_passthru()
1662 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_flash_copperhead()
1734 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_flash_bios()
1798 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr, in ips_fill_scb_sg_single()
1836 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_flash_firmware()
1889 ips_free_flash_copperhead(ips_ha_t * ha) in ips_free_flash_copperhead()
1909 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_usrcmd()
1997 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb) in ips_cleanup_passthru()
2037 ips_host_info(ips_ha_t *ha, struct seq_file *m) in ips_host_info()
2155 ips_identify_controller(ips_ha_t * ha) in ips_identify_controller()
2240 ips_get_bios_version(ips_ha_t * ha, int intr) in ips_get_bios_version()
2403 ips_hainit(ips_ha_t * ha) in ips_hainit()
2539 ips_next(ips_ha_t * ha, int intr) in ips_next()
3104 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb) in ipsintr_blocking()
3126 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb) in ipsintr_done()
3158 ips_done(ips_ha_t * ha, ips_scb_t * scb) in ips_done()
3264 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp) in ips_map_status()
3401 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr) in ips_send_wait()
3467 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb) in ips_send_cmd()
3849 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus) in ips_chkstatus()
4007 ips_online(ips_ha_t * ha, ips_scb_t * scb) in ips_online()
4042 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb) in ips_inquiry()
4077 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb) in ips_rdcap()
4107 ips_msense(ips_ha_t * ha, ips_scb_t * scb) in ips_msense()
4198 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb) in ips_reqsen()
4227 ips_free(ips_ha_t * ha) in ips_free()
4295 ips_deallocatescbs(ips_ha_t * ha, int cmds) in ips_deallocatescbs()
4319 ips_allocatescbs(ips_ha_t * ha) in ips_allocatescbs()
4384 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb) in ips_init_scb()
4429 ips_getscb(ips_ha_t * ha) in ips_getscb()
4461 ips_freescb(ips_ha_t * ha, ips_scb_t * scb) in ips_freescb()
4488 ips_isinit_copperhead(ips_ha_t * ha) in ips_isinit_copperhead()
4514 ips_isinit_copperhead_memio(ips_ha_t * ha) in ips_isinit_copperhead_memio()
4540 ips_isinit_morpheus(ips_ha_t * ha) in ips_isinit_morpheus()
4572 ips_flush_and_reset(ips_ha_t *ha) in ips_flush_and_reset()
4631 ips_poll_for_flush_complete(ips_ha_t * ha) in ips_poll_for_flush_complete()
4658 ips_enable_int_copperhead(ips_ha_t * ha) in ips_enable_int_copperhead()
4675 ips_enable_int_copperhead_memio(ips_ha_t * ha) in ips_enable_int_copperhead_memio()
4692 ips_enable_int_morpheus(ips_ha_t * ha) in ips_enable_int_morpheus()
4714 ips_init_copperhead(ips_ha_t * ha) in ips_init_copperhead()
4808 ips_init_copperhead_memio(ips_ha_t * ha) in ips_init_copperhead_memio()
4903 ips_init_morpheus(ips_ha_t * ha) in ips_init_morpheus()
5020 ips_reset_copperhead(ips_ha_t * ha) in ips_reset_copperhead()
5065 ips_reset_copperhead_memio(ips_ha_t * ha) in ips_reset_copperhead_memio()
5110 ips_reset_morpheus(ips_ha_t * ha) in ips_reset_morpheus()
5154 ips_statinit(ips_ha_t * ha) in ips_statinit()
5185 ips_statinit_memio(ips_ha_t * ha) in ips_statinit_memio()
5215 ips_statupd_copperhead(ips_ha_t * ha) in ips_statupd_copperhead()
5243 ips_statupd_copperhead_memio(ips_ha_t * ha) in ips_statupd_copperhead_memio()
5270 ips_statupd_morpheus(ips_ha_t * ha) in ips_statupd_morpheus()
5291 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_copperhead()
5345 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_copperhead_memio()
5398 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_i2o()
5430 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_i2o_memio()
5462 ips_isintr_copperhead(ips_ha_t * ha) in ips_isintr_copperhead()
5495 ips_isintr_copperhead_memio(ips_ha_t * ha) in ips_isintr_copperhead_memio()
5528 ips_isintr_morpheus(ips_ha_t * ha) in ips_isintr_morpheus()
5552 ips_wait(ips_ha_t * ha, int time, int intr) in ips_wait()
5610 ips_write_driver_status(ips_ha_t * ha, int intr) in ips_write_driver_status()
5675 ips_read_adapter_status(ips_ha_t * ha, int intr) in ips_read_adapter_status()
5718 ips_read_subsystem_parameters(ips_ha_t * ha, int intr) in ips_read_subsystem_parameters()
5762 ips_read_config(ips_ha_t * ha, int intr) in ips_read_config()
5820 ips_readwrite_page5(ips_ha_t * ha, int write, int intr) in ips_readwrite_page5()
5870 ips_clear_adapter(ips_ha_t * ha, int intr) in ips_clear_adapter()
5933 ips_ffdc_reset(ips_ha_t * ha, int intr) in ips_ffdc_reset()
5967 ips_ffdc_time(ips_ha_t * ha) in ips_ffdc_time()
6002 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time_t current_time) in ips_fix_ffdc_time()
6070 ips_erase_bios(ips_ha_t * ha) in ips_erase_bios()
6182 ips_erase_bios_memio(ips_ha_t * ha) in ips_erase_bios_memio()
6294 ips_program_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize, in ips_program_bios()
6385 ips_program_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize, in ips_program_bios_memio()
6476 ips_verify_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize, in ips_verify_bios()
6525 ips_verify_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize, in ips_verify_bios_memio()
6574 ips_abort_init(ips_ha_t * ha, int index) in ips_abort_init()
6593 ips_ha_t *ha_sav = ips_ha[highindex]; in ips_shift_controllers()
6713 ips_ha_t *ha, *oldha = ips_ha[index]; in ips_register_scsi()
6714 sh = scsi_host_alloc(&ips_driver_template, sizeof (ips_ha_t)); in ips_register_scsi()
6721 memcpy(ha, oldha, sizeof (ips_ha_t)); in ips_register_scsi()
6886 ips_ha_t *ha; in ips_init_phase1()
6952 ha = kzalloc(sizeof (ips_ha_t), GFP_KERNEL); in ips_init_phase1()
7105 ips_ha_t *ha; in ips_init_phase2()