Lines Matching defs:rv
192 int rv = -ENODEV;
205 rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(64));
206 if (rv)
207 rv = dma_set_mask_and_coherent(&pdev->dev, DMA_BIT_MASK(32));
208 if (rv) {
209 rv = -ENODEV;
221 return rv;
260 int rv;
267 rv = csio_wr_iq_create(hw, NULL, hw->intr_iq_idx,
269 if (rv != 0) {
270 csio_err(hw, " Forward Interrupt IQ failed!: %d\n", rv);
271 return rv;
276 rv = csio_wr_iq_create(hw, NULL, hw->fwevt_iq_idx,
279 if (rv != 0) {
280 csio_err(hw, "FW event IQ config failed!: %d\n", rv);
281 return rv;
285 rv = csio_wr_eq_create(hw, NULL, mgmtm->eq_idx,
288 if (rv != 0) {
289 csio_err(hw, "Mgmt EQ create failed!: %d\n", rv);
300 rv = csio_wr_iq_create(hw, NULL, sqset->iq_idx,
302 if (rv != 0) {
305 i, j, rv);
308 rv = csio_wr_eq_create(hw, NULL, sqset->eq_idx,
310 if (rv != 0) {
313 i, j, rv);
336 int rv;
440 rv = csio_create_queues(hw);
441 if (rv != 0)
448 rv = csio_request_irqs(hw);
449 if (rv != 0)
464 int rv = -ENOMEM;
494 return rv;
942 int rv;
953 rv = csio_pci_init(pdev, &bars);
954 if (rv)
959 rv = -ENODEV;
968 rv = csio_hw_start(hw);
969 if (rv) {
970 if (rv == -EINVAL) {
987 rv = -ENODEV;
995 rv = -ENODEV;
998 if (rv)
1004 if (rv)
1020 dev_err(&pdev->dev, "probe of device failed: %d\n", rv);
1021 return rv;
1123 int rv = 0;
1131 rv = -ENODEV;
1139 rv = -ENODEV;
1142 if (rv)
1148 if (rv)
1161 dev_err(&pdev->dev, "resume of device failed: %d\n", rv);
1200 int rv = -ENOMEM;
1215 rv = pci_register_driver(&csio_pci_driver);
1216 if (rv)
1227 return rv;