Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c62 pci_set_word(cfg + PCI_SRIOV_NUM_VF, 0); in pcie_sriov_pf_init()
68 pci_set_word(wmask + PCI_SRIOV_NUM_VF, 0xffff); in pcie_sriov_pf_init()
178 num_vfs = pci_get_word(dev->config + sriov_cap + PCI_SRIOV_NUM_VF); in register_vfs()
262 pci_set_word(dev->config + sriov_cap + PCI_SRIOV_NUM_VF, 0); in pcie_sriov_pf_reset()
/openbmc/linux/include/uapi/linux/
H A Dpci_regs.h955 #define PCI_SRIOV_NUM_VF 0x10 /* Number of VFs */ macro
/openbmc/qemu/include/standard-headers/linux/
H A Dpci_regs.h958 #define PCI_SRIOV_NUM_VF 0x10 /* Number of VFs */ macro
/openbmc/linux/drivers/pci/
H A Diov.c88 pci_write_config_word(dev, iov->pos + PCI_SRIOV_NUM_VF, nr_virtfn); in pci_iov_set_numvfs()
/openbmc/linux/drivers/net/ethernet/qlogic/qed/
H A Dqed_sriov.c353 pci_read_config_word(cdev->pdev, pos + PCI_SRIOV_NUM_VF, &iov->num_vfs); in qed_iov_pci_cfg_info()