/linux/drivers/pci/ |
A 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()
|
A 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() 123 if (resno <= PCI_ROM_RESOURCE) in pci_update_resource() 480 if ((i == PCI_ROM_RESOURCE) && in pci_enable_resources()
|
A D | proc.c | 382 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in show_device() 389 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in show_device()
|
A D | pci-sysfs.c | 687 !!(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 D | vbios_quirk.c | 8 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 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()
|
A D | common.c | 129 struct resource *rom_r = &dev->resource[PCI_ROM_RESOURCE]; in pcibios_fixup_device_resources()
|
A D | fixup.c | 341 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/linux/arch/x86/video/ |
A D | fbdev.c | 32 res = pci_dev->resource + PCI_ROM_RESOURCE; in fb_is_primary_device()
|
/linux/drivers/vfio/pci/ |
A 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()
|
A D | vfio_pci_config.c | 502 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 D | fixup.c | 64 res = &pdev->resource[PCI_ROM_RESOURCE]; in pci_fixup_video()
|
/linux/drivers/mtd/maps/ |
A 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/arch/sparc/kernel/ |
A D | pci.c | 236 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 D | pci-common.c | 188 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 D | ast_drv.c | 100 primary = pdev->resource[PCI_ROM_RESOURCE].flags & IORESOURCE_ROM_SHADOW; in ast_remove_conflicting_framebuffers()
|
/linux/arch/powerpc/kernel/ |
A D | pci-common.c | 521 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 D | eeh_cache.c | 182 for (i = 0; i <= PCI_ROM_RESOURCE; i++) { in __eeh_addr_cache_insert_dev()
|
A D | pci_of_scan.c | 153 res = &dev->resource[PCI_ROM_RESOURCE]; in of_pci_parse_addrs()
|
/linux/drivers/video/console/ |
A D | sticore.c | 922 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 D | pci-legacy.c | 260 if ((idx == PCI_ROM_RESOURCE) && in pcibios_enable_resources()
|
/linux/drivers/xen/xen-pciback/ |
A D | conf_space_header.c | 235 pos = PCI_ROM_RESOURCE; in bar_init()
|
/linux/drivers/usb/core/ |
A D | hcd-pci.c | 251 if (region == PCI_ROM_RESOURCE) { in usb_hcd_pci_probe()
|
/linux/drivers/video/fbdev/nvidia/ |
A D | nvidia.c | 969 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 D | dino.c | 632 dev->resource[PCI_ROM_RESOURCE].flags = 0; in dino_fixup_bus()
|