Lines Matching refs:retvalue

185 	int  retvalue;  in _init()  local
190 retvalue = ddi_soft_state_init(&cpqary3_state, in _init()
192 VERIFY(retvalue == 0); in _init()
197 if (!(retvalue = scsi_hba_init(&cpqary3_modlinkage))) { in _init()
199 if ((retvalue = mod_install(&cpqary3_modlinkage))) { in _init()
215 return (retvalue); in _init()
230 int retvalue; in _fini() local
234 if ((retvalue = mod_remove(&cpqary3_modlinkage)) == 0) { in _fini()
243 return (retvalue); in _fini()
282 uint32_t retvalue; in cpqary3_attach() local
298 retvalue = ddi_soft_state_zalloc(cpqary3_state, instance); in cpqary3_attach()
299 VERIFY(retvalue == 0); in cpqary3_attach()
319 retvalue = cpqary3_update_ctlrdetails(cpqary3p, &cleanstatus); in cpqary3_attach()
320 if (retvalue == CPQARY3_FAILURE) { in cpqary3_attach()
351 retvalue = cpqary3_init_ctlr_resource(cpqary3p); in cpqary3_attach()
352 if (retvalue != CPQARY3_SUCCESS) { in cpqary3_attach()
755 int8_t retvalue; in cpqary3_update_ctlrdetails() local
880 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
885 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
886 if (DDI_REGS_ACC_CONFLICT == retvalue) { in cpqary3_update_ctlrdetails()
896 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
901 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
902 if (DDI_REGS_ACC_CONFLICT == retvalue) { in cpqary3_update_ctlrdetails()
911 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
916 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
917 if (DDI_REGS_ACC_CONFLICT == retvalue) { in cpqary3_update_ctlrdetails()
927 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
932 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
933 if (DDI_REGS_ACC_CONFLICT == retvalue) { in cpqary3_update_ctlrdetails()
946 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
951 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
952 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
961 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
966 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
967 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
976 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
981 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
982 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
991 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
996 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
997 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
1011 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
1016 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
1017 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
1026 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
1031 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
1032 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
1074 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
1079 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
1080 if (retvalue == DDI_REGS_ACC_CONFLICT) { in cpqary3_update_ctlrdetails()
1091 retvalue = ddi_regs_map_setup(cpqary3p->dip, in cpqary3_update_ctlrdetails()
1098 if (retvalue != DDI_SUCCESS) { in cpqary3_update_ctlrdetails()
1099 if (retvalue == DDI_REGS_ACC_CONFLICT) in cpqary3_update_ctlrdetails()