Searched refs:PCI_IOV_RESOURCES (Results 1 – 6 of 6) sorted by relevance
112 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; in pci_iov_resource_size()174 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pci_iov_add_virtfn()179 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pci_iov_add_virtfn()282 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable()283 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_enable()443 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()499 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()536 for (i = PCI_IOV_RESOURCES; i <= PCI_IOV_RESOURCE_END; i++) in sriov_restore_state()603 int vf_bar = resno - PCI_IOV_RESOURCES; in pci_iov_update_resource()
125 else if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_update_resource()
398 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_resource_alignment()
1002 if (realloc_head && i >= PCI_IOV_RESOURCES && in pbus_size_mem()1668 for (i = PCI_IOV_RESOURCES; i <= PCI_IOV_RESOURCE_END; i++) { in iov_resources_unassigned()
2801 return &dev->resource[PCI_IOV_RESOURCES + in pci_ea_get_resource()
86 PCI_IOV_RESOURCES, enumerator87 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,