Lines Matching defs:rc
237 int rc;
245 rc = pci_enable_device(dev);
246 if (rc)
247 return rc;
252 for (rc = 0; rc < fm->num_sockets; rc++)
253 new_ids[rc] = tifm_7xx1_toggle_sock_power(
254 tifm_7xx1_sock_addr(fm->addr, rc));
256 for (rc = 0; rc < fm->num_sockets; rc++) {
257 if (fm->sockets[rc]) {
258 if (fm->sockets[rc]->type == new_ids[rc])
259 good_sockets |= 1 << rc;
261 bad_sockets |= 1 << rc;
274 rc = wait_for_completion_timeout(&finish_resume, HZ);
275 dev_dbg(&dev->dev, "wait returned %d\n", rc);
325 int rc;
327 rc = pci_set_dma_mask(dev, DMA_BIT_MASK(32));
328 if (rc)
329 return rc;
331 rc = pci_enable_device(dev);
332 if (rc)
333 return rc;
337 rc = pci_request_regions(dev, DRIVER_NAME);
338 if (rc) {
348 rc = -ENOMEM;
361 rc = request_irq(dev->irq, tifm_7xx1_isr, IRQF_SHARED, DRIVER_NAME, fm);
362 if (rc)
365 rc = tifm_add_adapter(fm);
366 if (rc)
388 return rc;