Searched refs:PCI_IOV_RESOURCES (Results 1 – 12 of 12) sorted by relevance
/linux-6.1.9/arch/powerpc/platforms/powernv/ |
D | pci-sriov.c | 159 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_ioda_fixup_iov_resources() 168 vf_bar_sz = pci_iov_resource_size(pdev, i + PCI_IOV_RESOURCES); in pnv_pci_ioda_fixup_iov_resources() 217 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_ioda_fixup_iov_resources() 268 if (iov->m64_single_mode[resno - PCI_IOV_RESOURCES]) in pnv_pci_iov_resource_alignment() 430 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_vf_assign_m64() 451 size = pci_iov_resource_size(pdev, PCI_IOV_RESOURCES + i); in pnv_pci_vf_assign_m64() 525 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_vf_resource_shift() 537 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pnv_pci_vf_resource_shift() 558 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_vf_resource_shift() 564 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pnv_pci_vf_resource_shift() [all …]
|
/linux-6.1.9/drivers/pci/ |
D | iov.c | 154 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; in pci_iov_resource_size() 325 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pci_iov_add_virtfn() 330 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pci_iov_add_virtfn() 627 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable() 628 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_enable() 788 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init() 844 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init() 882 pci_update_resource(dev, i + PCI_IOV_RESOURCES); in sriov_restore_state() 948 int vf_bar = resno - PCI_IOV_RESOURCES; in pci_iov_update_resource()
|
D | setup-res.c | 130 else if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_update_resource()
|
D | pci.h | 529 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_resource_alignment()
|
D | setup-bus.c | 1031 if (realloc_head && i >= PCI_IOV_RESOURCES && in pbus_size_mem() 1704 struct resource *r = &dev->resource[i + PCI_IOV_RESOURCES]; in iov_resources_unassigned()
|
D | pci.c | 3236 return &dev->resource[PCI_IOV_RESOURCES + in pci_ea_get_resource()
|
/linux-6.1.9/arch/powerpc/platforms/pseries/ |
D | setup.c | 708 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_set_vf_bar_size() 734 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_parse_iov_addrs() 743 r + PCI_IOV_RESOURCES, res); in of_pci_parse_iov_addrs() 748 r + PCI_IOV_RESOURCES, res, in of_pci_parse_iov_addrs() 761 pdev->resource[i + PCI_IOV_RESOURCES].flags = 0; in pseries_disable_sriov_resources() 806 resno - PCI_IOV_RESOURCES, in pseries_pci_iov_resource_alignment()
|
D | pci.c | 120 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pseries_associate_pes() 124 PCI_IOV_RESOURCES); in pseries_associate_pes()
|
/linux-6.1.9/arch/s390/pci/ |
D | pci_iov.c | 31 int bar = i + PCI_IOV_RESOURCES; in zpci_iov_map_resources()
|
/linux-6.1.9/arch/x86/pci/ |
D | i386.c | 258 { PCI_IOV_RESOURCES, PCI_IOV_RESOURCE_END }, in pcibios_allocate_dev_resources()
|
/linux-6.1.9/include/linux/ |
D | pci.h | 105 PCI_IOV_RESOURCES, enumerator 106 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,
|
/linux-6.1.9/drivers/net/ethernet/broadcom/bnx2x/ |
D | bnx2x_sriov.c | 1068 u64 start = pci_resource_start(dev, PCI_IOV_RESOURCES + i); in bnx2x_vf_set_bars() 1069 u32 size = pci_resource_len(dev, PCI_IOV_RESOURCES + i); in bnx2x_vf_set_bars()
|