Searched refs:vf_offset (Results 1 – 3 of 3) sorted by relevance
| /openbmc/qemu/hw/pci/ |
| H A D | pcie_sriov.c | 90 uint16_t total_vfs, uint16_t vf_offset, in pcie_sriov_pf_init_common() argument 93 int32_t devfn = dev->devfn + vf_offset; in pcie_sriov_pf_init_common() 118 pci_set_word(cfg + PCI_SRIOV_VF_OFFSET, vf_offset); in pcie_sriov_pf_init_common() 155 uint16_t vf_offset, uint16_t vf_stride, in pcie_sriov_pf_init() argument 159 int32_t devfn = dev->devfn + vf_offset; in pcie_sriov_pf_init() 167 total_vfs, vf_offset, vf_stride, errp)) { in pcie_sriov_pf_init() 264 uint16_t vf_offset; in pcie_sriov_pf_init_from_user_created_vfs() local 291 vf_offset = vfs[0]->devfn - dev->devfn; in pcie_sriov_pf_init_from_user_created_vfs() 325 pf->len, vf_offset, vf_stride, errp)) { in pcie_sriov_pf_init_from_user_created_vfs()
|
| H A D | pci.c | 1602 uint16_t vf_offset = in pci_config_get_bar_addr() local 1606 uint32_t vf_num = d->devfn - (pf->devfn + vf_offset); in pci_config_get_bar_addr()
|
| /openbmc/qemu/include/hw/pci/ |
| H A D | pcie_sriov.h | 32 uint16_t vf_offset, uint16_t vf_stride,
|