Lines Matching defs:rc

193 	int rc, rstate;
222 rc = scsb_get_slot_state(hsp->hs_hpchandle, hsp->hs_slot_number,
224 if (rc != DDI_SUCCESS)
240 rc = HPC_SUCCESS;
248 rc = HPC_ERR_FAILED;
276 rc = HPC_SUCCESS;
290 return (rc);
465 int rc;
471 rc = scsb_get_slot_state(hsp->hs_hpchandle, hsp->hs_slot_number,
473 if (rc != DDI_SUCCESS)
739 int rc = HPC_SUCCESS;
789 rc = HPC_ERR_FAILED;
790 return (rc);
794 rc = HPC_ERR_FAILED;
795 return (rc);
811 int rc;
817 rc = scsb_reset_slot(hsp->hs_hpchandle, hsp->hs_slot_number,
819 if (rc == DDI_SUCCESS) {
825 rc = DDI_FAILURE;
826 return (rc);
832 int rc;
838 rc = scsb_reset_slot(hsp->hs_hpchandle, hsp->hs_slot_number,
840 if (rc == DDI_SUCCESS) {
846 rc = HPC_ERR_FAILED;
847 return (rc);
933 int rc = HPC_SUCCESS;
952 rc = scsb_hsc_init_slot_state(hsc, hsp);
953 if (rc != DDI_SUCCESS)
970 rc = hpc_slot_register(hsc->dip,
978 if (rc != HPC_SUCCESS) {
983 return (rc);
988 return (rc);
1029 int rc, rstate;
1033 rc = scsb_get_slot_state(hsc->scsb_handle, slot_number, &rstate);
1034 if (rc != DDI_SUCCESS)
1117 return (rc);
1159 int rc = DDI_SUCCESS;
1208 rc = hsc_slot_autoconnect(hsp);
1249 return (rc);
1346 int rc = DDI_SUCCESS;
1358 if ((rc = scsb_reset_slot(hsp->hs_hpchandle,
1366 rc = DDI_FAILURE;
1369 return (rc);
1378 int rc;
1380 rc = ddi_soft_state_init(&hsc_state, sizeof (hsc_state_t), 1);
1381 if (rc != 0)
1382 return (rc);
1475 int i, rc;
1483 rc = hpc_slot_event_notify(hsp->hs_slot_handle,
1486 if (rc == HPC_EVENT_UNCLAIMED)
1500 int rc;
1522 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
1525 if (rc != DDI_PROP_SUCCESS) {
1527 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
1530 if (rc != DDI_PROP_SUCCESS) {
1537 rc = ddi_soft_state_zalloc(hsc_state, instance);
1538 if (rc != DDI_SUCCESS)
1560 rc = ddi_getlongprop(DDI_DEV_T_ANY, dip, DDI_PROP_DONTPASS,
1563 if (rc == DDI_PROP_SUCCESS) {
1719 return (rc);
2027 int rc;
2043 rc = hpc_slot_event_notify(hsp->hs_slot_handle,
2046 if (rc == HPC_EVENT_UNCLAIMED) {
2095 * if interrupt success, rc denotes the PCI device number which
2098 hsp = hsc_get_slot_info(hsc, rc);
2102 ddi_get_instance(hsc->dip), rc);