Searched refs:resno (Results 1 – 10 of 10) sorted by relevance
/linux/drivers/pci/ |
A D | setup-res.c | 69 if (resno < PCI_ROM_RESOURCE) { in pci_std_update_resource() 104 resno, new, check); in pci_std_update_resource() 113 resno, new, check); in pci_std_update_resource() 123 if (resno <= PCI_ROM_RESOURCE) in pci_update_resource() 126 else if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_update_resource() 196 int resno, resource_size_t size) in pci_revert_fw_address() argument 220 resno, res); in pci_revert_fw_address() 323 resno, res); in pci_assign_resource() 348 if (resno < PCI_BRIDGE_RESOURCES) in pci_assign_resource() 349 pci_update_resource(dev, resno); in pci_assign_resource() [all …]
|
A D | pci.h | 33 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vmai, 479 void pci_iov_update_resource(struct pci_dev *dev, int resno); 480 resource_size_t pci_sriov_resource_alignment(struct pci_dev *dev, int resno); 523 int resno = res - dev->resource; in pci_resource_alignment() local 525 if (resno >= PCI_IOV_RESOURCES && resno <= PCI_IOV_RESOURCE_END) in pci_resource_alignment() 526 return pci_sriov_resource_alignment(dev, resno); in pci_resource_alignment()
|
A D | iov.c | 106 resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno) in pci_iov_resource_size() argument 111 return dev->sriov->barsz[resno - PCI_IOV_RESOURCES]; in pci_iov_resource_size() 901 void pci_iov_update_resource(struct pci_dev *dev, int resno) in pci_iov_update_resource() argument 904 struct resource *res = dev->resource + resno; in pci_iov_update_resource() 905 int vf_bar = resno - PCI_IOV_RESOURCES; in pci_iov_update_resource() 953 int resno) in pcibios_iov_resource_alignment() argument 955 return pci_iov_resource_size(dev, resno); in pcibios_iov_resource_alignment() 968 resource_size_t pci_sriov_resource_alignment(struct pci_dev *dev, int resno) in pci_sriov_resource_alignment() argument 970 return pcibios_iov_resource_alignment(dev, resno); in pci_sriov_resource_alignment()
|
A D | pci-sysfs.c | 1033 int pci_mmap_fits(struct pci_dev *pdev, int resno, struct vm_area_struct *vma, in pci_mmap_fits() argument 1039 if (pci_resource_len(pdev, resno) == 0) in pci_mmap_fits() 1043 size = ((pci_resource_len(pdev, resno) - 1) >> PAGE_SHIFT) + 1; in pci_mmap_fits() 1045 pci_resource_to_user(pdev, resno, &pdev->resource[resno], in pci_mmap_fits()
|
/linux/arch/powerpc/platforms/pseries/ |
A D | setup.c | 632 static resource_size_t pseries_get_iov_fw_value(struct pci_dev *dev, int resno, in pseries_get_iov_fw_value() argument 649 if (resno >= num_res) in pseries_get_iov_fw_value() 652 i = START_OF_ENTRIES + NEXT_ENTRY * resno; in pseries_get_iov_fw_value() 763 int resno) in pseries_pci_iov_resource_alignment() argument 771 return pci_iov_resource_size(pdev, resno); in pseries_pci_iov_resource_alignment() 776 resno - PCI_IOV_RESOURCES, in pseries_pci_iov_resource_alignment()
|
/linux/arch/powerpc/platforms/powernv/ |
A D | pci-sriov.c | 248 int resno) in pnv_pci_iov_resource_alignment() argument 250 resource_size_t align = pci_iov_resource_size(pdev, resno); in pnv_pci_iov_resource_alignment() 268 if (iov->m64_single_mode[resno - PCI_IOV_RESOURCES]) in pnv_pci_iov_resource_alignment()
|
A D | pci.h | 266 resource_size_t pnv_pci_iov_resource_alignment(struct pci_dev *pdev, int resno);
|
/linux/arch/powerpc/include/asm/ |
A D | machdep.h | 171 resource_size_t (*pcibios_iov_resource_alignment)(struct pci_dev *, int resno);
|
/linux/include/linux/ |
A D | pci.h | 1291 void pci_update_resource(struct pci_dev *dev, int resno); 1294 void pci_release_resource(struct pci_dev *dev, int resno); 2166 resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno); 2172 resource_size_t pcibios_iov_resource_alignment(struct pci_dev *dev, int resno); 2205 static inline resource_size_t pci_iov_resource_size(struct pci_dev *dev, int resno) in pci_iov_resource_size() argument
|
/linux/arch/powerpc/kernel/ |
A D | pci-common.c | 239 resource_size_t pcibios_iov_resource_alignment(struct pci_dev *pdev, int resno) in pcibios_iov_resource_alignment() argument 242 return ppc_md.pcibios_iov_resource_alignment(pdev, resno); in pcibios_iov_resource_alignment() 244 return pci_iov_resource_size(pdev, resno); in pcibios_iov_resource_alignment()
|
Completed in 38 milliseconds