/openbmc/linux/drivers/pci/ |
H A D | rom.c | 26 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_enable_rom() 60 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_disable_rom() 138 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_map_rom() 143 if (res->parent == NULL && pci_assign_resource(pdev, PCI_ROM_RESOURCE)) in pci_map_rom() 146 start = pci_resource_start(pdev, PCI_ROM_RESOURCE); in pci_map_rom() 147 *size = pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_map_rom() 189 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_unmap_rom()
|
H A D | setup-res.c | 62 } else if (resno == PCI_ROM_RESOURCE) { in pci_std_update_resource() 69 if (resno < PCI_ROM_RESOURCE) { in pci_std_update_resource() 71 } else if (resno == PCI_ROM_RESOURCE) { in pci_std_update_resource() 127 if (resno <= PCI_ROM_RESOURCE) in pci_update_resource() 493 if ((i == PCI_ROM_RESOURCE) && in pci_enable_resources()
|
H A D | proc.c | 385 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in show_device() 392 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in show_device()
|
H A D | pci-sysfs.c | 661 !!(pdev->resource[PCI_ROM_RESOURCE].flags & in boot_vga_show() 1331 rom_size = pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_dev_rom_attr_is_visible()
|
H A D | pci-driver.c | 1501 for (i = 0; i <= PCI_ROM_RESOURCE; i++) in pci_dev_driver()
|
H A D | pci.c | 2071 for (i = 0; i <= PCI_ROM_RESOURCE; i++) in pci_enable_device_flags() 3341 return &dev->resource[PCI_ROM_RESOURCE]; in pci_ea_get_resource() 6865 for (i = 0; i <= PCI_ROM_RESOURCE; i++) in pci_reassigndev_resource_alignment()
|
/openbmc/linux/arch/x86/pci/ |
H A D | i386.c | 293 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_dev_resources() 330 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_dev_rom_resource() 336 if (pci_claim_resource(dev, PCI_ROM_RESOURCE) < 0) { in pcibios_allocate_dev_rom_resource()
|
H A D | common.c | 129 struct resource *rom_r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_fixup_device_resources()
|
H A D | fixup.c | 344 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/openbmc/linux/arch/mips/loongson64/ |
H A D | vbios_quirk.c | 8 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/openbmc/linux/arch/ia64/pci/ |
H A D | fixup.c | 64 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/openbmc/linux/drivers/vfio/pci/ |
H A D | vfio_pci_rdwr.c | 241 else if (bar == PCI_ROM_RESOURCE && in vfio_pci_bar_rw() 252 if (bar == PCI_ROM_RESOURCE) { in vfio_pci_bar_rw() 285 if (bar == PCI_ROM_RESOURCE) in vfio_pci_bar_rw()
|
H A D | vfio_pci_config.c | 506 if (pci_resource_start(pdev, PCI_ROM_RESOURCE)) { in vfio_bar_fixup() 507 mask = ~(pci_resource_len(pdev, PCI_ROM_RESOURCE) - 1); in vfio_bar_fixup() 510 } else if (pdev->resource[PCI_ROM_RESOURCE].flags & in vfio_bar_fixup()
|
/openbmc/linux/drivers/mtd/maps/ |
H A D | pci.c | 160 base = pci_resource_start(dev, PCI_ROM_RESOURCE); in intel_dc21285_init() 161 len = pci_resource_len(dev, PCI_ROM_RESOURCE); in intel_dc21285_init()
|
/openbmc/linux/arch/powerpc/kernel/ |
H A D | eeh_cache.c | 182 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __eeh_addr_cache_insert_dev()
|
H A D | pci-common.c | 539 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in pci_phys_mem_access_prot() 1321 for (idx = 0; idx <= PCI_ROM_RESOURCE; idx++) { in pcibios_allocate_resources() 1330 if (idx == PCI_ROM_RESOURCE ) in pcibios_allocate_resources() 1341 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_resources()
|
H A D | pci_of_scan.c | 153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
|
/openbmc/linux/arch/mips/pci/ |
H A D | pci-legacy.c | 259 if ((idx == PCI_ROM_RESOURCE) && in pcibios_enable_resources()
|
/openbmc/linux/drivers/video/ |
H A D | sticore.c | 991 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic() 1064 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init() 1065 rom_len = pci_resource_len(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
|
/openbmc/linux/drivers/xen/xen-pciback/ |
H A D | conf_space_header.c | 220 pos = PCI_ROM_RESOURCE; in bar_init()
|
/openbmc/linux/drivers/video/fbdev/nvidia/ |
H A D | nvidia.c | 972 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in save_vga_x86() 984 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in restore_vga_x86()
|
/openbmc/linux/drivers/parisc/ |
H A D | dino.c | 660 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()
|
/openbmc/linux/arch/sparc/kernel/ |
H A D | pci.c | 237 res = &dev->resource[PCI_ROM_RESOURCE]; in pci_parse_of_addrs()
|
/openbmc/linux/arch/powerpc/platforms/powernv/ |
H A D | pci-ioda.c | 264 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in pnv_ioda_reserve_dev_m64_pe() 2057 for (i = 0; i <= PCI_ROM_RESOURCE; i++) in pnv_ioda_setup_pe_seg()
|
/openbmc/linux/drivers/video/fbdev/core/ |
H A D | fbmon.c | 1502 res = &dev->resource[PCI_ROM_RESOURCE]; in fb_firmware_edid()
|