Home
last modified time | relevance | path

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

/linux/drivers/pci/
H A Dide.c250 int num_vf, rid_end; in pci_ide_stream_alloc() local
283 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()
H A Dpci-driver.c1735 .num_vf = pci_bus_num_vf,
/linux/include/linux/device/
H A Dbus.h105 int (*num_vf)(struct device *dev); member
/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.h1139 if (dev->bus && dev->bus->num_vf) in dev_num_vf()
1140 return dev->bus->num_vf(dev); in dev_num_vf()
/linux/drivers/net/netdevsim/
H A Dbus.c443 .num_vf = nsim_num_vf,