Lines Matching defs:rc
86 int rc = -ENODEV;
89 rc = drv->probe(card);
90 if (!rc)
93 return rc;
227 int rc = -ENXIO;
230 (*mrq)->error = rc;
236 rc = host->card->next_request(host->card, mrq);
238 if (!rc)
243 return rc;
423 int rc = host->set_param(host, MEMSTICK_POWER, MEMSTICK_POWER_ON);
425 if (!rc)
426 rc = host->set_param(host, MEMSTICK_INTERFACE, MEMSTICK_SERIAL);
428 return rc;
511 int rc;
517 rc = idr_get_new(&memstick_host_idr, host, &host->id);
519 if (rc)
520 return rc;
524 rc = device_add(&host->dev);
525 if (rc) {
529 return rc;
588 int rc = 0;
592 rc = memstick_power_on(host);
595 if (!rc)
617 int rc;
623 rc = bus_register(&memstick_bus_type);
624 if (!rc)
625 rc = class_register(&memstick_host_class);
627 if (!rc)
633 return rc;