Searched refs:phys_addr (Results 1 – 4 of 4) sorted by relevance
/mm/ |
D | early_ioremap.c | 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() [all …]
|
D | ioremap.c | 65 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pte_range() argument 71 pfn = phys_addr >> PAGE_SHIFT; in ioremap_pte_range() 85 unsigned long end, phys_addr_t phys_addr, in ioremap_try_huge_pmd() argument 97 if (!IS_ALIGNED(phys_addr, PMD_SIZE)) in ioremap_try_huge_pmd() 103 return pmd_set_huge(pmd, phys_addr, prot); in ioremap_try_huge_pmd() 107 unsigned long end, phys_addr_t phys_addr, pgprot_t prot, in ioremap_pmd_range() argument 119 if (ioremap_try_huge_pmd(pmd, addr, next, phys_addr, prot)) { in ioremap_pmd_range() 124 if (ioremap_pte_range(pmd, addr, next, phys_addr, prot, mask)) in ioremap_pmd_range() 126 } while (pmd++, phys_addr += (next - addr), addr = next, addr != end); in ioremap_pmd_range() 131 unsigned long end, phys_addr_t phys_addr, in ioremap_try_huge_pud() argument [all …]
|
D | vmalloc.c | 3544 if (v->phys_addr) in s_show() 3545 seq_printf(m, " phys=%pa", &v->phys_addr); in s_show()
|
D | memory.c | 5577 resource_size_t phys_addr; in generic_access_phys() local 5582 if (follow_phys(vma, addr, write, &prot, &phys_addr)) in generic_access_phys() 5585 maddr = ioremap_prot(phys_addr, PAGE_ALIGN(len + offset), prot); in generic_access_phys()
|