Home
last modified time | relevance | path

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

/openbmc/qemu/hw/pci/
H A Dpcie_sriov.c37 dev->exp.sriov_cap = offset; in pcie_sriov_pf_init()
86 uint16_t sriov_cap = dev->exp.sriov_cap; in pcie_sriov_pf_init_vf_bar() local
88 assert(sriov_cap > 0); in pcie_sriov_pf_init_vf_bar()
94 addr = sriov_cap + PCI_SRIOV_BAR + region_num * 4; in pcie_sriov_pf_init_vf_bar()
170 uint16_t sriov_cap = dev->exp.sriov_cap; in register_vfs() local
177 assert(sriov_cap > 0); in register_vfs()
224 uint16_t sriov_cap = dev->exp.sriov_cap; in pcie_sriov_config_write() local
226 if (!sriov_cap || address < sriov_cap) { in pcie_sriov_config_write()
229 off = address - sriov_cap; in pcie_sriov_config_write()
254 uint16_t sriov_cap = dev->exp.sriov_cap; in pcie_sriov_pf_reset() local
[all …]
H A Dpci.c1427 uint16_t sriov_cap = pf->exp.sriov_cap; in pci_config_get_bar_addr() local
1428 int bar = sriov_cap + PCI_SRIOV_BAR + reg * 4; in pci_config_get_bar_addr()
1430 pci_get_word(pf->config + sriov_cap + PCI_SRIOV_VF_OFFSET); in pci_config_get_bar_addr()
1432 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.h82 uint16_t sriov_cap; member