Lines Matching refs:ips_scb_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 *);
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 *);
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 *);
291 static void ips_done(ips_ha_t *, ips_scb_t *);
293 static void ips_init_scb(ips_ha_t *, ips_scb_t *);
294 static void ips_freescb(ips_ha_t *, ips_scb_t *);
298 static void ips_fix_ffdc_time(ips_ha_t *, ips_scb_t *, time64_t);
304 static ips_scb_t *ips_getscb(ips_ha_t *);
305 static void ips_putq_scb_head(ips_scb_queue_t *, ips_scb_t *);
309 static ips_scb_t *ips_removeq_scb_head(ips_scb_queue_t *);
310 static ips_scb_t *ips_removeq_scb(ips_scb_queue_t *, ips_scb_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 *);
647 ips_scb_t *scb; in ips_release()
718 ips_scb_t *scb; in ips_halt()
837 ips_scb_t *scb; in __ips_eh_reset()
1272 ips_scb_t *scb; in ips_intr_copperhead()
1310 scb = (ips_scb_t *) sp->scb_addr; in ips_intr_copperhead()
1336 ips_scb_t *scb; in ips_intr_morpheus()
1380 scb = (ips_scb_t *) sp->scb_addr; in ips_intr_morpheus()
1561 ips_make_passthru(ips_ha_t *ha, struct scsi_cmnd *SC, ips_scb_t *scb, int intr) in ips_make_passthru()
1655 ips_flash_copperhead(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_flash_copperhead()
1726 ips_flash_bios(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_flash_bios()
1791 ips_scb_t * scb, int indx, unsigned int e_len) in ips_fill_scb_sg_single()
1828 ips_flash_firmware(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_flash_firmware()
1901 ips_usrcmd(ips_ha_t * ha, ips_passthru_t * pt, ips_scb_t * scb) in ips_usrcmd()
1989 ips_cleanup_passthru(ips_ha_t * ha, ips_scb_t * scb) in ips_cleanup_passthru()
2234 ips_scb_t *scb; in ips_get_bios_version()
2528 ips_scb_t *scb; in ips_next()
2757 ips_putq_scb_head(ips_scb_queue_t * queue, ips_scb_t * item) in ips_putq_scb_head()
2784 static ips_scb_t *
2787 ips_scb_t *item; in ips_removeq_scb_head()
2819 static ips_scb_t *
2820 ips_removeq_scb(ips_scb_queue_t * queue, ips_scb_t * item) in ips_removeq_scb()
2822 ips_scb_t *p; in ips_removeq_scb()
3088 ipsintr_blocking(ips_ha_t * ha, ips_scb_t * scb) in ipsintr_blocking()
3110 ipsintr_done(ips_ha_t * ha, ips_scb_t * scb) in ipsintr_done()
3142 ips_done(ips_ha_t * ha, ips_scb_t * scb) in ips_done()
3248 ips_map_status(ips_ha_t * ha, ips_scb_t * scb, ips_stat_t * sp) in ips_map_status()
3387 ips_send_wait(ips_ha_t * ha, ips_scb_t * scb, int timeout, int intr) in ips_send_wait()
3453 ips_send_cmd(ips_ha_t * ha, ips_scb_t * scb) in ips_send_cmd()
3836 ips_scb_t *scb; in ips_chkstatus()
3992 ips_online(ips_ha_t * ha, ips_scb_t * scb) in ips_online()
4027 ips_inquiry(ips_ha_t * ha, ips_scb_t * scb) in ips_inquiry()
4062 ips_rdcap(ips_ha_t * ha, ips_scb_t * scb) in ips_rdcap()
4092 ips_msense(ips_ha_t * ha, ips_scb_t * scb) in ips_msense()
4183 ips_reqsen(ips_ha_t * ha, ips_scb_t * scb) in ips_reqsen()
4287 dma_free_coherent(&ha->pcidev->dev, sizeof (ips_scb_t) * cmds, in ips_deallocatescbs()
4306 ips_scb_t *scb_p; in ips_allocatescbs()
4315 ha->max_cmds * sizeof (ips_scb_t), in ips_allocatescbs()
4324 ha->max_cmds * sizeof (ips_scb_t), ha->scbs, in ips_allocatescbs()
4329 memset(ha->scbs, 0, ha->max_cmds * sizeof (ips_scb_t)); in ips_allocatescbs()
4333 scb_p->scb_busaddr = command_dma + sizeof (ips_scb_t) * i; in ips_allocatescbs()
4368 ips_init_scb(ips_ha_t * ha, ips_scb_t * scb) in ips_init_scb()
4381 memset(scb, 0, sizeof (ips_scb_t)); in ips_init_scb()
4412 static ips_scb_t *
4415 ips_scb_t *scb; in ips_getscb()
4445 ips_freescb(ips_ha_t * ha, ips_scb_t * scb) in ips_freescb()
4558 ips_scb_t *scb; in ips_flush_and_reset()
4565 scb = dma_alloc_coherent(&ha->pcidev->dev, sizeof(ips_scb_t), in ips_flush_and_reset()
4568 memset(scb, 0, sizeof(ips_scb_t)); in ips_flush_and_reset()
4601 dma_free_coherent(&ha->pcidev->dev, sizeof(ips_scb_t), scb, command_dma); in ips_flush_and_reset()
5274 ips_issue_copperhead(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_copperhead()
5328 ips_issue_copperhead_memio(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_copperhead_memio()
5381 ips_issue_i2o(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_i2o()
5413 ips_issue_i2o_memio(ips_ha_t * ha, ips_scb_t * scb) in ips_issue_i2o_memio()
5660 ips_scb_t *scb; in ips_read_adapter_status()
5703 ips_scb_t *scb; in ips_read_subsystem_parameters()
5747 ips_scb_t *scb; in ips_read_config()
5805 ips_scb_t *scb; in ips_readwrite_page5()
5855 ips_scb_t *scb; in ips_clear_adapter()
5918 ips_scb_t *scb; in ips_ffdc_reset()
5952 ips_scb_t *scb; in ips_ffdc_time()
5985 ips_fix_ffdc_time(ips_ha_t * ha, ips_scb_t * scb, time64_t current_time) in ips_fix_ffdc_time()