Home
last modified time | relevance | path

Searched refs:sriov_cap (Results 1 – 4 of 4) sorted by relevance

/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c53 dev->exp.sriov_cap = offset; in pcie_sriov_pf_init()
114 uint8_t *cfg = dev->config + dev->exp.sriov_cap; in pcie_sriov_pf_exit()
124 uint16_t sriov_cap = dev->exp.sriov_cap; in pcie_sriov_pf_init_vf_bar() local
126 assert(sriov_cap > 0); in pcie_sriov_pf_init_vf_bar()
132 addr = sriov_cap + PCI_SRIOV_BAR + region_num * 4; in pcie_sriov_pf_init_vf_bar()
186 uint16_t sriov_cap = dev->exp.sriov_cap; in register_vfs() local
188 assert(sriov_cap > 0); in register_vfs()
189 num_vfs = pci_get_word(dev->config + sriov_cap + PCI_SRIOV_NUM_VF); in register_vfs()
197 pci_set_word(dev->wmask + sriov_cap + PCI_SRIOV_NUM_VF, 0); in register_vfs()
202 uint8_t *cfg = dev->config + dev->exp.sriov_cap; in unregister_vfs()
[all …]
H A Dpci.c1591 uint16_t sriov_cap = pf->exp.sriov_cap; in pci_config_get_bar_addr() local
1592 int bar = sriov_cap + PCI_SRIOV_BAR + reg * 4; in pci_config_get_bar_addr()
1594 pci_get_word(pf->config + sriov_cap + PCI_SRIOV_VF_OFFSET); in pci_config_get_bar_addr()
1596 pci_get_word(pf->config + sriov_cap + PCI_SRIOV_VF_STRIDE); in pci_config_get_bar_addr()
/openbmc/qemu/include/hw/pci/
H A Dpcie.h80 uint16_t sriov_cap; member
/openbmc/qemu/hw/s390x/
H A Ds390-pci-bus.c1104 !pdev->exp.sriov_cap) { in s390_pcihost_plug()