Searched refs:cpqary3_t (Results 1 – 10 of 10) sorted by relevance
/titanic_41/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3.h | 132 #define SA2CTLR(saddr) ((cpqary3_t *)((saddr)->a_hba_tran->tran_hba_private)) 140 ((cpqary3_t *)sd->sd_address.a_hba_tran->tran_hba_private) 381 } cpqary3_t; typedef 453 void cpqary3_init_hbatran(cpqary3_t *); 454 void cpqary3_read_conf_file(dev_info_t *, cpqary3_t *); 456 void cpqary3_flush_cache(cpqary3_t *); 457 void cpqary3_intr_onoff(cpqary3_t *, uint8_t); 458 void cpqary3_lockup_intr_onoff(cpqary3_t *, uint8_t); 459 uint8_t cpqary3_disable_NOE_command(cpqary3_t *); 460 uint8_t cpqary3_send_NOE_command(cpqary3_t *, cpqary3_cmdpvt_t *, uint8_t); [all …]
|
H A D | cpqary3_transport.c | 31 static int cpqary3_dma_alloc(cpqary3_t *, struct scsi_pkt *, 33 static int cpqary3_dma_move(struct scsi_pkt *, struct buf *, cpqary3_t *); 35 static int cpqary3_poll(cpqary3_t *, uint32_t); 42 static int cpqary3_additional_cmd(struct scsi_pkt *scsi_pktp, cpqary3_t *); 62 cpqary3_init_hbatran(cpqary3_t *ctlr) in cpqary3_init_hbatran() 117 cpqary3_t *ctlr; in cpqary3_tgt_init() 119 ctlr = (cpqary3_t *)hba_tran->tran_hba_private; in cpqary3_tgt_init() 123 extern int8_t cpqary3_detect_target_geometry(cpqary3_t *); in cpqary3_tgt_init() 139 cpqary3_t *, ctlr, uint32_t, tid); in cpqary3_tgt_init() 191 extern int8_t cpqary3_detect_target_geometry(cpqary3_t *); in cpqary3_tgt_probe() [all …]
|
H A D | cpqary3_talk2ctlr.c | 29 uint8_t cpqary3_check_simple_ctlr_intr(cpqary3_t *cpqary3p); 30 uint8_t cpqary3_check_perf_ctlr_intr(cpqary3_t *cpqary3p); 31 uint8_t cpqary3_check_perf_e200_intr(cpqary3_t *cpqary3p); 32 uint8_t cpqary3_check_ctlr_init(cpqary3_t *); 44 cpqary3_check_simple_ctlr_intr(cpqary3_t *cpqary3p) in cpqary3_check_simple_ctlr_intr() 73 cpqary3_check_perf_ctlr_intr(cpqary3_t *cpqary3p) in cpqary3_check_perf_ctlr_intr() 99 cpqary3_check_perf_e200_intr(cpqary3_t *cpqary3p) in cpqary3_check_perf_e200_intr() 128 cpqary3_retrieve(cpqary3_t *cpqary3p) in cpqary3_retrieve() 201 cpqary3_poll_retrieve(cpqary3_t *cpqary3p, uint32_t poll_tag) in cpqary3_poll_retrieve() 288 cpqary3_submit(cpqary3_t *cpqary3p, uint32_t cmd_phyaddr) in cpqary3_submit() [all …]
|
H A D | cpqary3_util.c | 24 int8_t cpqary3_detect_target_geometry(cpqary3_t *); 35 cpqary3_read_conf_file(dev_info_t *dip, cpqary3_t *cpqary3p) in cpqary3_read_conf_file() 103 cpqary3_t *ctlr; in cpqary3_tick_hdlr() 118 if (NULL == (ctlr = (cpqary3_t *)arg)) in cpqary3_tick_hdlr() 204 cpqary3_init_ctlr_resource(cpqary3_t *ctlr) in cpqary3_init_ctlr_resource() 293 cpqary3_t *ctlr = SA2CTLR(sa); in cpqary3_target_geometry() 317 cpqary3_synccmd_alloc(cpqary3_t *cpqary3p, size_t bufsz) in cpqary3_synccmd_alloc() 429 cpqary3_synccmd_free(cpqary3_t *cpqary3p, cpqary3_cmdpvt_t *memp) in cpqary3_synccmd_free() 495 cpqary3_synccmd_send(cpqary3_t *cpqary3p, cpqary3_cmdpvt_t *memp, in cpqary3_synccmd_send() 588 cpqary3_detect_target_geometry(cpqary3_t *ctlr) in cpqary3_detect_target_geometry()
|
H A D | cpqary3.c | 30 static void cpqary3_cleanup(cpqary3_t *, uint32_t); 31 static uint8_t cpqary3_update_ctlrdetails(cpqary3_t *, uint32_t *); 32 int8_t cpqary3_detect_target_geometry(cpqary3_t *); 191 sizeof (cpqary3_t), MAX_CTLRS); in _init() 284 cpqary3_t *cpqary3p; /* per-controller */ in cpqary3_attach() 490 cpqary3_t *cpqary3p; in cpqary3_detach() 504 cpqary3p = (cpqary3_t *)hba_tran->tran_hba_private; in cpqary3_detach() 532 cpqary3_t *cpqary3p; in cpqary3_ioctl() 558 cpqary3p = (cpqary3_t *)ddi_get_soft_state(cpqary3_state, instance); in cpqary3_ioctl() 616 cpqary3_cleanup(cpqary3_t *cpqary3p, uint32_t status) in cpqary3_cleanup() [all …]
|
H A D | cpqary3_scsi.c | 25 static uint8_t cpqary3_probe4LVs(cpqary3_t *); 26 static uint8_t cpqary3_probe4Tapes(cpqary3_t *); 41 cpqary3_probe4targets(cpqary3_t *cpqary3p) in cpqary3_probe4targets() 75 cpqary3_t *cpqary3p; in cpqary3_build_cmdlist() 180 cpqary3_send_abortcmd(cpqary3_t *cpqary3p, uint16_t target_id, in cpqary3_send_abortcmd() 287 cpqary3_flush_cache(cpqary3_t *cpqary3p) in cpqary3_flush_cache() 352 cpqary3_probe4LVs(cpqary3_t *cpqary3p) in cpqary3_probe4LVs() 594 cpqary3_probe4Tapes(cpqary3_t *cpqary3p) in cpqary3_probe4Tapes() 750 cpqary3_t *cpqary3p; in cpqary3_synccmd_complete()
|
H A D | cpqary3_noe.c | 31 uint8_t cpqary3_disable_NOE_command(cpqary3_t *); 109 cpqary3_send_NOE_command(cpqary3_t *ctlr, cpqary3_cmdpvt_t *memp, uint8_t flag) in cpqary3_send_NOE_command() 224 cpqary3_disable_NOE_command(cpqary3_t *ctlr) in cpqary3_disable_NOE_command() 289 cpqary3_t *ctlr; in cpqary3_NOE_handler() 300 ctlr = (cpqary3_t *)memp->ctlr; in cpqary3_NOE_handler()
|
H A D | cpqary3_ioctl.c | 30 static int32_t cpqary3_ioctl_send_bmiccmd(cpqary3_t *, cpqary3_bmic_pass_t *, 34 static int32_t cpqary3_ioctl_send_scsicmd(cpqary3_t *, cpqary3_scsi_pass_t *, 136 cpqary3_ioctl_ctlr_info(uintptr_t ioctl_reqp, cpqary3_t *cpqary3p, int mode) in cpqary3_ioctl_ctlr_info() 226 cpqary3_ioctl_bmic_pass(uintptr_t ioctl_reqp, cpqary3_t *cpqary3p, int mode) in cpqary3_ioctl_bmic_pass() 320 cpqary3_ioctl_send_bmiccmd(cpqary3_t *cpqary3p, in cpqary3_ioctl_send_bmiccmd() 499 cpqary3_ioctl_scsi_pass(uintptr_t ioctl_reqp, cpqary3_t *cpqary3p, int mode) in cpqary3_ioctl_scsi_pass() 589 cpqary3_ioctl_send_scsicmd(cpqary3_t *cpqary3p, in cpqary3_ioctl_send_scsicmd()
|
H A D | cpqary3_mem.c | 60 cpqary3_meminit(cpqary3_t *cpqary3p) in cpqary3_meminit() 331 cpqary3_cmdlist_occupy(cpqary3_t *ctlr) in cpqary3_cmdlist_occupy() 400 (cpqary3_cmdmemlist_t *)((cpqary3_t *)memp->ctlr)->cmdmemlistp; in cpqary3_cmdlist_release() 437 cpqary3_memfini(cpqary3_t *ctlr, uint8_t level) in cpqary3_memfini() 510 cpqary3_alloc_phyctgs_mem(cpqary3_t *ctlr, size_t size_mempool, in cpqary3_alloc_phyctgs_mem()
|
H A D | cpqary3_isr.c | 37 cpqary3_t *cpqary3p; in cpqary3_hw_isr() 165 cpqary3_t *cpqary3p; in cpqary3_sw_isr()
|