Home
last modified time | relevance | path

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

12

/arch/unicore32/mm/
Dioremap.c118 set_pmd(pmd, __pmd(__pfn_to_phys(pfn) | type->prot_sect)); in remap_area_sections()
140 if (pfn >= 0x100000 && (__pfn_to_phys(pfn) & ~SECTION_MASK)) in __uc32_ioremap_pfn_caller()
168 if (!((__pfn_to_phys(pfn) | size | addr) & ~PMD_MASK)) { in __uc32_ioremap_pfn_caller()
172 err = ioremap_page_range(addr, addr + size, __pfn_to_phys(pfn), in __uc32_ioremap_pfn_caller()
Dinit.c101 __pfn_to_phys(end_pfn)); in uc32_bootmem_init()
121 free_bootmem(__pfn_to_phys(start), (end - start) << PAGE_SHIFT); in uc32_bootmem_init()
134 reserve_bootmem(__pfn_to_phys(start), in uc32_bootmem_init()
Dmmu.c217 __pfn_to_phys((u64)md->pfn), md->virtual); in create_mapping()
225 __pfn_to_phys((u64)md->pfn), md->virtual); in create_mapping()
231 phys = (unsigned long)__pfn_to_phys(md->pfn); in create_mapping()
237 __pfn_to_phys(md->pfn), addr); in create_mapping()
/arch/arm/kernel/
Dcrash_dump.c42 vaddr = ioremap(__pfn_to_phys(pfn), PAGE_SIZE); in copy_oldmem_page()
Dsetup.c859 phys_addr_t start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources()
860 phys_addr_t end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
/arch/arm/mach-footbridge/include/mach/
Dmemory.h48 #define __pfn_to_bus(x) (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET))
/arch/arm64/kernel/
Dcrash_dump.c40 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
Dsetup.c223 res->start = __pfn_to_phys(memblock_region_memory_base_pfn(region)); in request_standard_resources()
224 res->end = __pfn_to_phys(memblock_region_memory_end_pfn(region)) - 1; in request_standard_resources()
Dmachine_kexec.c326 addr = __pfn_to_phys(pfn); in crash_is_nosave()
/arch/arm/mach-ks8695/include/mach/
Dmemory.h35 ({ dma_addr_t __dma = __pfn_to_phys(pfn); \
/arch/arm/mach-omap1/include/mach/
Dmemory.h32 ({ dma_addr_t __dma = __pfn_to_phys(pfn); \
/arch/arm/include/asm/
Ddma-mapping.h56 return phys_to_virt(__pfn_to_phys(pfn)); in dma_to_virt()
121 return __pfn_to_phys(dma_to_pfn(dev, dev_addr)) + offset; in dma_to_phys()
Dmemory.h140 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
357 #define __pfn_to_bus(x) __pfn_to_phys(x)
Dpgtable.h212 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
/arch/m68k/include/asm/
Dpage.h53 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
/arch/arm/mm/
Dioremap.c205 pmd[0] = __pmd(__pfn_to_phys(pfn) | type->prot_sect); in remap_area_sections()
207 pmd[1] = __pmd(__pfn_to_phys(pfn) | type->prot_sect); in remap_area_sections()
239 super_pmd_val = __pfn_to_phys(pfn) | type->prot_sect | in remap_area_supersections()
266 phys_addr_t paddr = __pfn_to_phys(pfn); in __arm_ioremap_pfn_caller()
Dmmu.c860 phys = __pfn_to_phys(md->pfn); in create_36bit_mapping()
865 (long long)__pfn_to_phys((u64)md->pfn), addr); in create_36bit_mapping()
877 (long long)__pfn_to_phys((u64)md->pfn), addr); in create_36bit_mapping()
881 if ((addr | length | __pfn_to_phys(md->pfn)) & ~SUPERSECTION_MASK) { in create_36bit_mapping()
883 (long long)__pfn_to_phys((u64)md->pfn), addr); in create_36bit_mapping()
933 phys = __pfn_to_phys(md->pfn); in __create_mapping()
938 (long long)__pfn_to_phys(md->pfn), addr); in __create_mapping()
965 (long long)__pfn_to_phys((u64)md->pfn), md->virtual); in create_mapping()
973 (long long)__pfn_to_phys((u64)md->pfn), md->virtual); in create_mapping()
1011 vm->phys_addr = __pfn_to_phys(md->pfn); in iotable_init()
Dinit.c198 phys_addr_t addr = __pfn_to_phys(pfn); in pfn_valid()
203 return memblock_is_map_memory(__pfn_to_phys(pfn)); in pfn_valid()
/arch/unicore32/include/asm/
Dmemory.h66 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
/arch/arm/mach-iop13xx/include/mach/
Dmemory.h60 (dma_addr_t)__pfn_to_phys(pfn); \
/arch/mn10300/include/asm/
Dpage.h111 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
/arch/arm/mach-footbridge/
Dcommon.c258 return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET); in __pfn_to_bus()
/arch/arm64/include/asm/
Dmemory.h252 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
/arch/ia64/include/asm/
Dpage.h109 # define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
/arch/arc/include/asm/
Dpgtable.h284 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))

12