Home
last modified time | relevance | path

Searched refs:iomem_resource (Results 1 – 25 of 136) sorted by relevance

123456

/Linux-v5.15/arch/riscv/kernel/
Dsetup.c123 ret = add_resource(&iomem_resource, &kimage_res); in add_kernel_resources()
173 ret = add_resource(&iomem_resource, &crashk_res); in init_resources()
184 add_resource(&iomem_resource, &elfcorehdr_res); in init_resources()
206 ret = add_resource(&iomem_resource, res); in init_resources()
226 ret = add_resource(&iomem_resource, res); in init_resources()
238 release_child_resources(&iomem_resource); in init_resources()
/Linux-v5.15/include/linux/
Dioport.h186 extern struct resource iomem_resource;
263 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n…
264 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0)
266 __request_region(&iomem_resource, (start), (n), (name), IORESOURCE_EXCLUSIVE)
276 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n))
297 __devm_request_region(dev, &iomem_resource, (start), (n), (name))
306 __devm_release_region(dev, &iomem_resource, (start), (n))
/Linux-v5.15/arch/mips/vr41xx/common/
Dinit.c22 iomem_resource.start = IO_MEM_RESOURCE_START; in iomem_resource_init()
23 iomem_resource.end = IO_MEM_RESOURCE_END; in iomem_resource_init()
/Linux-v5.15/arch/x86/kernel/
Dprobe_roms.c224 request_resource(&iomem_resource, &video_rom_resource); in probe_roms()
233 request_resource(&iomem_resource, &system_rom_resource); in probe_roms()
241 request_resource(&iomem_resource, &extension_rom_resource); in probe_roms()
264 request_resource(&iomem_resource, &adapter_rom_resources[i]); in probe_roms()
Dsetup.c461 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low()
535 insert_resource(&iomem_resource, &crashk_res); in reserve_crashkernel()
847 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1; in setup_arch()
944 insert_resource(&iomem_resource, &code_resource); in setup_arch()
945 insert_resource(&iomem_resource, &rodata_resource); in setup_arch()
946 insert_resource(&iomem_resource, &data_resource); in setup_arch()
947 insert_resource(&iomem_resource, &bss_resource); in setup_arch()
1236 request_resource(&iomem_resource, &video_ram_resource); in i386_reserve_resources()
/Linux-v5.15/arch/mips/alchemy/common/
Dsetup.c76 iomem_resource.start = IOMEM_RESOURCE_START; in plat_mem_setup()
77 iomem_resource.end = IOMEM_RESOURCE_END; in plat_mem_setup()
/Linux-v5.15/drivers/parisc/
Diommu.h47 #define ccio_request_resource(dev, res) insert_resource(&iomem_resource, res)
49 allocate_resource(&iomem_resource, res, size, min, max, \
/Linux-v5.15/arch/mips/lantiq/
Dprom.c71 iomem_resource.start = IOMEM_RESOURCE_START; in plat_mem_setup()
72 iomem_resource.end = IOMEM_RESOURCE_END; in plat_mem_setup()
/Linux-v5.15/arch/m68k/coldfire/
Dpci.c181 request_resource(&iomem_resource, &mcf_pci_mem); in mcf_pci_init()
182 request_resource(&iomem_resource, &mcf_pci_io); in mcf_pci_init()
233 pci_add_resource(&bridge->windows, &iomem_resource); in mcf_pci_init()
/Linux-v5.15/arch/parisc/kernel/
Dsetup.c258 result = request_resource(&iomem_resource, &central_bus); in parisc_init_resources()
266 result = request_resource(&iomem_resource, &local_broadcast); in parisc_init_resources()
274 result = request_resource(&iomem_resource, &global_broadcast); in parisc_init_resources()
/Linux-v5.15/arch/arm/mach-sa1100/
Dpci-nanoengine.c135 if (request_resource(&iomem_resource, &pci_non_prefetchable_memory)) { in pci_nanoengine_setup_resources()
140 if (request_resource(&iomem_resource, &pci_prefetchable_memory)) { in pci_nanoengine_setup_resources()
/Linux-v5.15/arch/mips/txx9/generic/
Dpci.c142 if (request_resource(&iomem_resource, &pcic->mem_resource[0])) in txx9_alloc_pci_controller()
159 if (allocate_resource(&iomem_resource, in txx9_alloc_pci_controller()
173 if (request_resource(&iomem_resource, &pcic->mem_resource[1])) in txx9_alloc_pci_controller()
181 if (allocate_resource(&iomem_resource, in txx9_alloc_pci_controller()
Dsetup_tx4938.c111 request_resource(&iomem_resource, &txx9_ce_res[i]); in tx4938_setup()
219 request_resource(&iomem_resource, &tx4938_sdram_resource[i]); in tx4938_setup()
233 request_resource(&iomem_resource, &tx4938_sram_resource); in tx4938_setup()
/Linux-v5.15/arch/m68k/atari/
Dstram.c104 request_resource(&iomem_resource, &stram_pool); in atari_stram_reserve_pages()
127 request_resource(&iomem_resource, &stram_pool); in atari_stram_map_pages()
/Linux-v5.15/arch/mips/n64/
Dinit.c37 iomem_resource.start = IO_MEM_RESOURCE_START; in iomem_resource_init()
38 iomem_resource.end = IO_MEM_RESOURCE_END; in iomem_resource_init()
/Linux-v5.15/kernel/
Dresource.c41 struct resource iomem_resource = { variable
47 EXPORT_SYMBOL(iomem_resource);
142 proc_create_seq_data("iomem", 0, NULL, &resource_op, &iomem_resource); in ioresources_init()
352 for (p = iomem_resource.child; p; p = next_resource(p)) { in find_next_iomem_res()
515 for (p = iomem_resource.child; p ; p = p->sibling) { in __region_intersects()
1241 if (parent == &iomem_resource) in __request_region()
1319 struct resource *parent = &iomem_resource; in release_mem_region_adjustable()
1643 parent = &iomem_resource; in reserve_setup()
1665 struct resource *p = &iomem_resource; in iomem_map_sanity_check()
1715 struct resource *p = &iomem_resource; in iomem_is_exclusive()
[all …]
/Linux-v5.15/arch/arm/mach-s3c/
Dpl080.c259 amba_device_register(&s3c64xx_dma0_device, &iomem_resource); in s3c64xx_pl080_init()
260 amba_device_register(&s3c64xx_dma1_device, &iomem_resource); in s3c64xx_pl080_init()
/Linux-v5.15/drivers/mtd/maps/
Dscx200_docflash.c125 if (request_resource(&iomem_resource, &docmem)) { in init_scx200_docflash()
143 if (allocate_resource(&iomem_resource, &docmem, in init_scx200_docflash()
/Linux-v5.15/arch/arm/kernel/
Dtcm.c321 request_resource(&iomem_resource, &dtcm_res); in tcm_init()
359 request_resource(&iomem_resource, &itcm_res); in tcm_init()
Dsetup.c884 request_resource(&iomem_resource, res); in request_standard_resources()
896 request_resource(&iomem_resource, res); in request_standard_resources()
909 request_resource(&iomem_resource, &video_ram); in request_standard_resources()
1042 insert_resource(&iomem_resource, &crashk_res); in reserve_crashkernel()
1056 insert_resource(&iomem_resource, &crashk_boot_res); in reserve_crashkernel()
/Linux-v5.15/drivers/tc/
Dtc.c176 if (request_resource(&iomem_resource, in tc_init()
188 if (request_resource(&iomem_resource, in tc_init()
/Linux-v5.15/arch/arm/mach-footbridge/
Ddc21285.c262 allocate_resource(&iomem_resource, &res[1], 0x20000000, in dc21285_setup()
264 allocate_resource(&iomem_resource, &res[0], 0x40000000, in dc21285_setup()
/Linux-v5.15/arch/arm/mach-cns3xxx/
Dpcie.c113 BUG_ON(request_resource(&iomem_resource, res_io) || in cns3xxx_pci_setup()
114 request_resource(&iomem_resource, res_mem)); in cns3xxx_pci_setup()
/Linux-v5.15/tools/testing/nvdimm/test/
Diomap.c229 WARN_ON(!nfit_test_release_region(NULL, &iomem_resource, res->start, in nfit_devres_release()
245 if (parent == &iomem_resource) { in nfit_test_release_region()
284 if (parent == &iomem_resource) { in nfit_test_request_region()
/Linux-v5.15/arch/arm/mach-mv78xx0/
Dpcie.c68 if (request_resource(&iomem_resource, &pcie_io_space)) in mv78xx0_pcie_preinit()
89 if (request_resource(&iomem_resource, &pp->res)) in mv78xx0_pcie_preinit()

123456