Searched refs:PCI_IOV_RESOURCES (Results 1 - 7 of 7) sorted by relevance

/linux-4.1.27/drivers/pci/
H A Diov.c108 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; pci_iov_resource_size()
141 res = &dev->resource[i + PCI_IOV_RESOURCES]; virtfn_add()
146 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); virtfn_add()
263 bars |= (1 << (i + PCI_IOV_RESOURCES)); sriov_enable()
264 res = &dev->resource[i + PCI_IOV_RESOURCES]; sriov_enable()
438 res = &dev->resource[i + PCI_IOV_RESOURCES]; sriov_init()
483 res = &dev->resource[i + PCI_IOV_RESOURCES]; sriov_init()
514 for (i = PCI_IOV_RESOURCES; i <= PCI_IOV_RESOURCE_END; i++) sriov_restore_state()
563 if (resno < PCI_IOV_RESOURCES || resno > PCI_IOV_RESOURCE_END) pci_iov_resource_bar()
569 4 * (resno - PCI_IOV_RESOURCES); pci_iov_resource_bar()
H A Dpci.h301 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) pci_resource_alignment()
H A Dsetup-bus.c1047 if (realloc_head && i >= PCI_IOV_RESOURCES && pbus_size_mem()
1599 for (i = PCI_IOV_RESOURCES; i <= PCI_IOV_RESOURCE_END; i++) { iov_resources_unassigned()
/linux-4.1.27/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c898 res = &dev->resource[i + PCI_IOV_RESOURCES]; pnv_pci_vf_resource_shift()
911 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); pnv_pci_vf_resource_shift()
929 res = &dev->resource[i + PCI_IOV_RESOURCES]; pnv_pci_vf_resource_shift()
936 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); pnv_pci_vf_resource_shift()
942 pci_update_resource(dev, i + PCI_IOV_RESOURCES); pnv_pci_vf_resource_shift()
1215 res = &pdev->resource[i + PCI_IOV_RESOURCES]; pnv_pci_vf_assign_m64()
1235 PCI_IOV_RESOURCES + i); pnv_pci_vf_assign_m64()
2377 res = &pdev->resource[i + PCI_IOV_RESOURCES]; pnv_pci_ioda_fixup_iov_resources()
2386 size = pci_iov_resource_size(pdev, i + PCI_IOV_RESOURCES); pnv_pci_ioda_fixup_iov_resources()
2399 res = &pdev->resource[i + PCI_IOV_RESOURCES]; pnv_pci_ioda_fixup_iov_resources()
2409 size = pci_iov_resource_size(pdev, i + PCI_IOV_RESOURCES); pnv_pci_ioda_fixup_iov_resources()
/linux-4.1.27/arch/x86/pci/
H A Di386.c257 { PCI_IOV_RESOURCES, PCI_IOV_RESOURCE_END }, pcibios_allocate_dev_resources()
/linux-4.1.27/drivers/net/ethernet/broadcom/bnx2x/
H A Dbnx2x_sriov.c1115 u64 start = pci_resource_start(dev, PCI_IOV_RESOURCES + i); bnx2x_vf_set_bars()
1116 u32 size = pci_resource_len(dev, PCI_IOV_RESOURCES + i); bnx2x_vf_set_bars()
/linux-4.1.27/include/linux/
H A Dpci.h92 PCI_IOV_RESOURCES, enumerator in enum:__anon12321
93 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,

Completed in 194 milliseconds