Lines Matching refs:infop
923 static int rdma_supported(const struct cxgb4_lld_info *infop) in rdma_supported() argument
925 return infop->vr->stag.size > 0 && infop->vr->pbl.size > 0 && in rdma_supported()
926 infop->vr->rq.size > 0 && infop->vr->qp.size > 0 && in rdma_supported()
927 infop->vr->cq.size > 0; in rdma_supported()
930 static struct c4iw_dev *c4iw_alloc(const struct cxgb4_lld_info *infop) in c4iw_alloc() argument
935 if (!rdma_supported(infop)) { in c4iw_alloc()
937 pci_name(infop->pdev)); in c4iw_alloc()
940 if (!ocqp_supported(infop)) in c4iw_alloc()
942 pci_name(infop->pdev)); in c4iw_alloc()
949 devp->rdev.lldi = *infop; in c4iw_alloc()
986 } else if (ocqp_supported(infop)) { in c4iw_alloc()
1035 static void *c4iw_uld_add(const struct cxgb4_lld_info *infop) in c4iw_uld_add() argument
1050 ctx->lldi = *infop; in c4iw_uld_add()