Searched refs:__pfn_to_phys (Results 1 – 25 of 26) sorted by relevance
12
/arch/unicore32/mm/ |
D | ioremap.c | 118 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()
|
D | init.c | 101 __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()
|
D | mmu.c | 217 __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/ |
D | crash_dump.c | 42 vaddr = ioremap(__pfn_to_phys(pfn), PAGE_SIZE); in copy_oldmem_page()
|
D | setup.c | 859 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/ |
D | memory.h | 48 #define __pfn_to_bus(x) (__pfn_to_phys(x) + (BUS_OFFSET - PHYS_OFFSET))
|
/arch/arm64/kernel/ |
D | crash_dump.c | 40 vaddr = memremap(__pfn_to_phys(pfn), PAGE_SIZE, MEMREMAP_WB); in copy_oldmem_page()
|
D | setup.c | 223 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()
|
D | machine_kexec.c | 326 addr = __pfn_to_phys(pfn); in crash_is_nosave()
|
/arch/arm/mach-ks8695/include/mach/ |
D | memory.h | 35 ({ dma_addr_t __dma = __pfn_to_phys(pfn); \
|
/arch/arm/mach-omap1/include/mach/ |
D | memory.h | 32 ({ dma_addr_t __dma = __pfn_to_phys(pfn); \
|
/arch/arm/include/asm/ |
D | dma-mapping.h | 56 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()
|
D | memory.h | 140 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) 357 #define __pfn_to_bus(x) __pfn_to_phys(x)
|
D | pgtable.h | 212 #define pfn_pte(pfn,prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
|
/arch/m68k/include/asm/ |
D | page.h | 53 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
|
/arch/arm/mm/ |
D | ioremap.c | 205 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()
|
D | mmu.c | 860 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()
|
D | init.c | 198 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/ |
D | memory.h | 66 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
|
/arch/arm/mach-iop13xx/include/mach/ |
D | memory.h | 60 (dma_addr_t)__pfn_to_phys(pfn); \
|
/arch/mn10300/include/asm/ |
D | page.h | 111 #define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
|
/arch/arm/mach-footbridge/ |
D | common.c | 258 return __pfn_to_phys(pfn) + (fb_bus_sdram_offset() - PHYS_OFFSET); in __pfn_to_bus()
|
/arch/arm64/include/asm/ |
D | memory.h | 252 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page)))
|
/arch/ia64/include/asm/ |
D | page.h | 109 # define __pfn_to_phys(pfn) PFN_PHYS(pfn) macro
|
/arch/arc/include/asm/ |
D | pgtable.h | 284 #define pfn_pte(pfn, prot) __pte(__pfn_to_phys(pfn) | pgprot_val(prot))
|
12