/titanic_44/usr/src/uts/common/io/cpqary3/ |
H A D | cpqary3_util.c | 103 cpqary3_t *ctlr; in cpqary3_tick_hdlr() local 118 if (NULL == (ctlr = (cpqary3_t *)arg)) in cpqary3_tick_hdlr() 121 ctp = (CfgTable_t *)ctlr->ct; in cpqary3_tick_hdlr() 124 if (ctlr->heartbeat == DDI_GET32(ctlr, &ctp->HeartBeat)) { in cpqary3_tick_hdlr() 125 if (ctlr->lockup_logged == CPQARY3_FALSE) { in cpqary3_tick_hdlr() 127 "%s HBA firmware Locked !!!", ctlr->hba_name); in cpqary3_tick_hdlr() 130 cpqary3_intr_onoff(ctlr, CPQARY3_INTR_DISABLE); in cpqary3_tick_hdlr() 131 if (ctlr->host_support & 0x4) in cpqary3_tick_hdlr() 132 cpqary3_lockup_intr_onoff(ctlr, in cpqary3_tick_hdlr() 134 ctlr->controller_lockup = CPQARY3_TRUE; in cpqary3_tick_hdlr() [all …]
|
H A D | cpqary3_transport.c | 62 cpqary3_init_hbatran(cpqary3_t *ctlr) in cpqary3_init_hbatran() argument 66 ASSERT(ctlr != NULL); in cpqary3_init_hbatran() 68 hba_tran = ctlr->hba_tran; in cpqary3_init_hbatran() 75 hba_tran->tran_hba_private = (void *)ctlr; in cpqary3_init_hbatran() 117 cpqary3_t *ctlr; in cpqary3_tgt_init() local 119 ctlr = (cpqary3_t *)hba_tran->tran_hba_private; in cpqary3_tgt_init() 124 if ((CPQARY3_SUCCESS == cpqary3_probe4targets(ctlr)) && in cpqary3_tgt_init() 125 (ctlr->num_of_targets > 0)) { in cpqary3_tgt_init() 126 (void) cpqary3_detect_target_geometry(ctlr); in cpqary3_tgt_init() 139 cpqary3_t *, ctlr, uint32_t, tid); in cpqary3_tgt_init() [all …]
|
H A D | cpqary3_noe.c | 109 cpqary3_send_NOE_command(cpqary3_t *ctlr, cpqary3_cmdpvt_t *memp, uint8_t flag) in cpqary3_send_NOE_command() argument 122 RETURN_FAILURE_IF_NULL(ctlr); in cpqary3_send_NOE_command() 153 databuf = (NoeBuffer *)cpqary3_alloc_phyctgs_mem(ctlr, in cpqary3_send_NOE_command() 160 if (NULL == (memp = cpqary3_cmdlist_occupy(ctlr))) { in cpqary3_send_NOE_command() 201 mutex_enter(&ctlr->hw_mutex); in cpqary3_send_NOE_command() 202 rv = cpqary3_submit(ctlr, memp->cmdlist_phyaddr); in cpqary3_send_NOE_command() 203 mutex_exit(&ctlr->hw_mutex); in cpqary3_send_NOE_command() 224 cpqary3_disable_NOE_command(cpqary3_t *ctlr) in cpqary3_disable_NOE_command() argument 230 RETURN_FAILURE_IF_NULL(ctlr); in cpqary3_disable_NOE_command() 241 if (NULL == (memp = cpqary3_cmdlist_occupy(ctlr))) { in cpqary3_disable_NOE_command() [all …]
|
H A D | cpqary3_mem.c | 146 ptr->ctlr = cpqary3p; in cpqary3_meminit() 331 cpqary3_cmdlist_occupy(cpqary3_t *ctlr) in cpqary3_cmdlist_occupy() argument 336 RETURN_NULL_IF_NULL(ctlr); in cpqary3_cmdlist_occupy() 337 memlistp = ctlr->cmdmemlistp; in cpqary3_cmdlist_occupy() 346 mutex_enter(&ctlr->sw_mutex); in cpqary3_cmdlist_occupy() 349 mutex_exit(&ctlr->sw_mutex); in cpqary3_cmdlist_occupy() 367 mutex_exit(&ctlr->sw_mutex); in cpqary3_cmdlist_occupy() 400 (cpqary3_cmdmemlist_t *)((cpqary3_t *)memp->ctlr)->cmdmemlistp; in cpqary3_cmdlist_release() 403 mutex_enter(&memp->ctlr->sw_mutex); in cpqary3_cmdlist_release() 422 mutex_exit(&memp->ctlr->sw_mutex); in cpqary3_cmdlist_release() [all …]
|
H A D | cpqary3.h | 146 #define CTLR2MEMLISTP(ctlr) ((cpqary3_cmdmemlist_t *)ctlr->cmdmemlistp) argument 149 #define TAG2MEM(ctlr, tag) \ argument 150 ((cpqary3_cmdpvt_t *)(CTLR2MEMLISTP(ctlr)->pool[tag])) 168 #define DDI_GET8(ctlr, regp) \ argument 169 ddi_get8((ctlr)->ct_handle, (uint8_t *)(regp)) 170 #define DDI_PUT8(ctlr, regp, value) \ argument 171 ddi_put8((ctlr)->ct_handle, (uint8_t *)(regp), (value)) 172 #define DDI_GET16(ctlr, regp) \ argument 173 ddi_get16((ctlr)->ct_handle, (uint16_t *)(regp)) 174 #define DDI_PUT16(ctlr, regp, value) \ argument [all …]
|
H A D | cpqary3_q_mem.h | 76 struct cpqary3_per_controller *ctlr; /* to its controller */ member
|
H A D | cpqary3_scsi.c | 82 if (NULL == (cpqary3p = cpqary3_cmdpvtp->ctlr)) in cpqary3_build_cmdlist() 759 cpqary3p = cpqary3_cmdpvtp->ctlr; in cpqary3_synccmd_complete()
|
/titanic_44/usr/src/cmd/format/ |
H A D | format.dat | 35 : ctlr = SCSI : fmt_time = 1 \ 41 # : ctlr = SCSI : fmt_time = 4 \ 50 # : ctlr = SCSI : fmt_time = 4 \ 59 : ctlr = SCSI : fmt_time = 1 \ 65 : ctlr = SCSI : fmt_time = 4 \ 71 : ctlr = SCSI : fmt_time = 1 \ 77 : ctlr = SCSI \ 83 : ctlr = SCSI : fmt_time = 4 \ 89 : ctlr = SCSI : fmt_time = 2 \ 95 : ctlr = SCSI : fmt_time = 4 \ [all …]
|
H A D | auto_sense.c | 257 struct ctlr_info *ctlr; in auto_efi_sense() local 268 ctlr = find_direct_ctlr_info(&dkinfo); in auto_efi_sense() 271 ctlr = find_vbd_ctlr_info(&dkinfo); in auto_efi_sense() 274 ctlr = find_scsi_ctlr_info(&dkinfo); in auto_efi_sense() 326 assert(disk_info->disk_ctlr == ctlr); in auto_efi_sense() 327 dp = ctlr->ctlr_ctype->ctype_dlist; in auto_efi_sense() 329 ctlr->ctlr_ctype->ctype_dlist = dp; in auto_efi_sense() 422 struct ctlr_info *ctlr; in find_direct_ctlr_info() local 427 for (ctlr = ctlr_list; ctlr != NULL; ctlr = ctlr->ctlr_next) { in find_direct_ctlr_info() 428 if (ctlr->ctlr_addr == dkinfo->dki_addr && in find_direct_ctlr_info() [all …]
|
H A D | io.c | 2071 pr_ctlrline(ctlr) in pr_ctlrline() argument 2072 register struct ctlr_info *ctlr; in pr_ctlrline() 2076 ctlr->ctlr_cname, ctlr->ctlr_num, 2077 space2str(ctlr->ctlr_space), ctlr->ctlr_addr); 2078 if (ctlr->ctlr_vec != 0) 2079 fmt_print("vec 0x%x ", ctlr->ctlr_vec); 2081 fmt_print("pri %d ", ctlr->ctlr_prio); 2096 struct ctlr_info *ctlr = disk->disk_ctlr; local 2126 ctlr->ctlr_dname, disk->disk_dkinfo.dki_unit, 2127 ctlr->ctlr_cname, ctlr->ctlr_num, [all …]
|
H A D | startup.c | 937 TOKEN token, cleaned, disk, ctlr, ident; in sup_setpart() local 1039 (void) strcpy(ctlr, cleaned); in sup_setpart() 1067 ctlr) == 0) in sup_setpart() 1076 if (strcmp(other_ctlrs[i], ctlr) == 0) { in sup_setpart() 1083 "Unknown controller '%s'", ctlr); in sup_setpart() 1593 struct ctlr_type *ctlr, *tctlr; in add_device_to_disklist() local 1902 ctlr = search_ctlr->ctlr_ctype; in add_device_to_disklist() 1903 if ((status == -1) && (ctlr->ctype_ctype == DKC_SCSI_CCS)) { in add_device_to_disklist()
|
/titanic_44/usr/src/uts/common/sys/ |
H A D | pci_tools.h | 163 uint8_t ctlr; /* controller number - from kernel */ member
|
/titanic_44/usr/src/cmd/luxadm/ |
H A D | g_adm.c | 1135 Ctlr_elem_st ctlr; in ib_present_chk() local 1145 (void *)&ctlr, sizeof (ctlr)); in ib_present_chk() 1146 if (ctlr.code == S_NOT_INSTALLED) { in ib_present_chk() 4823 ib_decode(Ctlr_elem_st *ctlr) in ib_decode() argument 4825 if (ctlr->overtemp_alart) { in ib_decode() 4829 if (ctlr->ib_loop_1_fail) { in ib_decode() 4833 if (ctlr->ib_loop_0_fail) { in ib_decode() 5091 Ctlr_elem_st ctlr; in ctlr_messages() local 5103 (void *)&ctlr, sizeof (ctlr)); in ctlr_messages() 5110 if (ctlr.code == S_OK) { in ctlr_messages() [all …]
|
/titanic_44/usr/src/uts/common/io/ |
H A D | fdc.c | 494 int cntlr_num, ctlr, unit; in fdc_attach() local 519 ctlr = ddi_get_instance(dip); in fdc_attach() 520 if (ddi_soft_state_zalloc(fdc_state_head, ctlr) != 0) in fdc_attach() 522 fcp = ddi_get_soft_state(fdc_state_head, ctlr); in fdc_attach() 570 (void) sprintf(name, "fdc%d", ctlr); in fdc_attach() 571 fcp->c_intrstat = kstat_create("fdc", ctlr, name, in fdc_attach() 1614 int ctlr = ddi_get_instance(dip); in fdc_quiesce() local 1617 fcp = ddi_get_soft_state(fdc_state_head, ctlr); in fdc_quiesce()
|
/titanic_44/usr/src/lib/storage/liba5k/common/ |
H A D | mon.c | 3120 Ctlr_elem_st ctlr; in l_get_port() local 3131 bzero(&ctlr, sizeof (ctlr)); in l_get_port() 3142 (void *)&ctlr, sizeof (ctlr)); in l_get_port() 3147 *port_a = ctlr.report; in l_get_port() 3149 ctlr.report ? "A" : "B"); in l_get_port()
|
/titanic_44/usr/src/uts/common/io/sata/adapters/nv_sata/ |
H A D | nv_sata.c | 1047 int ctlr, port; in nv_ioctl() local 1080 ctlr = SGP_DRV_TO_CTLR(led.led_number); in nv_ioctl() 1081 if ((ctlr != 0) && (ctlr != 1)) in nv_ioctl() 1134 ctlr = SGP_DRV_TO_CTLR(led.led_number); in nv_ioctl() 1135 if ((ctlr != 0) && (ctlr != 1)) in nv_ioctl()
|
/titanic_44/usr/src/uts/sun4u/io/pci/ |
H A D | pci_tools.c | 386 iget->ctlr = 0; in pcitool_get_intr()
|
/titanic_44/usr/src/uts/sun/io/ |
H A D | fd.c | 5636 int ctlr = FDCTLR(dev); in fd_getctlr() local 5639 if (ddi_get_instance(fdc->c_dip) == ctlr) in fd_getctlr()
|