Home
last modified time | relevance | path

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

12

/linux/drivers/pci/
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()
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()
123 if (resno <= PCI_ROM_RESOURCE) in pci_update_resource()
480 if ((i == PCI_ROM_RESOURCE) && in pci_enable_resources()
A Dproc.c382 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in show_device()
389 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in show_device()
A Dpci-sysfs.c687 !!(pdev->resource[PCI_ROM_RESOURCE].flags & in boot_vga_show()
1346 rom_size = pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_dev_rom_attr_is_visible()
/linux/arch/mips/loongson64/
A Dvbios_quirk.c8 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_radeon()
26 PCI_ROM_RESOURCE, res); in pci_fixup_radeon()
/linux/arch/x86/pci/
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()
A Dcommon.c129 struct resource *rom_r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_fixup_device_resources()
A Dfixup.c341 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux/arch/x86/video/
A Dfbdev.c32 res = pci_dev->resource + PCI_ROM_RESOURCE; in fb_is_primary_device()
/linux/drivers/vfio/pci/
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()
A Dvfio_pci_config.c502 if (pci_resource_start(pdev, PCI_ROM_RESOURCE)) { in vfio_bar_fixup()
503 mask = ~(pci_resource_len(pdev, PCI_ROM_RESOURCE) - 1); in vfio_bar_fixup()
506 } else if (pdev->resource[PCI_ROM_RESOURCE].flags & in vfio_bar_fixup()
/linux/arch/ia64/pci/
A Dfixup.c64 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux/drivers/mtd/maps/
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/sparc/kernel/
A Dpci.c236 res = &dev->resource[PCI_ROM_RESOURCE]; in pci_parse_of_addrs()
830 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __pci_mmap_make_offset()
839 if (i == PCI_ROM_RESOURCE) { in __pci_mmap_make_offset()
862 if (i > PCI_ROM_RESOURCE) in __pci_mmap_make_offset()
/linux/arch/microblaze/pci/
A Dpci-common.c188 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in pci_phys_mem_access_prot()
775 for (idx = 0; idx <= PCI_ROM_RESOURCE; idx++) { in pcibios_allocate_resources()
784 if (idx == PCI_ROM_RESOURCE) in pcibios_allocate_resources()
795 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_resources()
/linux/drivers/gpu/drm/ast/
A Dast_drv.c100 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in ast_remove_conflicting_framebuffers()
/linux/arch/powerpc/kernel/
A Dpci-common.c521 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in pci_phys_mem_access_prot()
1302 for (idx = 0; idx <= PCI_ROM_RESOURCE; idx++) { in pcibios_allocate_resources()
1311 if (idx == PCI_ROM_RESOURCE ) in pcibios_allocate_resources()
1322 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_resources()
A Deeh_cache.c182 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __eeh_addr_cache_insert_dev()
A Dpci_of_scan.c153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
/linux/drivers/video/console/
A Dsticore.c922 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
995 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
996 rom_len = pci_resource_len(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
/linux/arch/mips/pci/
A Dpci-legacy.c260 if ((idx == PCI_ROM_RESOURCE) && in pcibios_enable_resources()
/linux/drivers/xen/xen-pciback/
A Dconf_space_header.c235 pos = PCI_ROM_RESOURCE; in bar_init()
/linux/drivers/usb/core/
A Dhcd-pci.c251 if (region == PCI_ROM_RESOURCE) { in usb_hcd_pci_probe()
/linux/drivers/video/fbdev/nvidia/
A Dnvidia.c969 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in save_vga_x86()
981 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in restore_vga_x86()
/linux/drivers/parisc/
A Ddino.c632 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()

Completed in 47 milliseconds

12