Home
last modified time | relevance | path

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

123456

/Linux-v5.10/arch/xtensa/mm/
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 if (PageHighMem(page) || !DCACHE_ALIAS_EQ(page_to_phys(page), vaddr)) { in coherent_kvaddr()
85 *paddr = page_to_phys(page); in coherent_kvaddr()
146 unsigned long phys = page_to_phys(page); in flush_dcache_page()
203 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page()
233 unsigned long phys = page_to_phys(page); in update_mmu_cache()
269 unsigned long phys = page_to_phys(page); in copy_to_user_page()
309 unsigned long phys = page_to_phys(page); in copy_from_user_page()
/Linux-v5.10/arch/nds32/mm/
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-v5.10/arch/m68k/include/asm/
Dvirtconvert.h33 #define page_to_phys(page) \ macro
36 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/Linux-v5.10/arch/s390/mm/
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()
Dpgalloc.c61 return (unsigned long *) page_to_phys(page); in crst_table_alloc()
173 table = (u64 *)page_to_phys(page); in page_table_alloc_pgste()
206 table = (unsigned long *) page_to_phys(page); in page_table_alloc()
229 table = (unsigned long *) page_to_phys(page); in page_table_alloc()
/Linux-v5.10/arch/microblaze/include/asm/
Dpage.h149 # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
154 # define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
155 # define page_to_bus(page) (page_to_phys(page))
/Linux-v5.10/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()
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-v5.10/arch/csky/mm/
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-v5.10/kernel/dma/
Ddirect.c90 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in __dma_direct_alloc_pages()
97 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) { in __dma_direct_alloc_pages()
129 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_from_pool()
152 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc()
228 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc()
310 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page)); in dma_direct_alloc_pages()
/Linux-v5.10/include/asm-generic/
Dpage.h87 #ifndef page_to_phys
88 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/Linux-v5.10/arch/hexagon/include/asm/
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-v5.10/arch/riscv/include/asm/
Dpage.h127 #define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
128 #define page_to_bus(page) (page_to_phys(page))
/Linux-v5.10/arch/sparc/include/asm/
Dpage.h5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/Linux-v5.10/arch/s390/kernel/
Dmachine_kexec.c210 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
250 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __do_machine_kexec()
/Linux-v5.10/drivers/firmware/efi/
Dcapsule.c171 sglist_phys = page_to_phys(sg_pages[0]); in efi_capsule_update_locked()
266 sglist[j].data = page_to_phys(sg_pages[i + 1]); in efi_capsule_update()
/Linux-v5.10/arch/microblaze/mm/
Dconsistent.c20 phys_addr_t paddr = page_to_phys(page); in arch_dma_prep_coherent()
/Linux-v5.10/arch/x86/kvm/svm/
Davic.c198 phys_addr_t bpa = __sme_set(page_to_phys(svm->avic_backing_page)); in avic_init_vmcb()
199 phys_addr_t lpa = __sme_set(page_to_phys(kvm_svm->avic_logical_id_table_page)); in avic_init_vmcb()
200 phys_addr_t ppa = __sme_set(page_to_phys(kvm_svm->avic_physical_id_table_page)); in avic_init_vmcb()
288 new_entry = __sme_set((page_to_phys(svm->avic_backing_page) & in avic_init_backing_page()
791 vcpu_info->pi_desc_addr = __sme_set(page_to_phys((*svm)->avic_backing_page)); in get_pi_vcpu_info()
843 pi.base = __sme_set(page_to_phys(svm->avic_backing_page) & in svm_update_pi_irte()
/Linux-v5.10/arch/nios2/include/asm/
Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page)) macro
/Linux-v5.10/tools/virtio/linux/
Ddma-mapping.h24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o))
/Linux-v5.10/arch/arc/mm/
Ddma.c30 dma_cache_wback_inv(page_to_phys(page), size); in arch_dma_prep_coherent()
/Linux-v5.10/arch/xtensa/include/asm/
Dhighmem.h34 return DCACHE_ALIAS(page_to_phys(page)); in get_pkmap_color()
/Linux-v5.10/arch/ia64/include/asm/
Dpgalloc.h53 pmd_val(*pmd_entry) = page_to_phys(pte); in pmd_populate()
/Linux-v5.10/drivers/virt/
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-v5.10/arch/m68k/kernel/
Ddma.c23 cache_push(page_to_phys(page), size); in arch_dma_prep_coherent()
/Linux-v5.10/arch/nds32/include/asm/
Dmemory.h91 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro

123456