Home
last modified time | relevance | path

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

/linux-4.4.14/arch/xtensa/mm/
Dcache.c66 if (!DCACHE_ALIAS_EQ(page_to_phys(page), vaddr)) { in kmap_invalidate_coherent()
75 (page_to_phys(page) & DCACHE_ALIAS_MASK); in kmap_invalidate_coherent()
78 page_to_phys(page)); in kmap_invalidate_coherent()
86 if (PageHighMem(page) || !DCACHE_ALIAS_EQ(page_to_phys(page), vaddr)) { in coherent_kvaddr()
87 *paddr = page_to_phys(page); in coherent_kvaddr()
150 unsigned long phys = page_to_phys(page); in flush_dcache_page()
204 unsigned long phys = page_to_phys(pfn_to_page(pfn)); in local_flush_cache_page()
231 unsigned long phys = page_to_phys(page); in update_mmu_cache()
265 unsigned long phys = page_to_phys(page); in copy_to_user_page()
301 unsigned long phys = page_to_phys(page); in copy_from_user_page()
Dhighmem.c51 DCACHE_ALIAS(page_to_phys(page))); in kmap_atomic()
/linux-4.4.14/arch/m68k/include/asm/
Dvirtconvert.h30 #define page_to_phys(page) \ macro
33 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/arch/avr32/mm/
Ddma-coherent.c70 invalidate_dcache_region(phys_to_virt(page_to_phys(page)), size); in __dma_alloc()
104 ret = phys_to_uncached(page_to_phys(page)); in dma_alloc_coherent()
134 phys = page_to_phys(page); in dma_alloc_writecombine()
/linux-4.4.14/arch/mips/include/asm/mach-loongson64/
Ddma-coherence.h36 return phys_to_dma(dev, page_to_phys(page)); in plat_map_dma_mem_page()
38 return page_to_phys(page) | 0x80000000; in plat_map_dma_mem_page()
/linux-4.4.14/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
Dhighmem.h119 paddr = page_to_phys(page); in kmap_atomic_primary()
/linux-4.4.14/arch/microblaze/include/asm/
Dpage.h154 # define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
159 # define page_to_phys(page) (pfn_to_phys(page_to_pfn(page))) macro
160 # define page_to_bus(page) (page_to_phys(page))
Dio.h37 #define page_to_bus(page) (page_to_phys(page))
/linux-4.4.14/arch/microblaze/kernel/
Ddma.c64 __dma_sync(page_to_phys(sg_page(sg)) + sg->offset, in dma_direct_map_sg()
83 __dma_sync(page_to_phys(page) + offset, size, direction); in dma_direct_map_page()
84 return page_to_phys(page) + offset; in dma_direct_map_page()
/linux-4.4.14/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()
430 scratch_value = (page_to_phys(agp_bridge->scratch_page_page) >> PAGE_SHIFT) | 0x80000000UL; in uninorth_create_gatt_table()
432 scratch_value = cpu_to_le32((page_to_phys(agp_bridge->scratch_page_page) & 0xFFFFF000UL) | in uninorth_create_gatt_table()
Dali-agp.c155 page_to_phys(page)) | ALI_CACHE_FLUSH_EN )); in m1541_alloc_page()
183 page_to_phys(page)) | ALI_CACHE_FLUSH_EN)); in m1541_destroy_page()
Di460-agp.c301 mem, pg_start, type, page_to_phys(mem->pages[0])); in i460_insert_memory_small_io_page()
328 paddr = page_to_phys(mem->pages[i]); in i460_insert_memory_small_io_page()
385 lp->paddr = page_to_phys(lp->page); in i460_alloc_large_page()
Dsgi-agp.c192 page_to_phys(mem->pages[i]), in sgi_tioca_insert_memory()
Dbackend.c154 bridge->scratch_page_dma = page_to_phys(page); in agp_backend_initialize()
Dintel-gtt.c271 new->physical = page_to_phys(new->pages[0]); in alloc_agpphysmem_i8xx()
311 intel_private.scratch_page_dma = page_to_phys(page); in intel_gtt_setup_scratch_page()
874 dma_addr_t addr = page_to_phys(pages[i]); in intel_gtt_insert_pages()
Defficeon-agp.c71 unsigned long addr = page_to_phys(page); in efficeon_mask_memory()
Dparisc-agp.c158 paddr = page_to_phys(mem->pages[i]); in parisc_agp_insert_memory()
Dnvidia-agp.c228 page_to_phys(mem->pages[i]), mask_type), in nvidia_insert_memory()
Dhp-agp.c366 paddr = page_to_phys(mem->pages[i]); in hp_zx1_insert_memory()
Damd-k7-agp.c316 page_to_phys(mem->pages[i]), in amd_insert_memory()
Dsworks-agp.c353 page_to_phys(mem->pages[i]), mem->type), in serverworks_insert_memory()
Dati-agp.c305 page_to_phys(mem->pages[i]), in ati_insert_memory()
Damd64-agp.c82 page_to_phys(mem->pages[i]), in amd64_insert_memory()
Dgeneric.c1103 page_to_phys(mem->pages[i]), in agp_generic_insert_memory()
/linux-4.4.14/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()
Dpageattr.c133 address = page_to_phys(page + i); in __kernel_map_pages()
160 addr = page_to_phys(page); in kernel_page_present()
Dpgtable.c33 return (unsigned long *) page_to_phys(page); in crst_table_alloc()
148 table = (unsigned long *) page_to_phys(page); in gmap_alloc()
257 new = (unsigned long *) page_to_phys(page); in gmap_alloc_table()
927 table = (unsigned long *) page_to_phys(page); in page_table_alloc()
948 table = (unsigned long *) page_to_phys(page); in page_table_alloc()
/linux-4.4.14/arch/hexagon/include/asm/
Dpage.h141 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
146 #define page_to_virt(page) __va(page_to_phys(page))
/linux-4.4.14/include/asm-generic/
Dpage.h89 #ifndef page_to_phys
90 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/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()
Dcache-inv-icache.c68 addr = page_to_phys(page); in flush_icache_page_range()
/linux-4.4.14/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-4.4.14/arch/sparc/include/asm/
Dpage.h4 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/arch/s390/kernel/
Dmachine_kexec.c204 reboot_code_buffer = (void *) page_to_phys(image->control_code_page); in machine_kexec_prepare()
238 data_mover = (relocate_kernel_t) page_to_phys(image->control_code_page); in __do_machine_kexec()
/linux-4.4.14/arch/m68k/kernel/
Ddma.c38 *handle = page_to_phys(page); in dma_alloc_coherent()
150 dma_addr_t handle = page_to_phys(page) + offset; in dma_map_page()
/linux-4.4.14/arch/m32r/include/asm/
Dio.h77 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
78 #define page_to_bus page_to_phys
Dpgalloc.h14 set_pmd(pmd, __pmd(_PAGE_TABLE + page_to_phys(pte))); in pmd_populate()
/linux-4.4.14/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-4.4.14/drivers/staging/android/ion/
Dion_chunk_heap.c84 gen_pool_free(chunk_heap->pool, page_to_phys(sg_page(sg)), in ion_chunk_heap_allocate()
112 gen_pool_free(chunk_heap->pool, page_to_phys(sg_page(sg)), in ion_chunk_heap_free()
Dion_system_heap.c395 *addr = page_to_phys(page); in ion_system_contig_heap_phys()
Dion.c908 sg_dma_address(&sg) = page_to_phys(page); in ion_pages_sync_for_device()
/linux-4.4.14/arch/x86/kernel/
Dpci-dma.c95 if (page && page_to_phys(page) + size > dma_mask) { in dma_generic_alloc_coherent()
106 addr = page_to_phys(page); in dma_generic_alloc_coherent()
Dpci-nommu.c33 dma_addr_t bus = page_to_phys(page) + offset; in nommu_map_page()
Dalternative.c706 set_fixmap(FIX_TEXT_POKE0, page_to_phys(pages[0])); in text_poke()
708 set_fixmap(FIX_TEXT_POKE1, page_to_phys(pages[1])); in text_poke()
Damd_gart_64.c248 phys_addr_t paddr = page_to_phys(page) + offset; in gart_map_page()
493 paddr = dma_map_area(dev, page_to_phys(page), size, in gart_alloc_coherent()
/linux-4.4.14/arch/mips/include/asm/mach-generic/
Ddma-coherence.h23 return page_to_phys(page); in plat_map_dma_mem_page()
/linux-4.4.14/arch/mips/include/asm/mach-ath25/
Ddma-coherence.h42 return page_to_phys(page) + ath25_dev_offset(dev); in plat_map_dma_mem_page()
/linux-4.4.14/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-4.4.14/arch/frv/mm/
Dhighmem.c43 paddr = page_to_phys(page); in kmap_atomic()
/linux-4.4.14/arch/mips/include/asm/mach-ip32/
Ddma-coherence.h45 pa = page_to_phys(page) & RAM_OFFSET_MASK; in plat_map_dma_mem_page()
/linux-4.4.14/arch/metag/include/asm/
Ddma-mapping.h72 dma_sync_for_device((void *)(page_to_phys(page) + offset), size, in dma_map_page()
74 return page_to_phys(page) + offset; in dma_map_page()
Dpgalloc.h11 set_pmd(pmd, __pmd(_PAGE_TABLE | page_to_phys(pte)))
Dpage.h111 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
Dio.h9 #define page_to_bus page_to_phys
/linux-4.4.14/arch/arm64/include/asm/
Dmmu_context.h51 unsigned long ttbr = page_to_phys(empty_zero_page); in cpu_set_reserved_ttbr0()
Dmemory.h84 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
Dpgalloc.h133 __pmd_populate(pmdp, page_to_phys(ptep), PMD_TYPE_TABLE); in pmd_populate()
/linux-4.4.14/arch/nios2/include/asm/
Dio.h52 #define page_to_phys(page) virt_to_phys(page_to_virt(page)) macro
/linux-4.4.14/arch/unicore32/include/asm/
Dmemory.h66 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
/linux-4.4.14/arch/x86/include/asm/
Dio.h144 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
155 #define isa_page_to_bus(page) ((unsigned int)page_to_phys(page))
/linux-4.4.14/arch/xtensa/include/asm/
Dhighmem.h34 return DCACHE_ALIAS(page_to_phys(page)); in get_pkmap_color()
Dpage.h184 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/arch/h8300/kernel/
Ddma.c46 return page_to_phys(page) + offset; in map_page()
/linux-4.4.14/arch/m68k/mm/
Dcache.c126 : : "a" (page_to_phys(page))); in flush_icache_user_range()
/linux-4.4.14/arch/frv/mb93090-mb00/
Dpci-dma.c89 return (dma_addr_t) page_to_phys(page) + offset; in dma_map_page()
Dpci-dma-nommu.c145 return (dma_addr_t) page_to_phys(page) + offset; in dma_map_page()
/linux-4.4.14/arch/cris/include/asm/
Dpage.h60 #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET) macro
Ddma-mapping.h68 return page_to_phys(page) + offset; in dma_map_page()
/linux-4.4.14/drivers/virt/
Dfsl_hypervisor.c265 sg_list[0].source = page_to_phys(pages[0]) + lb_offset; in ioctl_memcpy()
269 sg_list[0].target = page_to_phys(pages[0]) + lb_offset; in ioctl_memcpy()
279 sg_list[i].source = page_to_phys(pages[i]); in ioctl_memcpy()
284 sg_list[i].target = page_to_phys(pages[i]); in ioctl_memcpy()
/linux-4.4.14/arch/openrisc/include/asm/
Dpage.h90 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/arch/sh/kernel/
Ddma-nommu.c18 dma_addr_t addr = page_to_phys(page) + offset; in nommu_map_page()
/linux-4.4.14/arch/avr32/include/asm/
Dpage.h82 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
Dio.h307 #define page_to_bus page_to_phys
/linux-4.4.14/arch/powerpc/mm/
Ddma-noncoherent.c226 *handle = page_to_phys(page); in __dma_alloc_coherent()
230 map_page(vaddr, page_to_phys(page), in __dma_alloc_coherent()
/linux-4.4.14/arch/mips/bmips/
Ddma.c62 return bmips_phys_to_dma(dev, page_to_phys(page)); in plat_map_dma_mem_page()
/linux-4.4.14/arch/mn10300/include/asm/
Dpage.h119 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
Dcacheflush.h141 mn10300_icache_inv_page(page_to_phys(page)); in flush_icache_page()
Dio.h317 #define page_to_bus page_to_phys
/linux-4.4.14/arch/um/include/asm/
Dpgtable.h274 #define page_to_phys(page) pfn_to_phys((pfn_t) page_to_pfn(page)) macro
280 pte_set_val(pte, page_to_phys(page), (pgprot)); \
/linux-4.4.14/arch/ia64/include/asm/
Dpgalloc.h75 pmd_val(*pmd_entry) = page_to_phys(pte); in pmd_populate()
Dpage.h123 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
Dio.h102 #define page_to_bus page_to_phys
/linux-4.4.14/tools/virtio/linux/
Dkernel.h35 #define page_to_phys(p) ((dma_addr_t)(unsigned long)(p)) macro
Dscatterlist.h174 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys()
/linux-4.4.14/drivers/crypto/nx/
Dnx-842.h100 return page_to_phys(vmalloc_to_page(addr)) + offset_in_page(addr); in nx842_get_pa()
Dnx.c104 sg_addr = page_to_phys(vmalloc_to_page(start_addr)) in nx_build_sg_list()
134 sg_addr = page_to_phys(vmalloc_to_page( in nx_build_sg_list()
/linux-4.4.14/arch/arm/kernel/
Dpatch.c39 set_fixmap(fixmap, page_to_phys(page)); in patch_map()
/linux-4.4.14/arch/s390/include/asm/
Dpage.h147 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
Dpgtable.h1305 unsigned long physpage = page_to_phys(page); in mk_pte()
/linux-4.4.14/arch/arm/include/asm/
Dpgalloc.h168 __pmd_populate(pmdp, page_to_phys(ptep), prot); in pmd_populate()
Dmemory.h126 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
Dio.h38 #define isa_page_to_bus page_to_phys
/linux-4.4.14/arch/parisc/include/asm/
Dcacheflush.h119 flush_dcache_page_asm(page_to_phys(page), vmaddr); in flush_anon_page()
Dpage.h167 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/drivers/misc/mic/scif/
Dscif_map.h121 *dma_handle = page_to_phys(page); in scif_map_page()
Dscif_rma.c604 phys_prev = page_to_phys(pin->pages[i]); in scif_map_window()
609 phys_curr = page_to_phys(pin->pages[k]); in scif_map_window()
623 phys_to_virt(page_to_phys( in scif_map_window()
630 window->dma_addr[j] = page_to_phys(pin->pages[i]); in scif_map_window()
/linux-4.4.14/arch/mips/include/asm/
Dio.h154 #define isa_page_to_bus page_to_phys
168 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/arch/hexagon/kernel/
Ddma.c177 dma_addr_t bus = page_to_phys(page) + offset; in hexagon_map_page()
/linux-4.4.14/arch/arc/include/asm/
Dio.h44 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
Ddma-mapping.h94 unsigned long paddr = page_to_phys(page) + offset; in dma_map_page()
/linux-4.4.14/arch/sh/include/asm/
Dpage.h168 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/drivers/iommu/
Ddma-iommu.c315 flush_page(dev, miter.addr, page_to_phys(miter.page)); in iommu_dma_alloc()
368 phys_addr_t phys = page_to_phys(page) + offset; in iommu_dma_map_page()
Dintel-iommu.c2162 pteval = page_to_phys(sg_page(sg)) | prot; in __domain_mapping()
3496 return __intel_map_single(dev, page_to_phys(page) + offset, size, in intel_map_page()
3655 page_to_phys(page) + size > dev->coherent_dma_mask) { in intel_alloc_coherent()
3667 *dma_handle = __intel_map_single(dev, page_to_phys(page), size, in intel_alloc_coherent()
3707 sg->dma_address = page_to_phys(sg_page(sg)) + sg->offset; in intel_nontranslate_map_sg()
Dfsl_pamu.c1101 ppaact_phys = page_to_phys(p); in fsl_pamu_probe()
Damd_iommu.c2565 phys_addr_t paddr = page_to_phys(page) + offset; in map_page()
2724 *dma_addr = page_to_phys(page); in alloc_coherent()
2750 *dma_addr = __map_single(dev, domain->priv, page_to_phys(page), in alloc_coherent()
Diommu.c1434 phys_addr_t phys = page_to_phys(sg_page(s)) + s->offset; in default_iommu_map_sg()
/linux-4.4.14/arch/nios2/mm/
Ddma-mapping.c91 return page_to_phys(page) + offset; in dma_map_page()
/linux-4.4.14/arch/openrisc/kernel/
Ddma.c143 dma_addr_t addr = page_to_phys(page) + offset; in or1k_map_page()
/linux-4.4.14/arch/alpha/include/asm/
Dio.h93 #define page_to_phys(page) page_to_pa(page) macro
97 return page_to_phys(page); in isa_page_to_bus()
/linux-4.4.14/drivers/misc/mic/host/
Dmic_boot.c74 void *va = phys_to_virt(page_to_phys(page)) + offset; in __mic_dma_map_page()
225 void *va = phys_to_virt(page_to_phys(page)) + offset; in mic_dma_map_page()
/linux-4.4.14/drivers/gpu/drm/i915/
Di915_gem_fence.c757 char new_bit_17 = page_to_phys(page) >> 17; in i915_gem_object_do_bit_17_swizzle()
794 if (page_to_phys(sg_page_iter_page(&sg_iter)) & (1 << 17)) in i915_gem_object_save_bit_17_swizzle()
Di915_gem.c637 (page_to_phys(page) & (1 << 17)) != 0; in i915_gem_shmem_pread()
969 (page_to_phys(page) & (1 << 17)) != 0; in i915_gem_shmem_pwrite()
/linux-4.4.14/arch/s390/pci/
Dpci_dma.c289 unsigned long pa = page_to_phys(page) + offset; in s390_dma_map_pages()
366 pa = page_to_phys(page); in s390_dma_alloc()
/linux-4.4.14/include/linux/
Dscatterlist.h226 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys()
Dbio.h153 #define bio_to_phys(bio) (page_to_phys(bio_page((bio))) + (unsigned long) bio_offset((bio)))
154 #define bvec_to_phys(bv) (page_to_phys((bv)->bv_page) + (unsigned long) (bv)->bv_offset)
/linux-4.4.14/arch/xtensa/kernel/
Dpci-dma.c190 dma_addr_t dma_handle = page_to_phys(page) + offset; in xtensa_map_page()
/linux-4.4.14/arch/arm/mm/
Ddma-mapping.c372 page_to_phys(page), in atomic_pool_init()
852 paddr = page_to_phys(page) + off; in __dma_page_cpu_to_dev()
864 phys_addr_t paddr = page_to_phys(page) + off; in __dma_page_dev_to_cpu()
1263 phys_addr_t phys = page_to_phys(pages[i]); in __iommu_create_mapping()
1524 phys_addr_t phys = page_to_phys(sg_page(s)); in __map_sg_chunk()
1740 ret = iommu_map(mapping->domain, dma_addr, page_to_phys(page), len, prot); in arm_coherent_iommu_map_page()
/linux-4.4.14/arch/tile/kernel/
Dpci-dma.c65 addr = page_to_phys(pg); in tile_dma_alloc_coherent()
359 addr = page_to_phys(pg); in tile_pci_dma_alloc_coherent()
/linux-4.4.14/drivers/irqchip/
Dirq-gic-v3-its.c776 paddr = page_to_phys(gic_rdists->prop_page); in its_alloc_lpi_tables()
1004 paddr = page_to_phys(pend_page); in its_cpu_init_lpis()
1021 val = (page_to_phys(gic_rdists->prop_page) | in its_cpu_init_lpis()
1046 val = (page_to_phys(pend_page) | in its_cpu_init_lpis()
/linux-4.4.14/arch/arm64/mm/
Ddma-mapping.c110 *dma_handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc_coherent()
154 *dma_handle = phys_to_dma(dev, page_to_phys(page)); in __dma_alloc()
393 page_to_phys(page), in atomic_pool_init()
/linux-4.4.14/lib/
Dkfifo.c333 if (page_to_phys(page) != page_to_phys(npage) - l) { in setup_sgl_buf()
Dswiotlb.c743 phys_addr_t map, phys = page_to_phys(page) + offset; in swiotlb_map_page()
Ddma-debug.c400 return page_to_phys(pfn_to_page(entry->pfn)) + entry->offset; in phys_addr()
/linux-4.4.14/arch/sh/mm/
Dcache-sh4.c122 (addr & shm_align_mask), page_to_phys(page)); in sh4_flush_dcache_page()
Dcache-sh5.c566 sh64_dcache_purge_phy_page(page_to_phys((struct page *)page)); in sh5_flush_dcache_page()
/linux-4.4.14/arch/powerpc/kernel/
Ddma.c239 return page_to_phys(page) + offset + get_dma_offset(dev); in dma_direct_map_page()
/linux-4.4.14/arch/powerpc/include/asm/
Dio.h798 #define page_to_phys(page) ((phys_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
822 #define page_to_bus(page) (page_to_phys(page) + PCI_DRAM_OFFSET)
/linux-4.4.14/arch/tile/include/asm/
Dio.h39 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-4.4.14/arch/x86/kernel/cpu/
Dperf_event_intel_pt.c356 topa->phys = page_to_phys(p); in topa_alloc()
452 TOPA_ENTRY(topa, -1)->base = page_to_phys(p) >> TOPA_SHIFT; in topa_insert_pages()
/linux-4.4.14/arch/parisc/kernel/
Dcache.c328 __flush_cache_page(mpnt, addr, page_to_phys(page)); in flush_dcache_page()
/linux-4.4.14/drivers/gpu/drm/omapdrm/
Domap_dmm_tiler.c241 page_to_phys(pages[n]) : engine->dmm->dummy_pa; in dmm_txn_append()
698 omap_dmm->dummy_pa = page_to_phys(omap_dmm->dummy_page); in omap_dmm_probe()
/linux-4.4.14/drivers/net/fjes/
Dfjes_hw.c492 (__le64)(page_to_phys(vmalloc_to_page(addr)) + in fjes_hw_register_buff_addr()
502 (__le64)(page_to_phys(vmalloc_to_page(addr)) + in fjes_hw_register_buff_addr()
/linux-4.4.14/arch/sparc/kernel/
Dioport.c524 return page_to_phys(page) + offset; in pci32_map_page()
/linux-4.4.14/drivers/xen/
Dswiotlb-xen.c383 phys_addr_t map, phys = page_to_phys(page) + offset; in xen_swiotlb_map_page()
/linux-4.4.14/drivers/gpu/drm/armada/
Darmada_gem.c106 obj->phys_addr = page_to_phys(p); in armada_gem_linear_back()
/linux-4.4.14/sound/pci/emu10k1/
Dmemory.c488 emu->page_addr_table[page] = page_to_phys(p); in synth_alloc_pages()
/linux-4.4.14/drivers/gpu/drm/vmwgfx/
Dvmwgfx_buffer.c281 return page_to_phys(viter->pages[viter->i]); in __vmw_piter_phys_addr()
/linux-4.4.14/drivers/misc/sgi-gru/
Dgrufault.c204 *paddr = page_to_phys(page); in non_atomic_pte_lookup()
/linux-4.4.14/drivers/crypto/ux500/cryp/
Dcryp_core.c909 src_paddr = (page_to_phys(walk.src.page) + walk.src.offset); in ablk_crypt()
912 dst_paddr = (page_to_phys(walk.dst.page) + walk.dst.offset); in ablk_crypt()
/linux-4.4.14/mm/
Dpercpu.c1353 return page_to_phys(vmalloc_to_page(addr)) + in per_cpu_ptr_to_phys()
1356 return page_to_phys(pcpu_addr_to_page(addr)) + in per_cpu_ptr_to_phys()
/linux-4.4.14/arch/alpha/kernel/
Dpci_iommu.c915 ptes[j] = mk_iommu_pte(page_to_phys(pages[i])); in iommu_bind()
/linux-4.4.14/arch/arm64/kernel/
Dinsn.c104 return (void *)set_fixmap_offset(fixmap, page_to_phys(page) + in patch_map()
/linux-4.4.14/drivers/vfio/
Dvfio_iommu_type1.c723 ret = iommu_map(domain->domain, 0, page_to_phys(pages), PAGE_SIZE * 2, in vfio_test_domain_fgsp()
/linux-4.4.14/drivers/crypto/
Dn2_core.c906 src_paddr = (page_to_phys(walk->src.page) + in n2_compute_chunks()
908 dest_paddr = (page_to_phys(walk->dst.page) + in n2_compute_chunks()
/linux-4.4.14/drivers/hwtracing/intel_th/
Dmsu.c626 msc->base_addr = page_to_phys(page); in msc_buffer_contig_alloc()
/linux-4.4.14/arch/powerpc/perf/
Dhv-24x7.c501 return page_to_phys(p) + offset_in_page(v); in vmalloc_to_phys()
/linux-4.4.14/arch/arm/kvm/
Dmmu.c580 return page_to_phys(vmalloc_to_page(kaddr)) + in kvm_kaddr_to_phys()
/linux-4.4.14/arch/x86/kvm/
Dvmx.c7852 vmcs_write64(PML_ADDRESS, page_to_phys(vmx->pml_pg)); in vmx_create_pml_buffer()
9549 page_to_phys(vmx->nested.pi_desc_page) + in prepare_vmcs02()
9611 page_to_phys(vmx->nested.apic_access_page)); in prepare_vmcs02()
9661 page_to_phys(vmx->nested.virtual_apic_page)); in prepare_vmcs02()
Dx86.c6343 kvm_x86_ops->set_apic_access_page_addr(vcpu, page_to_phys(page)); in kvm_vcpu_reload_apic_access_page()
/linux-4.4.14/drivers/staging/lustre/lnet/klnds/o2iblnd/
Do2iblnd.c1182 (__u64)(page_to_phys(pg) + pg_off)); in kiblnd_map_rx_descs()
/linux-4.4.14/virt/kvm/
Dkvm_main.c1901 const void *zero_page = (const void *) __va(page_to_phys(ZERO_PAGE(0))); in kvm_clear_guest_page()
/linux-4.4.14/drivers/s390/net/
Dqeth_core_main.c3823 data = (char *)page_to_phys(skb_frag_page(frag)) + in qeth_get_elements_for_frags()
3929 data = (char *)page_to_phys(skb_frag_page(frag)) + in __qeth_fill_buffer()
/linux-4.4.14/drivers/net/ethernet/intel/e1000/
De1000_main.c2926 page_to_phys(skb_frag_page(frag)); in e1000_tx_map()
/linux-4.4.14/net/core/
Ddev.c2610 dma_addr_t addr = page_to_phys(skb_frag_page(frag)); in illegal_highdma()
/linux-4.4.14/drivers/net/ethernet/sun/
Dniu.c9984 return page_to_phys(page) + offset; in niu_phys_map_page()