Home
last modified time | relevance | path

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

123456

/linux-6.12.1/include/linux/
Dioport.h229 extern struct resource iomem_resource;
306 #define __request_mem_region(start,n,name, excl) __request_region(&iomem_resource, (start), (n), (n…
307 #define request_mem_region(start,n,name) __request_region(&iomem_resource, (start), (n), (name), 0)
309 __request_region(&iomem_resource, (start), (n), (name), IORESOURCE_MUXED)
311 __request_region(&iomem_resource, (start), (n), (name), IORESOURCE_EXCLUSIVE)
321 #define release_mem_region(start,n) __release_region(&iomem_resource, (start), (n))
342 __devm_request_region(dev, &iomem_resource, (start), (n), (name))
351 __devm_release_region(dev, &iomem_resource, (start), (n))
/linux-6.12.1/arch/riscv/kernel/
Dsetup.c115 ret = add_resource(&iomem_resource, &kimage_res); in add_kernel_resources()
168 add_resource(&iomem_resource, &elfcorehdr_res); in init_resources()
190 ret = add_resource(&iomem_resource, res); in init_resources()
210 ret = add_resource(&iomem_resource, res); in init_resources()
222 release_child_resources(&iomem_resource); in init_resources()
/linux-6.12.1/arch/x86/kernel/
Dprobe_roms.c225 request_resource(&iomem_resource, &video_rom_resource); in probe_roms()
234 request_resource(&iomem_resource, &system_rom_resource); in probe_roms()
242 request_resource(&iomem_resource, &extension_rom_resource); in probe_roms()
265 request_resource(&iomem_resource, &adapter_rom_resources[i]); in probe_roms()
Dsetup.c835 iomem_resource.end = (1ULL << boot_cpu_data.x86_phys_bits) - 1; in setup_arch()
922 insert_resource(&iomem_resource, &code_resource); in setup_arch()
923 insert_resource(&iomem_resource, &rodata_resource); in setup_arch()
924 insert_resource(&iomem_resource, &data_resource); in setup_arch()
925 insert_resource(&iomem_resource, &bss_resource); in setup_arch()
1209 request_resource(&iomem_resource, &video_ram_resource); in i386_reserve_resources()
/linux-6.12.1/arch/mips/alchemy/common/
Dsetup.c74 iomem_resource.start = IOMEM_RESOURCE_START; in plat_mem_setup()
75 iomem_resource.end = IOMEM_RESOURCE_END; in plat_mem_setup()
/linux-6.12.1/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-6.12.1/arch/mips/lantiq/
Dprom.c73 iomem_resource.start = IOMEM_RESOURCE_START; in plat_mem_setup()
74 iomem_resource.end = IOMEM_RESOURCE_END; in plat_mem_setup()
/linux-6.12.1/arch/parisc/kernel/
Dsetup.c208 result = request_resource(&iomem_resource, &central_bus); in parisc_init_resources()
216 result = request_resource(&iomem_resource, &local_broadcast); in parisc_init_resources()
224 result = request_resource(&iomem_resource, &global_broadcast); in parisc_init_resources()
/linux-6.12.1/drivers/xen/
Dunpopulated-alloc.c29 *res = &iomem_resource; in arch_xen_unpopulated_init()
64 if (target_resource != &iomem_resource) { in fill_list()
76 ret = request_resource(&iomem_resource, tmp_res); in fill_list()
/linux-6.12.1/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-6.12.1/kernel/
Dcrash_reserve.c372 insert_resource(&iomem_resource, &crashk_low_res); in reserve_crashkernel_low()
457 insert_resource(&iomem_resource, &crashk_res); in reserve_crashkernel_generic()
465 insert_resource(&iomem_resource, &crashk_res); in insert_crashkernel_resources()
468 insert_resource(&iomem_resource, &crashk_low_res); in insert_crashkernel_resources()
Dresource.c43 struct resource iomem_resource = { variable
49 EXPORT_SYMBOL(iomem_resource);
138 proc_create_seq_data("iomem", 0, NULL, &resource_op, &iomem_resource); in ioresources_init()
331 for_each_resource(&iomem_resource, p, false) { in find_next_iomem_res()
633 ret = __region_intersects(&iomem_resource, start, size, flags, desc); in region_intersects()
1324 if (parent == &iomem_resource) in __request_region()
1400 struct resource *parent = &iomem_resource; in release_mem_region_adjustable()
1710 parent = &iomem_resource; in reserve_setup()
1737 for_each_resource(&iomem_resource, p, false) { in iomem_map_sanity_check()
1829 return resource_is_exclusive(&iomem_resource, addr & PAGE_MASK, in iomem_is_exclusive()
[all …]
/linux-6.12.1/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-6.12.1/arch/mips/txx9/generic/
Dpci.c143 if (request_resource(&iomem_resource, &pcic->mem_resource[0])) in txx9_alloc_pci_controller()
160 if (allocate_resource(&iomem_resource, in txx9_alloc_pci_controller()
174 if (request_resource(&iomem_resource, &pcic->mem_resource[1])) in txx9_alloc_pci_controller()
182 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()
Dsetup_tx4927.c106 request_resource(&iomem_resource, &txx9_ce_res[i]); in tx4927_setup()
206 request_resource(&iomem_resource, &tx4927_sdram_resource[i]); in tx4927_setup()
/linux-6.12.1/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-6.12.1/arch/arm64/kernel/
Dsetup.c216 insert_resource(&iomem_resource, &kernel_code); in request_standard_resources()
217 insert_resource(&iomem_resource, &kernel_data); in request_standard_resources()
239 insert_resource(&iomem_resource, res); in request_standard_resources()
/linux-6.12.1/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-6.12.1/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-6.12.1/drivers/tc/
Dtc.c176 if (request_resource(&iomem_resource, in tc_init()
188 if (request_resource(&iomem_resource, in tc_init()
/linux-6.12.1/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.c891 request_resource(&iomem_resource, res); in request_standard_resources()
903 request_resource(&iomem_resource, res); in request_standard_resources()
916 request_resource(&iomem_resource, &video_ram); in request_standard_resources()
1050 insert_resource(&iomem_resource, &crashk_res); in reserve_crashkernel()
1064 insert_resource(&iomem_resource, &crashk_boot_res); in reserve_crashkernel()
/linux-6.12.1/arch/arm/mach-footbridge/
Ddc21285.c276 allocate_resource(&iomem_resource, &res[1], 0x20000000, in dc21285_setup()
278 allocate_resource(&iomem_resource, &res[0], 0x40000000, in dc21285_setup()
/linux-6.12.1/tools/testing/nvdimm/test/
Diomap.c208 WARN_ON(!nfit_test_release_region(NULL, &iomem_resource, res->start, in nfit_devres_release()
224 if (parent == &iomem_resource) { in nfit_test_release_region()
263 if (parent == &iomem_resource) { in nfit_test_request_region()

123456