Lines Matching refs:ips_ha_t

236 static int ips_hainit(ips_ha_t *);
237 static int ips_map_status(ips_ha_t *, ips_scb_t *, ips_stat_t *);
238 static int ips_send_wait(ips_ha_t *, ips_scb_t *, int, int);
239 static int ips_send_cmd(ips_ha_t *, ips_scb_t *);
240 static int ips_online(ips_ha_t *, ips_scb_t *);
241 static int ips_inquiry(ips_ha_t *, ips_scb_t *);
242 static int ips_rdcap(ips_ha_t *, ips_scb_t *);
243 static int ips_msense(ips_ha_t *, ips_scb_t *);
244 static int ips_reqsen(ips_ha_t *, ips_scb_t *);
245 static int ips_deallocatescbs(ips_ha_t *, int);
246 static int ips_allocatescbs(ips_ha_t *);
247 static int ips_reset_copperhead(ips_ha_t *);
248 static int ips_reset_copperhead_memio(ips_ha_t *);
249 static int ips_reset_morpheus(ips_ha_t *);
250 static int ips_issue_copperhead(ips_ha_t *, ips_scb_t *);
251 static int ips_issue_copperhead_memio(ips_ha_t *, ips_scb_t *);
252 static int ips_issue_i2o(ips_ha_t *, ips_scb_t *);
253 static int ips_issue_i2o_memio(ips_ha_t *, ips_scb_t *);
254 static int ips_isintr_copperhead(ips_ha_t *);
255 static int ips_isintr_copperhead_memio(ips_ha_t *);
256 static int ips_isintr_morpheus(ips_ha_t *);
257 static int ips_wait(ips_ha_t *, int, int);
258 static int ips_write_driver_status(ips_ha_t *, int);
259 static int ips_read_adapter_status(ips_ha_t *, int);
260 static int ips_read_subsystem_parameters(ips_ha_t *, int);
261 static int ips_read_config(ips_ha_t *, int);
262 static int ips_clear_adapter(ips_ha_t *, int);
263 static int ips_readwrite_page5(ips_ha_t *, int, int);
264 static int ips_init_copperhead(ips_ha_t *);
265 static int ips_init_copperhead_memio(ips_ha_t *);
266 static int ips_init_morpheus(ips_ha_t *);
267 static int ips_isinit_copperhead(ips_ha_t *);
268 static int ips_isinit_copperhead_memio(ips_ha_t *);
269 static int ips_isinit_morpheus(ips_ha_t *);
270 static int ips_erase_bios(ips_ha_t *);
271 static int ips_program_bios(ips_ha_t *, char *, uint32_t, uint32_t);
272 static int ips_verify_bios(ips_ha_t *, char *, uint32_t, uint32_t);
273 static int ips_erase_bios_memio(ips_ha_t *);
274 static int ips_program_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
275 static int ips_verify_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
276 static int ips_flash_copperhead(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
277 static int ips_flash_bios(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
278 static int ips_flash_firmware(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
279 static void ips_free_flash_copperhead(ips_ha_t * ha);
280 static void ips_get_bios_version(ips_ha_t *, int);
281 static void ips_identify_controller(ips_ha_t *);
282 static void ips_chkstatus(ips_ha_t *, IPS_STATUS *);
283 static void ips_enable_int_copperhead(ips_ha_t *);
284 static void ips_enable_int_copperhead_memio(ips_ha_t *);
285 static void ips_enable_int_morpheus(ips_ha_t *);
286 static int ips_intr_copperhead(ips_ha_t *);
287 static int ips_intr_morpheus(ips_ha_t *);
288 static void ips_next(ips_ha_t *, int);
289 static void ipsintr_blocking(ips_ha_t *, struct ips_scb *);
290 static void ipsintr_done(ips_ha_t *, struct ips_scb *);
291 static void ips_done(ips_ha_t *, ips_scb_t *);
292 static void ips_free(ips_ha_t *);
293 static void ips_init_scb(ips_ha_t *, ips_scb_t *);
294 static void ips_freescb(ips_ha_t *, ips_scb_t *);
295 static void ips_setup_funclist(ips_ha_t *);
296 static void ips_statinit(ips_ha_t *);
297 static void ips_statinit_memio(ips_ha_t *);
298 static void ips_fix_ffdc_time(ips_ha_t *, ips_scb_t *, time64_t);
299 static void ips_ffdc_reset(ips_ha_t *, int);
300 static void ips_ffdc_time(ips_ha_t *);
301 static uint32_t ips_statupd_copperhead(ips_ha_t *);
302 static uint32_t ips_statupd_copperhead_memio(ips_ha_t *);
303 static uint32_t ips_statupd_morpheus(ips_ha_t *);
304 static ips_scb_t *ips_getscb(ips_ha_t *);
319 static int ips_make_passthru(ips_ha_t *, struct scsi_cmnd *, ips_scb_t *, int);
320 static int ips_usrcmd(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
321 static void ips_cleanup_passthru(ips_ha_t *, ips_scb_t *);
329 static int ips_host_info(ips_ha_t *, struct seq_file *);
330 static int ips_abort_init(ips_ha_t * ha, int index);
336 static int ips_poll_for_flush_complete(ips_ha_t * ha);
337 static void ips_flush_and_reset(ips_ha_t *ha);
344 static ips_ha_t *ips_ha[IPS_MAX_ADAPTERS]; /* Array of HA structures */
582 ips_setup_funclist(ips_ha_t * ha)
648 ips_ha_t *ha;
719 ips_ha_t *ha;
727 ha = (ips_ha_t *) ips_ha[i];
777 ips_ha_t *ha;
788 ha = (ips_ha_t *) SC->device->host->hostdata;
836 ips_ha_t *ha;
852 ha = (ips_ha_t *) SC->device->host->hostdata;
1041 ips_ha_t *ha;
1046 ha = (ips_ha_t *) SC->device->host->hostdata;
1147 ips_ha_t *ha = (ips_ha_t *) sdev->host->hostdata;
1197 ips_ha_t *ha;
1225 ips_ha_t *ha;
1231 ha = (ips_ha_t *) dev_id;
1269 ips_intr_copperhead(ips_ha_t * ha)
1333 ips_intr_morpheus(ips_ha_t * ha)
1405 ips_ha_t *ha;
1433 ips_ha_t *ha = NULL;
1439 ha = (ips_ha_t *) ips_sh[i]->hostdata;
1455 ips_ha_t *ha = NULL;
1461 ha = (ips_ha_t *) ips_sh[i]->hostdata;
1526 ips_alloc_passthru_buffer(ips_ha_t * ha, int length)
1560 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr)
1654 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1725 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1789 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr,
1827 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1880 ips_free_flash_copperhead(ips_ha_t * ha)
1900 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1988 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb)
2028 ips_host_info(ips_ha_t *ha, struct seq_file *m)
2146 ips_identify_controller(ips_ha_t * ha)
2231 ips_get_bios_version(ips_ha_t * ha, int intr)
2391 ips_hainit(ips_ha_t * ha)
2525 ips_next(ips_ha_t * ha, int intr)
3087 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb)
3109 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb)
3141 ips_done(ips_ha_t * ha, ips_scb_t * scb)
3247 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp)
3386 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr)
3452 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb)
3833 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus)
3991 ips_online(ips_ha_t * ha, ips_scb_t * scb)
4026 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb)
4061 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb)
4091 ips_msense(ips_ha_t * ha, ips_scb_t * scb)
4182 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb)
4211 ips_free(ips_ha_t * ha)
4279 ips_deallocatescbs(ips_ha_t * ha, int cmds)
4303 ips_allocatescbs(ips_ha_t * ha)
4367 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb)
4412 ips_getscb(ips_ha_t * ha)
4444 ips_freescb(ips_ha_t * ha, ips_scb_t * scb)
4471 ips_isinit_copperhead(ips_ha_t * ha)
4497 ips_isinit_copperhead_memio(ips_ha_t * ha)
4523 ips_isinit_morpheus(ips_ha_t * ha)
4555 ips_flush_and_reset(ips_ha_t *ha)
4615 ips_poll_for_flush_complete(ips_ha_t * ha)
4642 ips_enable_int_copperhead(ips_ha_t * ha)
4659 ips_enable_int_copperhead_memio(ips_ha_t * ha)
4676 ips_enable_int_morpheus(ips_ha_t * ha)
4698 ips_init_copperhead(ips_ha_t * ha)
4791 ips_init_copperhead_memio(ips_ha_t * ha)
4885 ips_init_morpheus(ips_ha_t * ha)
5002 ips_reset_copperhead(ips_ha_t * ha)
5047 ips_reset_copperhead_memio(ips_ha_t * ha)
5092 ips_reset_morpheus(ips_ha_t * ha)
5136 ips_statinit(ips_ha_t * ha)
5167 ips_statinit_memio(ips_ha_t * ha)
5197 ips_statupd_copperhead(ips_ha_t * ha)
5225 ips_statupd_copperhead_memio(ips_ha_t * ha)
5252 ips_statupd_morpheus(ips_ha_t * ha)
5273 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb)
5327 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb)
5380 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb)
5412 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb)
5444 ips_isintr_copperhead(ips_ha_t * ha)
5477 ips_isintr_copperhead_memio(ips_ha_t * ha)
5510 ips_isintr_morpheus(ips_ha_t * ha)
5534 ips_wait(ips_ha_t * ha, int time, int intr)
5592 ips_write_driver_status(ips_ha_t * ha, int intr)
5657 ips_read_adapter_status(ips_ha_t * ha, int intr)
5700 ips_read_subsystem_parameters(ips_ha_t * ha, int intr)
5744 ips_read_config(ips_ha_t * ha, int intr)
5802 ips_readwrite_page5(ips_ha_t * ha, int write, int intr)
5852 ips_clear_adapter(ips_ha_t * ha, int intr)
5915 ips_ffdc_reset(ips_ha_t * ha, int intr)
5949 ips_ffdc_time(ips_ha_t * ha)
5984 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time64_t current_time)
6014 ips_erase_bios(ips_ha_t * ha)
6126 ips_erase_bios_memio(ips_ha_t * ha)
6238 ips_program_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6329 ips_program_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6420 ips_verify_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6469 ips_verify_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6518 ips_abort_init(ips_ha_t * ha, int index)
6537 ips_ha_t *ha_sav = ips_ha[highindex];
6657 ips_ha_t *ha, *oldha = ips_ha[index];
6658 sh = scsi_host_alloc(&ips_driver_template, sizeof (ips_ha_t));
6665 memcpy(ha, oldha, sizeof (ips_ha_t));
6834 ips_ha_t *ha;
6894 ha = kzalloc(sizeof (ips_ha_t), GFP_KERNEL);
7049 ips_ha_t *ha;