• Home
  • Raw
  • Download

Lines Matching refs:rv

203 	int rv = -ENODEV;  in csio_pci_init()  local
232 return rv; in csio_pci_init()
272 int rv; in csio_create_queues() local
279 rv = csio_wr_iq_create(hw, NULL, hw->intr_iq_idx, in csio_create_queues()
281 if (rv != 0) { in csio_create_queues()
282 csio_err(hw, " Forward Interrupt IQ failed!: %d\n", rv); in csio_create_queues()
283 return rv; in csio_create_queues()
288 rv = csio_wr_iq_create(hw, NULL, hw->fwevt_iq_idx, in csio_create_queues()
291 if (rv != 0) { in csio_create_queues()
292 csio_err(hw, "FW event IQ config failed!: %d\n", rv); in csio_create_queues()
293 return rv; in csio_create_queues()
297 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
300 if (rv != 0) { in csio_create_queues()
301 csio_err(hw, "Mgmt EQ create failed!: %d\n", rv); in csio_create_queues()
312 rv = csio_wr_iq_create(hw, NULL, sqset->iq_idx, in csio_create_queues()
314 if (rv != 0) { in csio_create_queues()
317 i, j, rv); in csio_create_queues()
320 rv = csio_wr_eq_create(hw, NULL, sqset->eq_idx, in csio_create_queues()
322 if (rv != 0) { in csio_create_queues()
325 i, j, rv); in csio_create_queues()
348 int rv; in csio_config_queues() local
452 rv = csio_create_queues(hw); in csio_config_queues()
453 if (rv != 0) in csio_config_queues()
460 rv = csio_request_irqs(hw); in csio_config_queues()
461 if (rv != 0) in csio_config_queues()
476 int rv = -ENOMEM; in csio_resource_alloc() local
505 return rv; in csio_resource_alloc()
952 int rv; in csio_probe_one() local
958 rv = csio_pci_init(pdev, &bars); in csio_probe_one()
959 if (rv) in csio_probe_one()
964 rv = -ENODEV; in csio_probe_one()
985 rv = -ENODEV; in csio_probe_one()
993 rv = -ENODEV; in csio_probe_one()
996 if (rv) in csio_probe_one()
1002 if (rv) in csio_probe_one()
1019 dev_err(&pdev->dev, "probe of device failed: %d\n", rv); in csio_probe_one()
1020 return rv; in csio_probe_one()
1125 int rv = 0; in csio_pci_resume() local
1133 rv = -ENODEV; in csio_pci_resume()
1141 rv = -ENODEV; in csio_pci_resume()
1144 if (rv) in csio_pci_resume()
1150 if (rv) in csio_pci_resume()
1163 dev_err(&pdev->dev, "resume of device failed: %d\n", rv); in csio_pci_resume()
1238 int rv = -ENOMEM; in csio_init() local
1253 rv = pci_register_driver(&csio_pci_driver); in csio_init()
1254 if (rv) in csio_init()
1265 return rv; in csio_init()