Home
last modified time | relevance | path

Searched refs:__pfn_to_phys (Results 1 – 25 of 27) sorted by relevance

12

/openbmc/linux/arch/riscv/kernel/
H A Dsetup.c196 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 Dcrash_dump.c20 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
/openbmc/linux/arch/arm64/kernel/
H A Dsetup.c245 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 Dcrash_dump.c23 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
H A Dmachine_kexec.c312 addr = __pfn_to_phys(pfn); in crash_is_nosave()
/openbmc/linux/arch/arm/mm/
H A Dioremap.c201 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 Dmmu.c880 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 Dinit.c127 phys_addr_t addr = __pfn_to_phys(pfn); in pfn_valid()
/openbmc/linux/arch/arm/kernel/
H A Dcrash_dump.c27 vaddr = ioremap(__pfn_to_phys(pfn), PAGE_SIZE); in copy_oldmem_page()
/openbmc/linux/arch/loongarch/kernel/
H A Dcrash_dump.c14 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
H A Dsetup.c454 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 Dmemory_model.h62 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
/openbmc/linux/drivers/mtd/devices/
H A Dmtdram.c77 *phys = __pfn_to_phys(pfn0) + page_ofs; in ram_point()
/openbmc/linux/arch/arc/include/asm/
H A Dpgtable-levels.h179 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
/openbmc/linux/arch/arm/include/asm/
H A Dmemory.h153 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
H A Dpgtable.h169 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
/openbmc/linux/scripts/gdb/linux/
H A Dmm.py228 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 Dtrans_pgd.c265 *trans_ttbr0 = phys_to_ttbr(__pfn_to_phys(pfn)); in trans_pgd_idmap_page()
/openbmc/linux/arch/arm64/include/asm/
H A Dmemory.h316 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
/openbmc/linux/drivers/media/common/videobuf2/
H A Dvideobuf2-vmalloc.c108 ioremap(__pfn_to_phys(nums[0]), size + offset); in vb2_vmalloc_get_userptr()
H A Dvideobuf2-dma-contig.c617 __pfn_to_phys(nums[0]), size, buf->dma_dir, 0); in vb2_dc_get_userptr()
/openbmc/linux/mm/
H A Dsparse-vmemmap.c130 return __va(__pfn_to_phys(pfn)); in altmap_alloc_block_buf()
H A Ddebug_vm_pgtable.c441 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 Dmmu.c564 __pfn_to_phys(pfn), PAGE_SIZE, true, true); in kvm_set_spte_gfn()
/openbmc/linux/arch/arm64/kvm/
H A Dmmu.c1593 __pfn_to_phys(pfn), prot, in user_mem_abort()
1811 PAGE_SIZE, __pfn_to_phys(pfn), in kvm_set_spte_gfn()

12