Home
last modified time | relevance | path

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

/linux/arch/powerpc/platforms/powernv/
A 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/drivers/pci/
A Diov.c111 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; in pci_iov_resource_size()
282 res = &dev->resource[i + PCI_IOV_RESOURCES]; in pci_iov_add_virtfn()
287 size = pci_iov_resource_size(dev, i + PCI_IOV_RESOURCES); in pci_iov_add_virtfn()
584 bars |= (1 << (i + PCI_IOV_RESOURCES)); in sriov_enable()
585 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_enable()
745 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()
801 res = &dev->resource[i + PCI_IOV_RESOURCES]; in sriov_init()
839 pci_update_resource(dev, i + PCI_IOV_RESOURCES); in sriov_restore_state()
905 int vf_bar = resno - PCI_IOV_RESOURCES; in pci_iov_update_resource()
A Dsetup-res.c126 else if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_update_resource()
A Dpci.h525 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_resource_alignment()
A 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()
A Dpci.c3206 return &dev->resource[PCI_IOV_RESOURCES + in pci_ea_get_resource()
/linux/arch/powerpc/platforms/pseries/
A Dsetup.c678 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_set_vf_bar_size()
704 res = &dev->resource[r + PCI_IOV_RESOURCES]; in of_pci_parse_iov_addrs()
713 r + PCI_IOV_RESOURCES, res); in of_pci_parse_iov_addrs()
718 r + PCI_IOV_RESOURCES, res, in of_pci_parse_iov_addrs()
731 pdev->resource[i + PCI_IOV_RESOURCES].flags = 0; in pseries_disable_sriov_resources()
776 resno - PCI_IOV_RESOURCES, in pseries_pci_iov_resource_alignment()
A Dpci.c121 res = &pdev->resource[i + PCI_IOV_RESOURCES]; in pseries_associate_pes()
125 PCI_IOV_RESOURCES); in pseries_associate_pes()
/linux/arch/s390/pci/
A Dpci_iov.c31 int bar = i + PCI_IOV_RESOURCES; in zpci_iov_map_resources()
/linux/arch/x86/pci/
A Di386.c258 { PCI_IOV_RESOURCES, PCI_IOV_RESOURCE_END }, in pcibios_allocate_dev_resources()
/linux/include/linux/
A Dpci.h105 PCI_IOV_RESOURCES, enumerator
106 PCI_IOV_RESOURCE_END = PCI_IOV_RESOURCES + PCI_SRIOV_NUM_BARS - 1,
/linux/drivers/net/ethernet/broadcom/bnx2x/
A 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()

Completed in 41 milliseconds