/linux-2.6.39/arch/m68k/include/asm/ |
D | virtconvert.h | 31 #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/ |
D | cache.c | 87 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/ |
D | machine_kexec.c | 43 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/ |
D | dma-coherent.c | 69 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/ |
D | dma.c | 94 __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/ |
D | dma-coherence.h | 53 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/ |
D | cacheflush.h | 56 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()
|
D | virtconvert.h | 38 #define page_to_phys(page) virt_to_phys((void *)__page_address(page)) macro
|
/linux-2.6.39/arch/microblaze/include/asm/ |
D | page.h | 153 # 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/ |
D | uninorth-agp.c | 143 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/ |
D | page-states.c | 61 : "a" (page_to_phys(page + i)), in set_page_unstable() 79 : "a" (page_to_phys(page + i)), in set_page_stable()
|
D | pgtable.c | 141 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/ |
D | page.h | 85 #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/ |
D | cache-flush-icache.c | 27 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/ |
D | page.h | 73 #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/ |
D | io.h | 74 #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/ |
D | dma_mm.c | 35 *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/ |
D | pgtable.h | 603 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/ |
D | dma-coherence.h | 23 return page_to_phys(page); in plat_map_dma_mem_page()
|
/linux-2.6.39/arch/mips/include/asm/mach-loongson/ |
D | dma-coherence.h | 25 return page_to_phys(page) | 0x80000000; in plat_map_dma_mem_page()
|
/linux-2.6.39/arch/mips/include/asm/mach-jazz/ |
D | dma-coherence.h | 23 return vdma_alloc(page_to_phys(page), PAGE_SIZE); in plat_map_dma_mem_page()
|
/linux-2.6.39/arch/m68k/mm/ |
D | cache.c | 108 : : "a" (page_to_phys(page))); in flush_icache_user_range()
|
/linux-2.6.39/arch/mips/include/asm/mach-ip27/ |
D | dma-coherence.h | 32 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/ |
D | dma-coherence.h | 45 pa = page_to_phys(page) & RAM_OFFSET_MASK; in plat_map_dma_mem_page()
|
/linux-2.6.39/arch/frv/mm/ |
D | highmem.c | 47 paddr = page_to_phys(page); in __kmap_atomic()
|