Lines Matching refs:phys_addr
35 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust() argument
100 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() argument
119 __func__, &phys_addr, size)) in __early_ioremap()
123 last_addr = phys_addr + size - 1; in __early_ioremap()
124 if (WARN_ON(!size || last_addr < phys_addr)) in __early_ioremap()
131 offset = offset_in_page(phys_addr); in __early_ioremap()
132 phys_addr &= PAGE_MASK; in __early_ioremap()
133 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in __early_ioremap()
148 __late_set_fixmap(idx, phys_addr, prot); in __early_ioremap()
150 __early_set_fixmap(idx, phys_addr, prot); in __early_ioremap()
151 phys_addr += PAGE_SIZE; in __early_ioremap()
156 __func__, &phys_addr, size, slot, offset, slot_virt[slot]); in __early_ioremap()
211 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap() argument
213 return __early_ioremap(phys_addr, size, FIXMAP_PAGE_IO); in early_ioremap()
218 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap() argument
220 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap()
223 return (__force void *)__early_ioremap(phys_addr, size, prot); in early_memremap()
227 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() argument
229 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro()
232 return (__force void *)__early_ioremap(phys_addr, size, prot); in early_memremap_ro()
238 early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot() argument
241 return (__force void *)__early_ioremap(phys_addr, size, in early_memremap_prot()
270 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap() argument
272 return (__force void __iomem *)phys_addr; in early_ioremap()
277 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap() argument
279 return (void *)phys_addr; in early_memremap()
282 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() argument
284 return (void *)phys_addr; in early_memremap_ro()