Lines Matching refs:ips_ha_t

232 static int ips_hainit(ips_ha_t *);
233 static int ips_map_status(ips_ha_t *, ips_scb_t *, ips_stat_t *);
234 static int ips_send_wait(ips_ha_t *, ips_scb_t *, int, int);
235 static int ips_send_cmd(ips_ha_t *, ips_scb_t *);
236 static int ips_online(ips_ha_t *, ips_scb_t *);
237 static int ips_inquiry(ips_ha_t *, ips_scb_t *);
238 static int ips_rdcap(ips_ha_t *, ips_scb_t *);
239 static int ips_msense(ips_ha_t *, ips_scb_t *);
240 static int ips_reqsen(ips_ha_t *, ips_scb_t *);
241 static int ips_deallocatescbs(ips_ha_t *, int);
242 static int ips_allocatescbs(ips_ha_t *);
243 static int ips_reset_copperhead(ips_ha_t *);
244 static int ips_reset_copperhead_memio(ips_ha_t *);
245 static int ips_reset_morpheus(ips_ha_t *);
246 static int ips_issue_copperhead(ips_ha_t *, ips_scb_t *);
247 static int ips_issue_copperhead_memio(ips_ha_t *, ips_scb_t *);
248 static int ips_issue_i2o(ips_ha_t *, ips_scb_t *);
249 static int ips_issue_i2o_memio(ips_ha_t *, ips_scb_t *);
250 static int ips_isintr_copperhead(ips_ha_t *);
251 static int ips_isintr_copperhead_memio(ips_ha_t *);
252 static int ips_isintr_morpheus(ips_ha_t *);
253 static int ips_wait(ips_ha_t *, int, int);
254 static int ips_write_driver_status(ips_ha_t *, int);
255 static int ips_read_adapter_status(ips_ha_t *, int);
256 static int ips_read_subsystem_parameters(ips_ha_t *, int);
257 static int ips_read_config(ips_ha_t *, int);
258 static int ips_clear_adapter(ips_ha_t *, int);
259 static int ips_readwrite_page5(ips_ha_t *, int, int);
260 static int ips_init_copperhead(ips_ha_t *);
261 static int ips_init_copperhead_memio(ips_ha_t *);
262 static int ips_init_morpheus(ips_ha_t *);
263 static int ips_isinit_copperhead(ips_ha_t *);
264 static int ips_isinit_copperhead_memio(ips_ha_t *);
265 static int ips_isinit_morpheus(ips_ha_t *);
266 static int ips_erase_bios(ips_ha_t *);
267 static int ips_program_bios(ips_ha_t *, char *, uint32_t, uint32_t);
268 static int ips_verify_bios(ips_ha_t *, char *, uint32_t, uint32_t);
269 static int ips_erase_bios_memio(ips_ha_t *);
270 static int ips_program_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
271 static int ips_verify_bios_memio(ips_ha_t *, char *, uint32_t, uint32_t);
272 static int ips_flash_copperhead(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
273 static int ips_flash_bios(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
274 static int ips_flash_firmware(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
275 static void ips_free_flash_copperhead(ips_ha_t * ha);
276 static void ips_get_bios_version(ips_ha_t *, int);
277 static void ips_identify_controller(ips_ha_t *);
278 static void ips_chkstatus(ips_ha_t *, IPS_STATUS *);
279 static void ips_enable_int_copperhead(ips_ha_t *);
280 static void ips_enable_int_copperhead_memio(ips_ha_t *);
281 static void ips_enable_int_morpheus(ips_ha_t *);
282 static int ips_intr_copperhead(ips_ha_t *);
283 static int ips_intr_morpheus(ips_ha_t *);
284 static void ips_next(ips_ha_t *, int);
285 static void ipsintr_blocking(ips_ha_t *, struct ips_scb *);
286 static void ipsintr_done(ips_ha_t *, struct ips_scb *);
287 static void ips_done(ips_ha_t *, ips_scb_t *);
288 static void ips_free(ips_ha_t *);
289 static void ips_init_scb(ips_ha_t *, ips_scb_t *);
290 static void ips_freescb(ips_ha_t *, ips_scb_t *);
291 static void ips_setup_funclist(ips_ha_t *);
292 static void ips_statinit(ips_ha_t *);
293 static void ips_statinit_memio(ips_ha_t *);
294 static void ips_fix_ffdc_time(ips_ha_t *, ips_scb_t *, time64_t);
295 static void ips_ffdc_reset(ips_ha_t *, int);
296 static void ips_ffdc_time(ips_ha_t *);
297 static uint32_t ips_statupd_copperhead(ips_ha_t *);
298 static uint32_t ips_statupd_copperhead_memio(ips_ha_t *);
299 static uint32_t ips_statupd_morpheus(ips_ha_t *);
300 static ips_scb_t *ips_getscb(ips_ha_t *);
315 static int ips_make_passthru(ips_ha_t *, struct scsi_cmnd *, ips_scb_t *, int);
316 static int ips_usrcmd(ips_ha_t *, ips_passthru_t *, ips_scb_t *);
317 static void ips_cleanup_passthru(ips_ha_t *, ips_scb_t *);
325 static int ips_host_info(ips_ha_t *, struct seq_file *);
326 static int ips_abort_init(ips_ha_t * ha, int index);
332 static int ips_poll_for_flush_complete(ips_ha_t * ha);
333 static void ips_flush_and_reset(ips_ha_t *ha);
340 static ips_ha_t *ips_ha[IPS_MAX_ADAPTERS]; /* Array of HA structures */
578 ips_setup_funclist(ips_ha_t * ha)
645 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;
1040 ips_ha_t *ha;
1045 ha = (ips_ha_t *) SC->device->host->hostdata;
1143 ips_ha_t *ha = (ips_ha_t *) sdev->host->hostdata;
1193 ips_ha_t *ha;
1221 ips_ha_t *ha;
1227 ha = (ips_ha_t *) dev_id;
1265 ips_intr_copperhead(ips_ha_t * ha)
1329 ips_intr_morpheus(ips_ha_t * ha)
1401 ips_ha_t *ha;
1429 ips_ha_t *ha = NULL;
1435 ha = (ips_ha_t *) ips_sh[i]->hostdata;
1451 ips_ha_t *ha = NULL;
1457 ha = (ips_ha_t *) ips_sh[i]->hostdata;
1523 ips_alloc_passthru_buffer(ips_ha_t * ha, int length)
1557 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr)
1651 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1722 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1786 ips_fill_scb_sg_single(ips_ha_t * ha, dma_addr_t busaddr,
1824 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1877 ips_free_flash_copperhead(ips_ha_t * ha)
1897 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb)
1985 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb)
2025 ips_host_info(ips_ha_t *ha, struct seq_file *m)
2143 ips_identify_controller(ips_ha_t * ha)
2228 ips_get_bios_version(ips_ha_t * ha, int intr)
2388 ips_hainit(ips_ha_t * ha)
2522 ips_next(ips_ha_t * ha, int intr)
3084 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb)
3106 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb)
3138 ips_done(ips_ha_t * ha, ips_scb_t * scb)
3244 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp)
3381 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr)
3447 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb)
3830 ips_chkstatus(ips_ha_t * ha, IPS_STATUS * pstatus)
3988 ips_online(ips_ha_t * ha, ips_scb_t * scb)
4023 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb)
4058 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb)
4088 ips_msense(ips_ha_t * ha, ips_scb_t * scb)
4179 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb)
4208 ips_free(ips_ha_t * ha)
4276 ips_deallocatescbs(ips_ha_t * ha, int cmds)
4300 ips_allocatescbs(ips_ha_t * ha)
4364 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb)
4409 ips_getscb(ips_ha_t * ha)
4441 ips_freescb(ips_ha_t * ha, ips_scb_t * scb)
4468 ips_isinit_copperhead(ips_ha_t * ha)
4494 ips_isinit_copperhead_memio(ips_ha_t * ha)
4520 ips_isinit_morpheus(ips_ha_t * ha)
4552 ips_flush_and_reset(ips_ha_t *ha)
4612 ips_poll_for_flush_complete(ips_ha_t * ha)
4639 ips_enable_int_copperhead(ips_ha_t * ha)
4656 ips_enable_int_copperhead_memio(ips_ha_t * ha)
4673 ips_enable_int_morpheus(ips_ha_t * ha)
4695 ips_init_copperhead(ips_ha_t * ha)
4788 ips_init_copperhead_memio(ips_ha_t * ha)
4882 ips_init_morpheus(ips_ha_t * ha)
4999 ips_reset_copperhead(ips_ha_t * ha)
5044 ips_reset_copperhead_memio(ips_ha_t * ha)
5089 ips_reset_morpheus(ips_ha_t * ha)
5133 ips_statinit(ips_ha_t * ha)
5164 ips_statinit_memio(ips_ha_t * ha)
5194 ips_statupd_copperhead(ips_ha_t * ha)
5222 ips_statupd_copperhead_memio(ips_ha_t * ha)
5249 ips_statupd_morpheus(ips_ha_t * ha)
5270 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb)
5324 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb)
5377 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb)
5409 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb)
5441 ips_isintr_copperhead(ips_ha_t * ha)
5474 ips_isintr_copperhead_memio(ips_ha_t * ha)
5507 ips_isintr_morpheus(ips_ha_t * ha)
5531 ips_wait(ips_ha_t * ha, int time, int intr)
5589 ips_write_driver_status(ips_ha_t * ha, int intr)
5654 ips_read_adapter_status(ips_ha_t * ha, int intr)
5697 ips_read_subsystem_parameters(ips_ha_t * ha, int intr)
5741 ips_read_config(ips_ha_t * ha, int intr)
5799 ips_readwrite_page5(ips_ha_t * ha, int write, int intr)
5849 ips_clear_adapter(ips_ha_t * ha, int intr)
5912 ips_ffdc_reset(ips_ha_t * ha, int intr)
5946 ips_ffdc_time(ips_ha_t * ha)
5981 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time64_t current_time)
6011 ips_erase_bios(ips_ha_t * ha)
6123 ips_erase_bios_memio(ips_ha_t * ha)
6235 ips_program_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6326 ips_program_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6417 ips_verify_bios(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6466 ips_verify_bios_memio(ips_ha_t * ha, char *buffer, uint32_t buffersize,
6515 ips_abort_init(ips_ha_t * ha, int index)
6534 ips_ha_t *ha_sav = ips_ha[highindex];
6654 ips_ha_t *ha, *oldha = ips_ha[index];
6655 sh = scsi_host_alloc(&ips_driver_template, sizeof (ips_ha_t));
6662 memcpy(ha, oldha, sizeof (ips_ha_t));
6831 ips_ha_t *ha;
6891 ha = kzalloc(sizeof (ips_ha_t), GFP_KERNEL);
7046 ips_ha_t *ha;