• Home
  • Raw
  • Download

Lines Matching refs:rv

193 	int rv = -ENODEV;  in csio_pci_init()  local
206 rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64)); in csio_pci_init()
207 if (rv) in csio_pci_init()
208 rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32)); in csio_pci_init()
209 if (rv) { in csio_pci_init()
210 rv = -ENODEV; in csio_pci_init()
222 return rv; in csio_pci_init()
261 int rv; in csio_create_queues() local
268 rv = csio_wr_iq_create(hw, NULL, hw->intr_iq_idx, in csio_create_queues()
270 if (rv != 0) { in csio_create_queues()
271 csio_err(hw, " Forward Interrupt IQ failed!: %d\n", rv); in csio_create_queues()
272 return rv; in csio_create_queues()
277 rv = csio_wr_iq_create(hw, NULL, hw->fwevt_iq_idx, in csio_create_queues()
280 if (rv != 0) { in csio_create_queues()
281 csio_err(hw, "FW event IQ config failed!: %d\n", rv); in csio_create_queues()
282 return rv; in csio_create_queues()
286 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx, in csio_create_queues()
289 if (rv != 0) { in csio_create_queues()
290 csio_err(hw, "Mgmt EQ create failed!: %d\n", rv); in csio_create_queues()
301 rv = csio_wr_iq_create(hw, NULL, sqset->iq_idx, in csio_create_queues()
303 if (rv != 0) { in csio_create_queues()
306 i, j, rv); in csio_create_queues()
309 rv = csio_wr_eq_create(hw, NULL, sqset->eq_idx, in csio_create_queues()
311 if (rv != 0) { in csio_create_queues()
314 i, j, rv); in csio_create_queues()
337 int rv; in csio_config_queues() local
441 rv = csio_create_queues(hw); in csio_config_queues()
442 if (rv != 0) in csio_config_queues()
449 rv = csio_request_irqs(hw); in csio_config_queues()
450 if (rv != 0) in csio_config_queues()
465 int rv = -ENOMEM; in csio_resource_alloc() local
495 return rv; in csio_resource_alloc()
942 int rv; in csio_probe_one() local
953 rv = csio_pci_init(pdev, &bars); in csio_probe_one()
954 if (rv) in csio_probe_one()
959 rv = -ENODEV; in csio_probe_one()
968 rv = csio_hw_start(hw); in csio_probe_one()
969 if (rv) { in csio_probe_one()
970 if (rv == -EINVAL) { in csio_probe_one()
987 rv = -ENODEV; in csio_probe_one()
995 rv = -ENODEV; in csio_probe_one()
998 if (rv) in csio_probe_one()
1004 if (rv) in csio_probe_one()
1020 dev_err(&pdev->dev, "probe of device failed: %d\n", rv); in csio_probe_one()
1021 return rv; in csio_probe_one()
1124 int rv = 0; in csio_pci_resume() local
1132 rv = -ENODEV; in csio_pci_resume()
1140 rv = -ENODEV; in csio_pci_resume()
1143 if (rv) in csio_pci_resume()
1149 if (rv) in csio_pci_resume()
1162 dev_err(&pdev->dev, "resume of device failed: %d\n", rv); in csio_pci_resume()
1204 int rv = -ENOMEM; in csio_init() local
1219 rv = pci_register_driver(&csio_pci_driver); in csio_init()
1220 if (rv) in csio_init()
1231 return rv; in csio_init()