Lines Matching defs:rc
390 int rc;
393 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(64));
394 if (rc) {
395 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
396 if (rc) {
399 return rc;
403 rc = pci_set_dma_mask(pdev, DMA_BIT_MASK(32));
404 if (rc) {
407 return rc;
409 rc = pci_set_consistent_dma_mask(pdev, DMA_BIT_MASK(32));
410 if (rc) {
413 return rc;
417 return rc;
515 unsigned int rc, nhost = 0;
523 rc = pci_enable_device(pdev);
524 if (rc)
529 rc = pci_request_regions(pdev, DRV_NAME);
530 if (rc)
533 rc = pci_go_64(pdev);
534 if (rc)
539 rc = -ENOMEM;
548 rc = -ENOMEM;
552 rc = mvs_prep_sas_ha_init(shost, chip);
553 if (rc) {
555 rc = -ENOMEM;
564 rc = -ENOMEM;
571 rc = MVS_CHIP_DISP->chip_init(mvi);
572 if (rc) {
585 rc = scsi_add_host(shost, &pdev->dev);
586 if (rc)
589 rc = sas_register_ha(SHOST_TO_SAS_HA(shost));
590 if (rc)
592 rc = request_irq(pdev->irq, irq_handler, IRQF_SHARED,
594 if (rc)
612 return rc;
681 int rc;
686 rc = pci_register_driver(&mvs_pci_driver);
688 if (rc)
695 return rc;