Lines Matching refs:offset
9 __weak void __iomem *ioremap_cache(resource_size_t offset, unsigned long size) in ioremap_cache() argument
11 return ioremap(offset, size); in ioremap_cache()
16 static void *arch_memremap_wb(resource_size_t offset, unsigned long size) in arch_memremap_wb() argument
18 return (__force void *)ioremap_cache(offset, size); in arch_memremap_wb()
23 static bool arch_memremap_can_ram_remap(resource_size_t offset, size_t size, in arch_memremap_can_ram_remap() argument
30 static void *try_ram_remap(resource_size_t offset, size_t size, in try_ram_remap() argument
33 unsigned long pfn = PHYS_PFN(offset); in try_ram_remap()
37 arch_memremap_can_ram_remap(offset, size, flags)) in try_ram_remap()
38 return __va(offset); in try_ram_remap()
71 void *memremap(resource_size_t offset, size_t size, unsigned long flags) in memremap() argument
73 int is_ram = region_intersects(offset, size, in memremap()
82 &offset, (unsigned long) size); in memremap()
95 addr = try_ram_remap(offset, size, flags); in memremap()
97 addr = arch_memremap_wb(offset, size); in memremap()
108 &offset, (unsigned long) size); in memremap()
113 addr = ioremap_wt(offset, size); in memremap()
116 addr = ioremap_wc(offset, size); in memremap()
139 void *devm_memremap(struct device *dev, resource_size_t offset, in devm_memremap() argument
149 addr = memremap(offset, size, flags); in devm_memremap()