Searched refs:num_vf (Results 1 – 5 of 5) sorted by relevance
248 int num_vf, rid_end; in pci_ide_stream_alloc() local281 num_vf = pci_num_vf(pdev); in pci_ide_stream_alloc()282 if (num_vf) in pci_ide_stream_alloc()283 rid_end = PCI_DEVID(pci_iov_virtfn_bus(pdev, num_vf - 1), in pci_ide_stream_alloc()284 pci_iov_virtfn_devfn(pdev, num_vf - 1)); in pci_ide_stream_alloc()
252 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument265 nvfs = num_vf; in bnxt_re_limit_vf_res()266 num_vf = 100 * num_vf; in bnxt_re_limit_vf_res()267 vf_res->max_qp_per_vf = (qplib_ctx->qpc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()268 vf_res->max_srq_per_vf = (qplib_ctx->srqc_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()269 vf_res->max_cq_per_vf = (qplib_ctx->cq_count * vf_pct) / num_vf; in bnxt_re_limit_vf_res()280 nvfs = num_vf; in bnxt_re_limit_vf_res()
1284 if (dev->bus && dev->bus->num_vf) in dev_num_vf()1285 return dev->bus->num_vf(dev); in dev_num_vf()
443 .num_vf = nsim_num_vf,
468 .num_vf = virtio_dev_num_vf,