Searched refs:num_vf (Results 1 – 6 of 6) sorted by relevance
250 int num_vf, rid_end; in pci_ide_stream_alloc() local283 num_vf = pci_num_vf(pdev); in pci_ide_stream_alloc()284 if (num_vf) in pci_ide_stream_alloc()285 rid_end = PCI_DEVID(pci_iov_virtfn_bus(pdev, num_vf - 1), in pci_ide_stream_alloc()286 pci_iov_virtfn_devfn(pdev, num_vf - 1)); in pci_ide_stream_alloc()
1735 .num_vf = pci_bus_num_vf,
105 int (*num_vf)(struct device *dev); member
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()
1139 if (dev->bus && dev->bus->num_vf) in dev_num_vf()1140 return dev->bus->num_vf(dev); in dev_num_vf()
443 .num_vf = nsim_num_vf,