Home
last modified time | relevance | path

Searched refs:PCI_ROM_RESOURCE (Results 1 – 25 of 30) sorted by relevance

12

/openbmc/linux/drivers/pci/
H A Drom.c26 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 Dsetup-res.c62 } 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 Dproc.c385 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 Dpci-sysfs.c661 !!(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 Dpci-driver.c1501 for (i = 0; i <= PCI_ROM_RESOURCE; i++) in pci_dev_driver()
H A Dpci.c2071 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 Di386.c293 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 Dcommon.c129 struct resource *rom_r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_fixup_device_resources()
H A Dfixup.c344 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/openbmc/linux/arch/mips/loongson64/
H A Dvbios_quirk.c8 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/openbmc/linux/arch/ia64/pci/
H A Dfixup.c64 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/openbmc/linux/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c241 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 Dvfio_pci_config.c506 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 Dpci.c160 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 Deeh_cache.c182 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __eeh_addr_cache_insert_dev()
H A Dpci-common.c539 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 Dpci_of_scan.c153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
/openbmc/linux/arch/mips/pci/
H A Dpci-legacy.c259 if ((idx == PCI_ROM_RESOURCE) && in pcibios_enable_resources()
/openbmc/linux/drivers/video/
H A Dsticore.c991 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 Dconf_space_header.c220 pos = PCI_ROM_RESOURCE; in bar_init()
/openbmc/linux/drivers/video/fbdev/nvidia/
H A Dnvidia.c972 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 Ddino.c660 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()
/openbmc/linux/arch/sparc/kernel/
H A Dpci.c237 res = &dev->resource[PCI_ROM_RESOURCE]; in pci_parse_of_addrs()
/openbmc/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c264 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 Dfbmon.c1502 res = &dev->resource[PCI_ROM_RESOURCE]; in fb_firmware_edid()

12