Searched refs:dev_res (Results 1 – 2 of 2) sorted by relevance
237 struct bnxt_qplib_max_res dev_res = {}; in bnxt_re_limit_pf_res() local249 hctx->qp_ctx.max = min_t(u32, dev_res.max_qp, attr->max_qp); in bnxt_re_limit_pf_res()250 hctx->mrw_ctx.max = min_t(u32, dev_res.max_mr, attr->max_mr); in bnxt_re_limit_pf_res()255 hctx->srq_ctx.max = min_t(u32, dev_res.max_srq, attr->max_srq); in bnxt_re_limit_pf_res()256 hctx->cq_ctx.max = min_t(u32, dev_res.max_cq, attr->max_cq); in bnxt_re_limit_pf_res()260 hctx->qp_ctx.max = attr->max_qp ? attr->max_qp : dev_res.max_qp; in bnxt_re_limit_pf_res()272 struct bnxt_qplib_max_res dev_res = {}; in bnxt_re_limit_vf_res() local275 vf_res->max_qp = dev_res.max_qp / num_vf; in bnxt_re_limit_vf_res()276 vf_res->max_srq = dev_res.max_srq / num_vf; in bnxt_re_limit_vf_res()277 vf_res->max_cq = dev_res.max_cq / num_vf; in bnxt_re_limit_vf_res()[all …]
1456 device_t dev_res; in vmbus_doattach() local1480 dev_res = devclass_get_device(devclass_find("vmbus_res"), 0); in vmbus_doattach()1481 if (dev_res != NULL) { in vmbus_doattach()1482 handle = acpi_get_handle(dev_res); in vmbus_doattach()