Searched refs:sriov_cap (Results 1 – 3 of 3) sorted by relevance
37 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() local88 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() local177 assert(sriov_cap > 0); in register_vfs()224 uint16_t sriov_cap = dev->exp.sriov_cap; in pcie_sriov_config_write() local226 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 …]
1431 uint16_t sriov_cap = pf->exp.sriov_cap; in pci_config_get_bar_addr() local1432 int bar = sriov_cap + PCI_SRIOV_BAR + reg * 4; in pci_config_get_bar_addr()1434 pci_get_word(pf->config + sriov_cap + PCI_SRIOV_VF_OFFSET); in pci_config_get_bar_addr()1436 pci_get_word(pf->config + sriov_cap + PCI_SRIOV_VF_STRIDE); in pci_config_get_bar_addr()
82 uint16_t sriov_cap; member