Lines Matching refs:rc
319 int rc;
363 rc = sghsc_scctl(SGHSC_GET_NUM_SLOTS, sghsc->sghsc_node_id,
366 if (rc) {
379 rc = 0;
382 rc = -1;
386 if (rc) {
393 rc = sghsc_scctl(SGHSC_GET_CPCI_BOARD_TYPE, sghsc->sghsc_node_id,
435 rc = sbbc_mbox_reg_intr(MBOX_EVENT_CPCI_ENUM,
439 if (rc != 0)
736 int rc;
770 rc = sghsc_scctl(SGHSC_GET_SLOT_STATUS, sghsc->sghsc_node_id,
773 if (rc == ETIMEDOUT) {
778 if (rc) {
794 rc = sghsc_scctl(SGHSC_SET_SLOT_POWER_ON, sghsc->sghsc_node_id,
796 if (rc) {
826 int rc;
851 rc = sghsc_scctl(SGHSC_SET_SLOT_POWER_OFF, sghsc->sghsc_node_id,
853 if (rc) {
884 int rc;
970 rc = sghsc_scctl(SGHSC_GET_SLOT_STATUS, sghsc->sghsc_node_id,
973 if (rc == ETIMEDOUT) {
978 if (rc) {
1091 rc = sghsc_scctl(SGHSC_SET_ENUM_CLEARED, sghsc->sghsc_node_id,
1094 if (rc)
1598 int rc;
1639 rc = sghsc_connect((caddr_t)sghsc, sloth,
1641 if (rc != HPC_SUCCESS)
1654 rc = hpc_slot_event_notify(sloth, HPC_EVENT_CLEAR_ENUM,
1657 if (rc == HPC_EVENT_UNCLAIMED) {
1663 rc = sghsc_scctl(SGHSC_SET_ENUM_CLEARED,
1666 if (rc) {
1675 rc = hpc_slot_event_notify(sloth,
1678 if (rc == HPC_EVENT_UNCLAIMED) {