Home
last modified time | relevance | path

Searched refs:num_vf (Results 1 – 5 of 5) sorted by relevance

/linux/drivers/pci/
H A Dide.c248 int num_vf, rid_end; in pci_ide_stream_alloc() local
281 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()
/linux/drivers/infiniband/hw/bnxt_re/
H A Dmain.c252 static void bnxt_re_limit_vf_res(struct bnxt_qplib_ctx *qplib_ctx, u32 num_vf) in bnxt_re_limit_vf_res() argument
265 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()
/linux/include/linux/
H A Ddevice.h1284 if (dev->bus && dev->bus->num_vf) in dev_num_vf()
1285 return dev->bus->num_vf(dev); in dev_num_vf()
/linux/drivers/net/netdevsim/
H A Dbus.c443 .num_vf = nsim_num_vf,
/linux/drivers/virtio/
H A Dvirtio.c468 .num_vf = virtio_dev_num_vf,