Lines Matching refs:phys_addr
34 pgprot_t __init __weak early_memremap_pgprot_adjust(resource_size_t phys_addr, in early_memremap_pgprot_adjust() argument
106 __early_ioremap(resource_size_t phys_addr, unsigned long size, pgprot_t prot) in __early_ioremap() argument
125 __func__, &phys_addr, size)) in __early_ioremap()
129 last_addr = phys_addr + size - 1; in __early_ioremap()
130 if (WARN_ON(!size || last_addr < phys_addr)) in __early_ioremap()
137 offset = offset_in_page(phys_addr); in __early_ioremap()
138 phys_addr &= PAGE_MASK; in __early_ioremap()
139 size = PAGE_ALIGN(last_addr + 1) - phys_addr; in __early_ioremap()
154 __late_set_fixmap(idx, phys_addr, prot); in __early_ioremap()
156 __early_set_fixmap(idx, phys_addr, prot); in __early_ioremap()
157 phys_addr += PAGE_SIZE; in __early_ioremap()
162 __func__, &phys_addr, size, slot, offset, slot_virt[slot]); in __early_ioremap()
217 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap() argument
219 return __early_ioremap(phys_addr, size, FIXMAP_PAGE_IO); in early_ioremap()
224 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap() argument
226 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap()
229 return (__force void *)__early_ioremap(phys_addr, size, prot); in early_memremap()
233 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() argument
235 pgprot_t prot = early_memremap_pgprot_adjust(phys_addr, size, in early_memremap_ro()
238 return (__force void *)__early_ioremap(phys_addr, size, prot); in early_memremap_ro()
244 early_memremap_prot(resource_size_t phys_addr, unsigned long size, in early_memremap_prot() argument
247 return (__force void *)__early_ioremap(phys_addr, size, in early_memremap_prot()
276 early_ioremap(resource_size_t phys_addr, unsigned long size) in early_ioremap() argument
278 return (__force void __iomem *)phys_addr; in early_ioremap()
283 early_memremap(resource_size_t phys_addr, unsigned long size) in early_memremap() argument
285 return (void *)phys_addr; in early_memremap()
288 early_memremap_ro(resource_size_t phys_addr, unsigned long size) in early_memremap_ro() argument
290 return (void *)phys_addr; in early_memremap_ro()