/linux-6.1.9/drivers/pci/ |
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()
|
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() 495 if ((i == PCI_ROM_RESOURCE) && in pci_enable_resources()
|
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()
|
D | pci-sysfs.c | 665 !!(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/ |
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()
|
D | common.c | 129 struct resource *rom_r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_fixup_device_resources()
|
D | fixup.c | 341 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/linux-6.1.9/arch/x86/video/ |
D | fbdev.c | 32 res = pci_dev->resource + PCI_ROM_RESOURCE; in fb_is_primary_device()
|
/linux-6.1.9/arch/mips/loongson64/ |
D | vbios_quirk.c | 8 struct resource *res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/linux-6.1.9/arch/ia64/pci/ |
D | fixup.c | 64 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/linux-6.1.9/drivers/vfio/pci/ |
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()
|
D | vfio_pci_config.c | 505 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/ |
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()
|
/linux-6.1.9/drivers/video/ |
D | aperture.c | 332 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in aperture_remove_conflicting_pci_devices()
|
/linux-6.1.9/drivers/gpu/drm/ast/ |
D | ast_drv.c | 100 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in ast_remove_conflicting_framebuffers()
|
/linux-6.1.9/arch/microblaze/pci/ |
D | pci-common.c | 726 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/ |
D | eeh_cache.c | 182 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __eeh_addr_cache_insert_dev()
|
D | pci-common.c | 539 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()
|
D | pci_of_scan.c | 153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
|
/linux-6.1.9/arch/mips/pci/ |
D | pci-legacy.c | 260 if ((idx == PCI_ROM_RESOURCE) && in pcibios_enable_resources()
|
/linux-6.1.9/drivers/video/console/ |
D | sticore.c | 944 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/ |
D | conf_space_header.c | 235 pos = PCI_ROM_RESOURCE; in bar_init()
|
/linux-6.1.9/drivers/video/fbdev/nvidia/ |
D | nvidia.c | 970 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/ |
D | dino.c | 660 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()
|
/linux-6.1.9/arch/sparc/kernel/ |
D | pci.c | 236 res = &dev->resource[PCI_ROM_RESOURCE]; in pci_parse_of_addrs()
|