en_dev 128 drivers/infiniband/hw/bnxt_re/bnxt_re.h struct bnxt_en_dev *en_dev; en_dev 138 drivers/infiniband/hw/bnxt_re/ib_verbs.c ib_attr->vendor_id = rdev->en_dev->pdev->vendor; en_dev 139 drivers/infiniband/hw/bnxt_re/ib_verbs.c ib_attr->vendor_part_id = rdev->en_dev->pdev->device; en_dev 140 drivers/infiniband/hw/bnxt_re/ib_verbs.c ib_attr->hw_ver = rdev->en_dev->pdev->subsystem_device; en_dev 461 drivers/infiniband/hw/bnxt_re/ib_verbs.c struct device *dev = &rdev->en_dev->pdev->dev; en_dev 489 drivers/infiniband/hw/bnxt_re/ib_verbs.c struct device *dev = &rdev->en_dev->pdev->dev; en_dev 3642 drivers/infiniband/hw/bnxt_re/ib_verbs.c resp.dev_id = rdev->en_dev->pdev->devfn; en_dev 91 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 94 drivers/infiniband/hw/bnxt_re/main.c en_dev = rdev->en_dev; en_dev 95 drivers/infiniband/hw/bnxt_re/main.c bp = netdev_priv(en_dev->net); en_dev 112 drivers/infiniband/hw/bnxt_re/main.c bp = netdev_priv(rdev->en_dev->net); en_dev 279 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 285 drivers/infiniband/hw/bnxt_re/main.c en_dev = rdev->en_dev; en_dev 287 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_unregister_device(rdev->en_dev, en_dev 294 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 300 drivers/infiniband/hw/bnxt_re/main.c en_dev = rdev->en_dev; en_dev 302 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_register_device(en_dev, BNXT_ROCE_ULP, en_dev 304 drivers/infiniband/hw/bnxt_re/main.c rdev->qplib_res.pdev = rdev->en_dev->pdev; en_dev 310 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 316 drivers/infiniband/hw/bnxt_re/main.c en_dev = rdev->en_dev; en_dev 319 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_free_msix(rdev->en_dev, BNXT_ROCE_ULP); en_dev 327 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 332 drivers/infiniband/hw/bnxt_re/main.c en_dev = rdev->en_dev; en_dev 336 drivers/infiniband/hw/bnxt_re/main.c num_msix_got = en_dev->en_ops->bnxt_request_msix(en_dev, BNXT_ROCE_ULP, en_dev 375 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 381 drivers/infiniband/hw/bnxt_re/main.c if (!en_dev) en_dev 391 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); en_dev 402 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 408 drivers/infiniband/hw/bnxt_re/main.c if (!en_dev) en_dev 428 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); en_dev 438 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 443 drivers/infiniband/hw/bnxt_re/main.c if (!en_dev) en_dev 452 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); en_dev 466 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 472 drivers/infiniband/hw/bnxt_re/main.c if (!en_dev) en_dev 484 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); en_dev 524 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev) en_dev 527 drivers/infiniband/hw/bnxt_re/main.c module_put(en_dev->pdev->driver->driver.owner); en_dev 533 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 540 drivers/infiniband/hw/bnxt_re/main.c en_dev = bp->ulp_probe(netdev); en_dev 541 drivers/infiniband/hw/bnxt_re/main.c if (IS_ERR(en_dev)) en_dev 542 drivers/infiniband/hw/bnxt_re/main.c return en_dev; en_dev 544 drivers/infiniband/hw/bnxt_re/main.c pdev = en_dev->pdev; en_dev 548 drivers/infiniband/hw/bnxt_re/main.c if (!(en_dev->flags & BNXT_EN_FLAG_ROCE_CAP)) { en_dev 561 drivers/infiniband/hw/bnxt_re/main.c return en_dev; en_dev 570 drivers/infiniband/hw/bnxt_re/main.c return scnprintf(buf, PAGE_SIZE, "0x%x\n", rdev->en_dev->pdev->vendor); en_dev 665 drivers/infiniband/hw/bnxt_re/main.c ibdev->dev.parent = &rdev->en_dev->pdev->dev; en_dev 722 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev) en_dev 736 drivers/infiniband/hw/bnxt_re/main.c rdev->en_dev = en_dev; en_dev 737 drivers/infiniband/hw/bnxt_re/main.c rdev->id = rdev->en_dev->pdev->devfn; en_dev 926 drivers/infiniband/hw/bnxt_re/main.c rc = bnxt_qplib_enable_nq(rdev->en_dev->pdev, &rdev->nq[i - 1], en_dev 987 drivers/infiniband/hw/bnxt_re/main.c rc = bnxt_qplib_alloc_res(&rdev->qplib_res, rdev->en_dev->pdev, en_dev 1002 drivers/infiniband/hw/bnxt_re/main.c rc = bnxt_qplib_alloc_nq(rdev->en_dev->pdev, &rdev->nq[i]); en_dev 1068 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 1087 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); en_dev 1253 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 1267 drivers/infiniband/hw/bnxt_re/main.c rc = en_dev->en_ops->bnxt_send_fw_msg(en_dev, BNXT_ROCE_ULP, &fw_msg); en_dev 1304 drivers/infiniband/hw/bnxt_re/main.c bnxt_qplib_free_ctx(rdev->en_dev->pdev, &rdev->qplib_ctx); en_dev 1380 drivers/infiniband/hw/bnxt_re/main.c rc = bnxt_qplib_alloc_rcfw_channel(rdev->en_dev->pdev, &rdev->rcfw, en_dev 1400 drivers/infiniband/hw/bnxt_re/main.c rc = bnxt_qplib_enable_rcfw_channel(rdev->en_dev->pdev, &rdev->rcfw, en_dev 1415 drivers/infiniband/hw/bnxt_re/main.c rc = bnxt_qplib_alloc_ctx(rdev->en_dev->pdev, &rdev->qplib_ctx, 0, en_dev 1482 drivers/infiniband/hw/bnxt_re/main.c bnxt_qplib_free_ctx(rdev->en_dev->pdev, &rdev->qplib_ctx); en_dev 1501 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev = rdev->en_dev; en_dev 1507 drivers/infiniband/hw/bnxt_re/main.c bnxt_re_dev_unprobe(netdev, en_dev); en_dev 1512 drivers/infiniband/hw/bnxt_re/main.c struct bnxt_en_dev *en_dev; en_dev 1518 drivers/infiniband/hw/bnxt_re/main.c en_dev = bnxt_re_dev_probe(netdev); en_dev 1519 drivers/infiniband/hw/bnxt_re/main.c if (IS_ERR(en_dev)) { en_dev 1520 drivers/infiniband/hw/bnxt_re/main.c if (en_dev != ERR_PTR(-ENODEV)) en_dev 1522 drivers/infiniband/hw/bnxt_re/main.c rc = PTR_ERR(en_dev); en_dev 1525 drivers/infiniband/hw/bnxt_re/main.c *rdev = bnxt_re_dev_add(netdev, en_dev); en_dev 1528 drivers/infiniband/hw/bnxt_re/main.c bnxt_re_dev_unprobe(netdev, en_dev); en_dev 1537 drivers/infiniband/hw/bnxt_re/main.c pci_dev_put(rdev->en_dev->pdev); en_dev 1592 drivers/infiniband/hw/bnxt_re/main.c pci_dev_get(rdev->en_dev->pdev);