Home
last modified time | relevance | path

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

123456

/linux/arch/xtensa/mm/
A Dcache.c62 if (!DCACHE_ALIAS_EQ(page_to_phys(page), vaddr)) { in kmap_invalidate_coherent()
71 (page_to_phys(page) & DCACHE_ALIAS_MASK); in kmap_invalidate_coherent()
75 page_to_phys(page)); in kmap_invalidate_coherent()
84 *paddr = page_to_phys(page); in coherent_kvaddr()
141 unsigned long phys = page_to_phys(page); in flush_dcache_page()
198 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page()
228 unsigned long phys = page_to_phys(page); in update_mmu_cache()
264 unsigned long phys = page_to_phys(page); in copy_to_user_page()
304 unsigned long phys = page_to_phys(page); in copy_from_user_page()
/linux/arch/nds32/mm/
A Dcacheflush.c202 pto = page_to_phys(to); in copy_user_highpage()
203 pfrom = page_to_phys(from); in copy_user_highpage()
229 vto = kremap0(vaddr, page_to_phys(page)); in clear_user_highpage()
255 kto = kremap0(vaddr, page_to_phys(page)); in flush_dcache_page()
271 vto = kremap0(vaddr, page_to_phys(page)); in copy_to_user_page()
292 vto = kremap0(vaddr, page_to_phys(page)); in copy_from_user_page()
314 ktmp = kremap0(vaddr, page_to_phys(page)); in flush_anon_page()
/linux/arch/s390/mm/
A Dpage-states.c66 : "a" (page_to_phys(page)), in get_page_state()
78 : "a" (page_to_phys(page + i)), in set_page_unused()
89 : "a" (page_to_phys(page + i)), in set_page_stable_dat()
100 : "a" (page_to_phys(page + i)), in set_page_stable_nodat()
/linux/drivers/char/agp/
A 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()
432 scratch_value = (page_to_phys(agp_bridge->scratch_page_page) >> PAGE_SHIFT) | 0x80000000UL; in uninorth_create_gatt_table()
434 scratch_value = cpu_to_le32((page_to_phys(agp_bridge->scratch_page_page) & 0xFFFFF000UL) | in uninorth_create_gatt_table()
/linux/kernel/dma/
A Ddirect.c101 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in __dma_direct_alloc_pages()
109 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in __dma_direct_alloc_pages()
116 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in __dma_direct_alloc_pages()
148 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_from_pool()
171 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc()
258 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc()
350 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_pages()
/linux/arch/csky/mm/
A Ddma-mapping.c19 void *start = __va(page_to_phys(page)); in cache_op()
56 cache_op(page_to_phys(page), size, dma_wbinv_set_zero_range); in arch_dma_prep_coherent()
/linux/include/asm-generic/
A Dpage.h83 #ifndef page_to_phys
84 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux/arch/hexagon/include/asm/
A Dpage.h127 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
132 #define page_to_virt(page) __va(page_to_phys(page))
/linux/arch/x86/kvm/svm/
A Davic.c192 phys_addr_t bpa = __sme_set(page_to_phys(svm->avic_backing_page)); in avic_init_vmcb()
193 phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); in avic_init_vmcb()
194 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb()
282 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()
784 vcpu_info->pi_desc_addr = __sme_set(page_to_phys((*svm)->avic_backing_page)); in get_pi_vcpu_info()
836 pi.base = __sme_set(page_to_phys(svm->avic_backing_page) & in svm_update_pi_irte()
/linux/arch/s390/kernel/
A Dmachine_kexec.c211 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
251 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __do_machine_kexec()
/linux/drivers/firmware/efi/
A Dcapsule.c172 sglist_phys = page_to_phys(sg_pages[0]); in efi_capsule_update_locked()
267 sglist[j].data = page_to_phys(sg_pages[i + 1]); in efi_capsule_update()
/linux/arch/riscv/include/asm/
A Dpage.h156 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
157 #define page_to_bus(page) (page_to_phys(page))
/linux/arch/sparc/include/asm/
A Dpage.h5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux/arch/microblaze/mm/
A Dconsistent.c20 phys_addr_t paddr = page_to_phys(page); in arch_dma_prep_coherent()
/linux/arch/m68k/include/asm/
A Dvirtconvert.h32 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux/drivers/virt/
A Dfsl_hypervisor.c263 sg_list[0].source = page_to_phys(pages[0]) + lb_offset; in ioctl_memcpy()
267 sg_list[0].target = page_to_phys(pages[0]) + lb_offset; in ioctl_memcpy()
277 sg_list[i].source = page_to_phys(pages[i]); in ioctl_memcpy()
282 sg_list[i].target = page_to_phys(pages[i]); in ioctl_memcpy()
/linux/arch/nios2/include/asm/
A Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page)) macro
/linux/tools/virtio/linux/
A Ddma-mapping.h24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o))
/linux/arch/arm64/include/asm/
A Dmemory.h292 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
332 void *__addr = __va(page_to_phys(__page)); \
/linux/arch/arc/mm/
A Ddma.c30 dma_cache_wback_inv(page_to_phys(page), size); in arch_dma_prep_coherent()
/linux/arch/ia64/include/asm/
A Dpgalloc.h53 pmd_val(*pmd_entry) = page_to_phys(pte); in pmd_populate()
/linux/arch/nds32/include/asm/
A Dmemory.h85 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux/arch/xtensa/include/asm/
A Dhighmem.h34 return DCACHE_ALIAS(page_to_phys(page)); in get_pkmap_color()
/linux/arch/m68k/kernel/
A Ddma.c23 cache_push(page_to_phys(page), size); in arch_dma_prep_coherent()
/linux/arch/um/include/asm/
A Dpgtable.h277 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page)) macro
283 pte_set_val(pte, page_to_phys(page), (pgprot)); \

Completed in 31 milliseconds

123456