Lines Matching defs:error
1160 int i, error = 0;
1168 error = request_irq(bfad->msix_tab[i].msix.vector,
1173 if (error) {
1196 int error;
1211 error = pci_enable_msix_exact(bfad->pcidev,
1214 if (error == -ENOSPC && bfa_asic_id_ctc(pdev->device)) {
1217 bfad->pci_name, bfad->nvec, error);
1219 error = pci_enable_msix_exact(bfad->pcidev,
1223 if (error) {
1227 bfad->inst_no, error);
1252 error = request_irq(bfad->pcidev->irq, (irq_handler_t)bfad_intx,
1254 if (error)
1255 return error;
1286 int error = -ENODEV, retval, i;
1295 error = -ENOMEM;
1302 error = -ENOMEM;
1324 error = retval;
1377 return error;
1424 * PCI Error Recovery entry, error detected.
1434 "error detected state: %d - flags: 0x%x\n",
1438 case pci_channel_io_normal: /* non-fatal error */
1447 case pci_channel_io_frozen: /* fatal error */
1540 * be 0xff any time) to make sure - we did not hit another PCI error
1546 "slot_reset failed ... got another PCI error !\n");
1663 * PCI error recovery handlers.
1686 int error = 0;
1694 error = bfad_im_module_init();
1695 if (error) {
1696 error = -ENOMEM;
1708 error = pci_register_driver(&bfad_pci_driver);
1709 if (error) {
1718 return error;