Home
last modified time | relevance | path

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

12

/linux-6.1.9/drivers/pci/
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()
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()
495 if ((i == PCI_ROM_RESOURCE) && in pci_enable_resources()
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()
Dpci-sysfs.c665 !!(pdev->resource[PCI_ROM_RESOURCE].flags & in boot_vga_show()
1324 rom_size = pci_resource_len(pdev, PCI_ROM_RESOURCE); in pci_dev_rom_attr_is_visible()
/linux-6.1.9/arch/x86/pci/
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()
Dcommon.c129 struct resource *rom_r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_fixup_device_resources()
Dfixup.c341 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux-6.1.9/arch/x86/video/
Dfbdev.c32 res = pci_dev->resource + PCI_ROM_RESOURCE; in fb_is_primary_device()
/linux-6.1.9/arch/mips/loongson64/
Dvbios_quirk.c8 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux-6.1.9/arch/ia64/pci/
Dfixup.c64 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
/linux-6.1.9/drivers/vfio/pci/
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()
Dvfio_pci_config.c505 if (pci_resource_start(pdev, PCI_ROM_RESOURCE)) { in vfio_bar_fixup()
506 mask = ~(pci_resource_len(pdev, PCI_ROM_RESOURCE) - 1); in vfio_bar_fixup()
509 } else if (pdev->resource[PCI_ROM_RESOURCE].flags & in vfio_bar_fixup()
/linux-6.1.9/drivers/mtd/maps/
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-6.1.9/drivers/video/
Daperture.c332 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in aperture_remove_conflicting_pci_devices()
/linux-6.1.9/drivers/gpu/drm/ast/
Dast_drv.c100 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in ast_remove_conflicting_framebuffers()
/linux-6.1.9/arch/microblaze/pci/
Dpci-common.c726 for (idx = 0; idx <= PCI_ROM_RESOURCE; idx++) { in pcibios_allocate_resources()
735 if (idx == PCI_ROM_RESOURCE) in pcibios_allocate_resources()
746 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_resources()
/linux-6.1.9/arch/powerpc/kernel/
Deeh_cache.c182 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __eeh_addr_cache_insert_dev()
Dpci-common.c539 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in pci_phys_mem_access_prot()
1320 for (idx = 0; idx <= PCI_ROM_RESOURCE; idx++) { in pcibios_allocate_resources()
1329 if (idx == PCI_ROM_RESOURCE ) in pcibios_allocate_resources()
1340 r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_allocate_resources()
Dpci_of_scan.c153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
/linux-6.1.9/arch/mips/pci/
Dpci-legacy.c260 if ((idx == PCI_ROM_RESOURCE) && in pcibios_enable_resources()
/linux-6.1.9/drivers/video/console/
Dsticore.c944 rom_base = pci_resource_start(sti->pd, PCI_ROM_RESOURCE); in sti_try_rom_generic()
1017 rom_base = pci_resource_start(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
1018 rom_len = pci_resource_len(pd, PCI_ROM_RESOURCE); in sticore_pci_init()
/linux-6.1.9/drivers/xen/xen-pciback/
Dconf_space_header.c235 pos = PCI_ROM_RESOURCE; in bar_init()
/linux-6.1.9/drivers/video/fbdev/nvidia/
Dnvidia.c970 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in save_vga_x86()
982 struct resource *res= &par->pci_dev->resource[PCI_ROM_RESOURCE]; in restore_vga_x86()
/linux-6.1.9/drivers/parisc/
Ddino.c660 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()
/linux-6.1.9/arch/sparc/kernel/
Dpci.c236 res = &dev->resource[PCI_ROM_RESOURCE]; in pci_parse_of_addrs()

12