Home
last modified time | relevance | path

Searched refs:PCI_IOV_RESOURCES (Results 1 – 12 of 12) sorted by relevance

/linux-6.6.21/arch/powerpc/platforms/powernv/
Dpci-sriov.c159 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.6.21/drivers/pci/
Diov.c153 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; in pci_iov_resource_size()
324 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pci_iov_add_virtfn()
329 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pci_iov_add_virtfn()
626 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable()
627 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_enable()
787 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()
843 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()
881 pci_update_resource(dev, i + PCI_IOV_RESOURCES); in sriov_restore_state()
947 int vf_bar = resno - PCI_IOV_RESOURCES; in pci_iov_update_resource()
Dsetup-res.c130 else if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_update_resource()
Dpci.h525 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_resource_alignment()
Dsetup-bus.c1026 if (realloc_head && i >= PCI_IOV_RESOURCES && in pbus_size_mem()
1697 struct resource *r = &dev->resource[i + PCI_IOV_RESOURCES]; in iov_resources_unassigned()
Dpci.c3294 return &dev->resource[PCI_IOV_RESOURCES + in pci_ea_get_resource()
/linux-6.6.21/arch/powerpc/platforms/pseries/
Dsetup.c709 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_set_vf_bar_size()
735 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_parse_iov_addrs()
744 r + PCI_IOV_RESOURCES, res); in of_pci_parse_iov_addrs()
749 r + PCI_IOV_RESOURCES, res, in of_pci_parse_iov_addrs()
762 pdev->resource[i + PCI_IOV_RESOURCES].flags = 0; in pseries_disable_sriov_resources()
807 resno - PCI_IOV_RESOURCES, in pseries_pci_iov_resource_alignment()
Dpci.c120 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pseries_associate_pes()
124 PCI_IOV_RESOURCES); in pseries_associate_pes()
/linux-6.6.21/arch/s390/pci/
Dpci_iov.c31 int bar = i + PCI_IOV_RESOURCES; in zpci_iov_map_resources()
/linux-6.6.21/arch/x86/pci/
Di386.c258 { PCI_IOV_RESOURCES, PCI_IOV_RESOURCE_END }, in pcibios_allocate_dev_resources()
/linux-6.6.21/include/linux/
Dpci.h106 PCI_IOV_RESOURCES, enumerator
107 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,
/linux-6.6.21/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1068 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()