Home
last modified time | relevance | path

Searched refs:page_to_phys (Results 1 – 25 of 114) sorted by relevance

12345

/linux-2.6.39/arch/m68k/include/asm/
Dvirtconvert.h31 #define page_to_phys(page) \ macro
34 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
37 #define page_to_phys(page) (((page) - mem_map) << PAGE_SHIFT) macro
/linux-2.6.39/arch/xtensa/mm/
Dcache.c87 unsigned long phys = page_to_phys(page); in flush_dcache_page()
140 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in flush_cache_page()
171 unsigned long phys = page_to_phys(page); in update_mmu_cache()
202 unsigned long phys = page_to_phys(page); in copy_to_user_page()
239 unsigned long phys = page_to_phys(page); in copy_from_user_page()
/linux-2.6.39/arch/s390/kernel/
Dmachine_kexec.c43 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
66 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __machine_kexec()
/linux-2.6.39/arch/avr32/mm/
Ddma-coherent.c69 invalidate_dcache_region(phys_to_virt(page_to_phys(page)), size); in __dma_alloc()
103 ret = phys_to_uncached(page_to_phys(page)); in dma_alloc_coherent()
133 phys = page_to_phys(page); in dma_alloc_writecombine()
/linux-2.6.39/arch/microblaze/kernel/
Ddma.c94 __dma_sync_page(page_to_phys(sg_page(sg)), sg->offset, in dma_direct_map_sg()
119 __dma_sync_page(page_to_phys(page), offset, size, direction); in dma_direct_map_page()
120 return page_to_phys(page) + offset + get_dma_direct_offset(dev); in dma_direct_map_page()
/linux-2.6.39/arch/mips/include/asm/mach-powertv/
Ddma-coherence.h53 page_to_phys(pte_page(pte)); in virt_to_phys_from_pte()
76 return phys_to_dma(page_to_phys(page)); in plat_map_dma_mem_page()
/linux-2.6.39/arch/frv/include/asm/
Dcacheflush.h56 unsigned long addr = page_to_phys(page); in flush_dcache_page()
89 flush_icache_user_range(vma, page, page_to_phys(page), PAGE_SIZE); in flush_icache_page()
Dvirtconvert.h38 #define page_to_phys(page) virt_to_phys((void *)__page_address(page)) macro
/linux-2.6.39/arch/microblaze/include/asm/
Dpage.h153 # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
158 # define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
159 # define page_to_bus(page) (page_to_phys(page))
/linux-2.6.39/drivers/char/agp/
Duninorth-agp.c143 page_to_phys(agp_bridge->scratch_page_page) >> 12); in uninorth_configure()
186 gp[i] = (page_to_phys(mem->pages[i]) >> PAGE_SHIFT) | 0x80000000UL; in uninorth_insert_memory()
188 gp[i] = cpu_to_le32((page_to_phys(mem->pages[i]) & 0xFFFFF000UL) | in uninorth_insert_memory()
190 flush_dcache_range((unsigned long)__va(page_to_phys(mem->pages[i])), in uninorth_insert_memory()
191 (unsigned long)__va(page_to_phys(mem->pages[i]))+0x1000); in uninorth_insert_memory()
427 scratch_value = (page_to_phys(agp_bridge->scratch_page_page) >> PAGE_SHIFT) | 0x80000000UL; in uninorth_create_gatt_table()
429 scratch_value = cpu_to_le32((page_to_phys(agp_bridge->scratch_page_page) & 0xFFFFF000UL) | in uninorth_create_gatt_table()
/linux-2.6.39/arch/s390/mm/
Dpage-states.c61 : "a" (page_to_phys(page + i)), in set_page_unstable()
79 : "a" (page_to_phys(page + i)), in set_page_stable()
Dpgtable.c141 page->index = page_to_phys(shadow); in crst_table_alloc()
146 return (unsigned long *) page_to_phys(page); in crst_table_alloc()
292 table = (unsigned long *) page_to_phys(page); in page_table_alloc()
300 table = (unsigned long *) page_to_phys(page); in page_table_alloc()
469 addr = page_to_phys(page); in kernel_page_present()
/linux-2.6.39/include/asm-generic/
Dpage.h85 #ifndef page_to_phys
86 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-2.6.39/arch/mn10300/mm/
Dcache-flush-icache.c27 unsigned long start = page_to_phys(page); in flush_icache_page()
90 addr = page_to_phys(page); in flush_icache_page_range()
/linux-2.6.39/arch/score/include/asm/
Dpage.h73 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
74 #define page_to_bus(page) (page_to_phys(page))
/linux-2.6.39/arch/m32r/include/asm/
Dio.h74 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
75 #define page_to_bus page_to_phys
/linux-2.6.39/arch/m68k/kernel/
Ddma_mm.c35 *handle = page_to_phys(page); in dma_alloc_coherent()
112 dma_addr_t handle = page_to_phys(page) + offset; in dma_map_page()
/linux-2.6.39/arch/s390/include/asm/
Dpgtable.h603 skey = page_get_storage_key(page_to_phys(page)); in ptep_rcp_copy()
820 skey = page_get_storage_key(page_to_phys(page)); in kvm_s390_test_and_clear_page_dirty()
1002 return (page_get_storage_key(page_to_phys(page)) & _PAGE_CHANGED) != 0; in page_test_dirty()
1008 page_set_storage_key(page_to_phys(page), PAGE_DEFAULT_KEY, mapped); in page_clear_dirty()
1017 unsigned long physpage = page_to_phys(page); in page_test_and_clear_young()
1041 unsigned long physpage = page_to_phys(page); in mk_pte()
/linux-2.6.39/arch/mips/include/asm/mach-generic/
Ddma-coherence.h23 return page_to_phys(page); in plat_map_dma_mem_page()
/linux-2.6.39/arch/mips/include/asm/mach-loongson/
Ddma-coherence.h25 return page_to_phys(page) | 0x80000000; in plat_map_dma_mem_page()
/linux-2.6.39/arch/mips/include/asm/mach-jazz/
Ddma-coherence.h23 return vdma_alloc(page_to_phys(page), PAGE_SIZE); in plat_map_dma_mem_page()
/linux-2.6.39/arch/m68k/mm/
Dcache.c108 : : "a" (page_to_phys(page))); in flush_icache_user_range()
/linux-2.6.39/arch/mips/include/asm/mach-ip27/
Ddma-coherence.h32 dma_addr_t pa = dev_to_baddr(dev, page_to_phys(page)); in plat_map_dma_mem_page()
/linux-2.6.39/arch/mips/include/asm/mach-ip32/
Ddma-coherence.h45 pa = page_to_phys(page) & RAM_OFFSET_MASK; in plat_map_dma_mem_page()
/linux-2.6.39/arch/frv/mm/
Dhighmem.c47 paddr = page_to_phys(page); in __kmap_atomic()

12345