Home
last modified time | relevance | path

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

/Linux-v5.10/arch/powerpc/platforms/powernv/
Dpci-sriov.c162 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_ioda_fixup_iov_resources()
171 vf_bar_sz = pci_iov_resource_size(pdev, i + PCI_IOV_RESOURCES); in pnv_pci_ioda_fixup_iov_resources()
220 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_ioda_fixup_iov_resources()
274 if (iov->m64_single_mode[resno - PCI_IOV_RESOURCES]) in pnv_pci_iov_resource_alignment()
436 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_vf_assign_m64()
457 size = pci_iov_resource_size(pdev, PCI_IOV_RESOURCES + i); in pnv_pci_vf_assign_m64()
531 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_vf_resource_shift()
543 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pnv_pci_vf_resource_shift()
564 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pnv_pci_vf_resource_shift()
570 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pnv_pci_vf_resource_shift()
[all …]
/Linux-v5.10/drivers/pci/
Diov.c110 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; in pci_iov_resource_size()
196 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pci_iov_add_virtfn()
201 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pci_iov_add_virtfn()
489 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable()
490 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_enable()
650 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()
706 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()
744 pci_update_resource(dev, i + PCI_IOV_RESOURCES); in sriov_restore_state()
810 int vf_bar = resno - PCI_IOV_RESOURCES; in pci_iov_update_resource()
Dsetup-res.c126 else if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_update_resource()
Dpci.h527 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_resource_alignment()
Dsetup-bus.c1031 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()
Dpci.c3103 return &dev->resource[PCI_IOV_RESOURCES + in pci_ea_get_resource()
/Linux-v5.10/arch/powerpc/platforms/pseries/
Dsetup.c656 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_set_vf_bar_size()
682 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_parse_iov_addrs()
691 r + PCI_IOV_RESOURCES, res); in of_pci_parse_iov_addrs()
696 r + PCI_IOV_RESOURCES, res, in of_pci_parse_iov_addrs()
709 pdev->resource[i + PCI_IOV_RESOURCES].flags = 0; in pseries_disable_sriov_resources()
754 resno - PCI_IOV_RESOURCES, in pseries_pci_iov_resource_alignment()
Dpci.c122 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pseries_associate_pes()
126 PCI_IOV_RESOURCES); in pseries_associate_pes()
/Linux-v5.10/arch/s390/pci/
Dpci_iov.c31 int bar = i + PCI_IOV_RESOURCES; in zpci_iov_map_resources()
/Linux-v5.10/arch/x86/pci/
Di386.c258 { PCI_IOV_RESOURCES, PCI_IOV_RESOURCE_END }, in pcibios_allocate_dev_resources()
/Linux-v5.10/include/linux/
Dpci.h99 PCI_IOV_RESOURCES, enumerator
100 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,
/Linux-v5.10/drivers/net/ethernet/broadcom/bnx2x/
Dbnx2x_sriov.c1055 u64 start = pci_resource_start(dev, PCI_IOV_RESOURCES + i); in bnx2x_vf_set_bars()
1056 u32 size = pci_resource_len(dev, PCI_IOV_RESOURCES + i); in bnx2x_vf_set_bars()