/openbmc/linux/arch/riscv/kernel/ |
H A D | setup.c | 196 res->start = __pfn_to_phys(memblock_region_reserved_base_pfn(region)); in init_resources() 197 res->end = __pfn_to_phys(memblock_region_reserved_end_pfn(region)) - 1; in init_resources() 226 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in init_resources() 227 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in init_resources()
|
H A D | crash_dump.c | 20 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
|
/openbmc/linux/arch/arm64/kernel/ |
H A D | setup.c | 245 res->start = __pfn_to_phys(memblock_region_reserved_base_pfn(region)); in request_standard_resources() 246 res->end = __pfn_to_phys(memblock_region_reserved_end_pfn(region)) - 1; in request_standard_resources() 250 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources() 251 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
|
H A D | crash_dump.c | 23 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
|
H A D | machine_kexec.c | 312 addr = __pfn_to_phys(pfn); in crash_is_nosave()
|
/openbmc/linux/arch/arm/mm/ |
H A D | ioremap.c | 201 pmd[0] = __pmd(__pfn_to_phys(pfn) | type->prot_sect); in remap_area_sections() 203 pmd[1] = __pmd(__pfn_to_phys(pfn) | type->prot_sect); in remap_area_sections() 229 super_pmd_val = __pfn_to_phys(pfn) | type->prot_sect | in remap_area_supersections() 256 phys_addr_t paddr = __pfn_to_phys(pfn); in __arm_ioremap_pfn_caller()
|
H A D | mmu.c | 880 phys = __pfn_to_phys(md->pfn); in create_36bit_mapping() 885 (long long)__pfn_to_phys((u64)md->pfn), addr); in create_36bit_mapping() 897 (long long)__pfn_to_phys((u64)md->pfn), addr); in create_36bit_mapping() 901 if ((addr | length | __pfn_to_phys(md->pfn)) & ~SUPERSECTION_MASK) { in create_36bit_mapping() 903 (long long)__pfn_to_phys((u64)md->pfn), addr); in create_36bit_mapping() 954 phys = __pfn_to_phys(md->pfn); in __create_mapping() 959 (long long)__pfn_to_phys(md->pfn), addr); in __create_mapping() 986 (long long)__pfn_to_phys((u64)md->pfn), md->virtual); in create_mapping() 994 (long long)__pfn_to_phys((u64)md->pfn), md->virtual); in create_mapping() 1041 vm->phys_addr = __pfn_to_phys(md->pfn); in iotable_init()
|
H A D | init.c | 127 phys_addr_t addr = __pfn_to_phys(pfn); in pfn_valid()
|
/openbmc/linux/arch/arm/kernel/ |
H A D | crash_dump.c | 27 vaddr = ioremap(__pfn_to_phys(pfn), PAGE_SIZE); in copy_oldmem_page()
|
/openbmc/linux/arch/loongarch/kernel/ |
H A D | crash_dump.c | 14 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
|
H A D | setup.c | 454 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in resource_init() 455 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in resource_init() 459 res->start = __pfn_to_phys(memblock_region_reserved_base_pfn(region)); in resource_init() 460 res->end = __pfn_to_phys(memblock_region_reserved_end_pfn(region)) - 1; in resource_init()
|
/openbmc/linux/include/asm-generic/ |
H A D | memory_model.h | 62 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
|
/openbmc/linux/drivers/mtd/devices/ |
H A D | mtdram.c | 77 *phys = __pfn_to_phys(pfn0) + page_ofs; in ram_point()
|
/openbmc/linux/arch/arc/include/asm/ |
H A D | pgtable-levels.h | 179 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
|
/openbmc/linux/arch/arm/include/asm/ |
H A D | memory.h | 153 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
|
H A D | pgtable.h | 169 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
|
/openbmc/linux/scripts/gdb/linux/ |
H A D | mm.py | 228 def __pfn_to_phys(self, pfn): member in aarch64_page_ops 259 return self.__pfn_to_phys(self.page_to_pfn(page))
|
/openbmc/linux/arch/arm64/mm/ |
H A D | trans_pgd.c | 265 *trans_ttbr0 = phys_to_ttbr(__pfn_to_phys(pfn)); in trans_pgd_idmap_page()
|
/openbmc/linux/arch/arm64/include/asm/ |
H A D | memory.h | 316 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
|
/openbmc/linux/drivers/media/common/videobuf2/ |
H A D | videobuf2-vmalloc.c | 108 ioremap(__pfn_to_phys(nums[0]), size + offset); in vb2_vmalloc_get_userptr()
|
H A D | videobuf2-dma-contig.c | 617 __pfn_to_phys(nums[0]), size, buf->dma_dir, 0); in vb2_dc_get_userptr()
|
/openbmc/linux/mm/ |
H A D | sparse-vmemmap.c | 130 return __va(__pfn_to_phys(pfn)); in altmap_alloc_block_buf()
|
H A D | debug_vm_pgtable.c | 441 WARN_ON(!pmd_set_huge(args->pmdp, __pfn_to_phys(args->fixed_pmd_pfn), args->page_prot)); in pmd_huge_tests() 461 WARN_ON(!pud_set_huge(args->pudp, __pfn_to_phys(args->fixed_pud_pfn), args->page_prot)); in pud_huge_tests()
|
/openbmc/linux/arch/riscv/kvm/ |
H A D | mmu.c | 564 __pfn_to_phys(pfn), PAGE_SIZE, true, true); in kvm_set_spte_gfn()
|
/openbmc/linux/arch/arm64/kvm/ |
H A D | mmu.c | 1593 __pfn_to_phys(pfn), prot, in user_mem_abort() 1811 PAGE_SIZE, __pfn_to_phys(pfn), in kvm_set_spte_gfn()
|