Lines Matching defs:rc
284 int rc;
303 if ((rc = i2o_msg_post_wait(c, msg, 240)))
304 osm_info("%s: Unable to quiesce (status=%#x).\n", c->name, -rc);
310 return rc;
325 int rc;
343 if ((rc = i2o_msg_post_wait(c, msg, 240)))
344 osm_err("%s: Could not enable (status=%#x).\n", c->name, -rc);
350 return rc;
395 int rc;
409 if ((rc = i2o_msg_post_wait(c, msg, 30)))
410 osm_info("%s: Unable to clear (status=%#x).\n", c->name, -rc);
417 return rc;
496 int rc = 0;
534 rc = -EPERM;
552 rc = PTR_ERR(msg);
575 rc = -ETIMEDOUT;
583 return rc;
598 int rc;
604 rc = i2o_status_get(c);
605 if (rc) {
608 rc = i2o_iop_reset(c);
609 if (rc)
610 return rc;
629 rc = i2o_iop_reset(c);
630 if (rc)
631 return rc;
637 rc = i2o_iop_init_outbound_queue(c);
638 if (rc)
639 return rc;
669 int rc;
746 rc = i2o_msg_post_wait(c, msg, 120);
751 if (rc < 0)
753 -rc);
757 return rc;
770 int rc;
772 rc = i2o_iop_systab_set(c);
773 if (rc)
774 return rc;
778 rc = i2o_iop_enable(c);
779 if (rc)
780 return rc;
977 int rc;
997 rc = i2o_msg_post_wait_mem(c, msg, 20, &c->hrt);
999 if (rc < 0) {
1001 -rc);
1002 return rc;
1098 int rc;
1100 if ((rc = device_add(&c->device))) {
1109 if ((rc = i2o_iop_activate(c))) {
1116 if ((rc = i2o_systab_build()))
1121 if ((rc = i2o_iop_online(c)))
1126 if ((rc = i2o_exec_lct_get(c)))
1143 return rc;
1192 int rc = 0;
1196 if ((rc = i2o_driver_init()))
1199 if ((rc = i2o_exec_init()))
1202 if ((rc = i2o_pci_init()))
1214 return rc;