Home
last modified time | relevance | path

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

/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 Dpci-sysfs.c718 !!(pdev->resource[PCI_ROM_RESOURCE].flags & in boot_vga_show()
1407 if (!pci_resource_end(pdev, PCI_ROM_RESOURCE)) in pci_dev_rom_attr_is_visible()
1418 return pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_dev_rom_attr_bin_size()
H A Dsetup-bus.c381 if (resno == PCI_ROM_RESOURCE && !(res->flags & IORESOURCE_ROM_ENABLE)) in pci_resource_is_optional()
H A Dprobe.c386 struct resource *res = &dev->resource[PCI_ROM_RESOURCE]; in pci_read_bases()
/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.c384 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux/arch/mips/loongson64/
H A Dvbios_quirk.c8 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux/drivers/vfio/pci/
H A Dvfio_pci_rdwr.c241 else if (bar == PCI_ROM_RESOURCE && pdev->rom && pdev->romlen) in vfio_pci_bar_rw()
251 if (bar == PCI_ROM_RESOURCE) { in vfio_pci_bar_rw()
297 if (bar == PCI_ROM_RESOURCE) { in vfio_pci_bar_rw()
H A Dvfio_pci_config.c511 if (pci_resource_start(pdev, PCI_ROM_RESOURCE)) { in vfio_bar_fixup()
512 mask = ~(pci_resource_len(pdev, PCI_ROM_RESOURCE) - 1); in vfio_bar_fixup()
H A Dvfio_pci_core.c1073 if (pci_resource_start(pdev, PCI_ROM_RESOURCE)) { in vfio_pci_ioctl_get_region_info()
1084 PCI_ROM_RESOURCE); in vfio_pci_ioctl_get_region_info()
/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()
/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_of_scan.c153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
/linux/drivers/video/
H A Dsticore.c991 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
1067 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
1068 rom_len = pci_resource_len(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
/linux/drivers/xen/xen-pciback/
H A Dconf_space_header.c220 pos = PCI_ROM_RESOURCE; in bar_init()
/linux/drivers/video/fbdev/nvidia/
H A Dnvidia.c973 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in save_vga_x86()
985 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in restore_vga_x86()
/linux/drivers/parisc/
H A Ddino.c660 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()
/linux/arch/sparc/kernel/
H A Dpci.c237 res = &dev->resource[PCI_ROM_RESOURCE]; in pci_parse_of_addrs()
/linux/arch/powerpc/platforms/powernv/
H A Dpci-ioda.c262 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in pnv_ioda_reserve_dev_m64_pe()
1990 for (i = 0; i <= PCI_ROM_RESOURCE; i++) in pnv_ioda_setup_pe_seg()
/linux/drivers/video/fbdev/core/
H A Dfbmon.c1504 res = &dev->resource[PCI_ROM_RESOURCE]; in fb_firmware_edid()
/linux/include/linux/
H A Dpci.h102 PCI_ROM_RESOURCE, enumerator