/linux-4.4.14/arch/xtensa/mm/ |
D | cache.c | 66 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()
|
D | highmem.c | 51 DCACHE_ALIAS(page_to_phys(page))); in kmap_atomic()
|
/linux-4.4.14/arch/m68k/include/asm/ |
D | virtconvert.h | 30 #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/ |
D | dma-coherent.c | 70 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/ |
D | dma-coherence.h | 36 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/ |
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
|
D | highmem.h | 119 paddr = page_to_phys(page); in kmap_atomic_primary()
|
/linux-4.4.14/arch/microblaze/include/asm/ |
D | page.h | 154 # 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))
|
D | io.h | 37 #define page_to_bus(page) (page_to_phys(page))
|
/linux-4.4.14/arch/microblaze/kernel/ |
D | dma.c | 64 __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/ |
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() 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()
|
D | ali-agp.c | 155 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()
|
D | i460-agp.c | 301 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()
|
D | sgi-agp.c | 192 page_to_phys(mem->pages[i]), in sgi_tioca_insert_memory()
|
D | backend.c | 154 bridge->scratch_page_dma = page_to_phys(page); in agp_backend_initialize()
|
D | intel-gtt.c | 271 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()
|
D | efficeon-agp.c | 71 unsigned long addr = page_to_phys(page); in efficeon_mask_memory()
|
D | parisc-agp.c | 158 paddr = page_to_phys(mem->pages[i]); in parisc_agp_insert_memory()
|
D | nvidia-agp.c | 228 page_to_phys(mem->pages[i]), mask_type), in nvidia_insert_memory()
|
D | hp-agp.c | 366 paddr = page_to_phys(mem->pages[i]); in hp_zx1_insert_memory()
|
D | amd-k7-agp.c | 316 page_to_phys(mem->pages[i]), in amd_insert_memory()
|
D | sworks-agp.c | 353 page_to_phys(mem->pages[i]), mem->type), in serverworks_insert_memory()
|
D | ati-agp.c | 305 page_to_phys(mem->pages[i]), in ati_insert_memory()
|
D | amd64-agp.c | 82 page_to_phys(mem->pages[i]), in amd64_insert_memory()
|
D | generic.c | 1103 page_to_phys(mem->pages[i]), in agp_generic_insert_memory()
|
/linux-4.4.14/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 | pageattr.c | 133 address = page_to_phys(page + i); in __kernel_map_pages() 160 addr = page_to_phys(page); in kernel_page_present()
|
D | pgtable.c | 33 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/ |
D | page.h | 141 #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/ |
D | page.h | 89 #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/ |
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()
|
D | cache-inv-icache.c | 68 addr = page_to_phys(page); in flush_icache_page_range()
|
/linux-4.4.14/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-4.4.14/arch/sparc/include/asm/ |
D | page.h | 4 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
/linux-4.4.14/arch/s390/kernel/ |
D | machine_kexec.c | 204 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/ |
D | dma.c | 38 *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/ |
D | io.h | 77 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro 78 #define page_to_bus page_to_phys
|
D | pgalloc.h | 14 set_pmd(pmd, __pmd(_PAGE_TABLE + page_to_phys(pte))); in pmd_populate()
|
/linux-4.4.14/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-4.4.14/drivers/staging/android/ion/ |
D | ion_chunk_heap.c | 84 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()
|
D | ion_system_heap.c | 395 *addr = page_to_phys(page); in ion_system_contig_heap_phys()
|
D | ion.c | 908 sg_dma_address(&sg) = page_to_phys(page); in ion_pages_sync_for_device()
|
/linux-4.4.14/arch/x86/kernel/ |
D | pci-dma.c | 95 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()
|
D | pci-nommu.c | 33 dma_addr_t bus = page_to_phys(page) + offset; in nommu_map_page()
|
D | alternative.c | 706 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()
|
D | amd_gart_64.c | 248 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/ |
D | dma-coherence.h | 23 return page_to_phys(page); in plat_map_dma_mem_page()
|
/linux-4.4.14/arch/mips/include/asm/mach-ath25/ |
D | dma-coherence.h | 42 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/ |
D | dma-coherence.h | 32 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/ |
D | highmem.c | 43 paddr = page_to_phys(page); in kmap_atomic()
|
/linux-4.4.14/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-4.4.14/arch/metag/include/asm/ |
D | dma-mapping.h | 72 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()
|
D | pgalloc.h | 11 set_pmd(pmd, __pmd(_PAGE_TABLE | page_to_phys(pte)))
|
D | page.h | 111 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
D | io.h | 9 #define page_to_bus page_to_phys
|
/linux-4.4.14/arch/arm64/include/asm/ |
D | mmu_context.h | 51 unsigned long ttbr = page_to_phys(empty_zero_page); in cpu_set_reserved_ttbr0()
|
D | memory.h | 84 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
|
D | pgalloc.h | 133 __pmd_populate(pmdp, page_to_phys(ptep), PMD_TYPE_TABLE); in pmd_populate()
|
/linux-4.4.14/arch/nios2/include/asm/ |
D | io.h | 52 #define page_to_phys(page) virt_to_phys(page_to_virt(page)) macro
|
/linux-4.4.14/arch/unicore32/include/asm/ |
D | memory.h | 66 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
|
/linux-4.4.14/arch/x86/include/asm/ |
D | io.h | 144 #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/ |
D | highmem.h | 34 return DCACHE_ALIAS(page_to_phys(page)); in get_pkmap_color()
|
D | page.h | 184 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
/linux-4.4.14/arch/h8300/kernel/ |
D | dma.c | 46 return page_to_phys(page) + offset; in map_page()
|
/linux-4.4.14/arch/m68k/mm/ |
D | cache.c | 126 : : "a" (page_to_phys(page))); in flush_icache_user_range()
|
/linux-4.4.14/arch/frv/mb93090-mb00/ |
D | pci-dma.c | 89 return (dma_addr_t) page_to_phys(page) + offset; in dma_map_page()
|
D | pci-dma-nommu.c | 145 return (dma_addr_t) page_to_phys(page) + offset; in dma_map_page()
|
/linux-4.4.14/arch/cris/include/asm/ |
D | page.h | 60 #define page_to_phys(page) __pa((((page) - mem_map) << PAGE_SHIFT) + PAGE_OFFSET) macro
|
D | dma-mapping.h | 68 return page_to_phys(page) + offset; in dma_map_page()
|
/linux-4.4.14/drivers/virt/ |
D | fsl_hypervisor.c | 265 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/ |
D | page.h | 90 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
|
/linux-4.4.14/arch/sh/kernel/ |
D | dma-nommu.c | 18 dma_addr_t addr = page_to_phys(page) + offset; in nommu_map_page()
|
/linux-4.4.14/arch/avr32/include/asm/ |
D | page.h | 82 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
D | io.h | 307 #define page_to_bus page_to_phys
|
/linux-4.4.14/arch/powerpc/mm/ |
D | dma-noncoherent.c | 226 *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/ |
D | dma.c | 62 return bmips_phys_to_dma(dev, page_to_phys(page)); in plat_map_dma_mem_page()
|
/linux-4.4.14/arch/mn10300/include/asm/ |
D | page.h | 119 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
D | cacheflush.h | 141 mn10300_icache_inv_page(page_to_phys(page)); in flush_icache_page()
|
D | io.h | 317 #define page_to_bus page_to_phys
|
/linux-4.4.14/arch/um/include/asm/ |
D | pgtable.h | 274 #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/ |
D | pgalloc.h | 75 pmd_val(*pmd_entry) = page_to_phys(pte); in pmd_populate()
|
D | page.h | 123 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
D | io.h | 102 #define page_to_bus page_to_phys
|
/linux-4.4.14/tools/virtio/linux/ |
D | kernel.h | 35 #define page_to_phys(p) ((dma_addr_t)(unsigned long)(p)) macro
|
D | scatterlist.h | 174 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys()
|
/linux-4.4.14/drivers/crypto/nx/ |
D | nx-842.h | 100 return page_to_phys(vmalloc_to_page(addr)) + offset_in_page(addr); in nx842_get_pa()
|
D | nx.c | 104 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/ |
D | patch.c | 39 set_fixmap(fixmap, page_to_phys(page)); in patch_map()
|
/linux-4.4.14/arch/s390/include/asm/ |
D | page.h | 147 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
D | pgtable.h | 1305 unsigned long physpage = page_to_phys(page); in mk_pte()
|
/linux-4.4.14/arch/arm/include/asm/ |
D | pgalloc.h | 168 __pmd_populate(pmdp, page_to_phys(ptep), prot); in pmd_populate()
|
D | memory.h | 126 #define page_to_phys(page) (__pfn_to_phys(page_to_pfn(page))) macro
|
D | io.h | 38 #define isa_page_to_bus page_to_phys
|
/linux-4.4.14/arch/parisc/include/asm/ |
D | cacheflush.h | 119 flush_dcache_page_asm(page_to_phys(page), vmaddr); in flush_anon_page()
|
D | page.h | 167 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
/linux-4.4.14/drivers/misc/mic/scif/ |
D | scif_map.h | 121 *dma_handle = page_to_phys(page); in scif_map_page()
|
D | scif_rma.c | 604 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/ |
D | io.h | 154 #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/ |
D | dma.c | 177 dma_addr_t bus = page_to_phys(page) + offset; in hexagon_map_page()
|
/linux-4.4.14/arch/arc/include/asm/ |
D | io.h | 44 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
D | dma-mapping.h | 94 unsigned long paddr = page_to_phys(page) + offset; in dma_map_page()
|
/linux-4.4.14/arch/sh/include/asm/ |
D | page.h | 168 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
|
/linux-4.4.14/drivers/iommu/ |
D | dma-iommu.c | 315 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()
|
D | intel-iommu.c | 2162 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()
|
D | fsl_pamu.c | 1101 ppaact_phys = page_to_phys(p); in fsl_pamu_probe()
|
D | amd_iommu.c | 2565 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()
|
D | iommu.c | 1434 phys_addr_t phys = page_to_phys(sg_page(s)) + s->offset; in default_iommu_map_sg()
|
/linux-4.4.14/arch/nios2/mm/ |
D | dma-mapping.c | 91 return page_to_phys(page) + offset; in dma_map_page()
|
/linux-4.4.14/arch/openrisc/kernel/ |
D | dma.c | 143 dma_addr_t addr = page_to_phys(page) + offset; in or1k_map_page()
|
/linux-4.4.14/arch/alpha/include/asm/ |
D | io.h | 93 #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/ |
D | mic_boot.c | 74 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/ |
D | i915_gem_fence.c | 757 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()
|
D | i915_gem.c | 637 (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/ |
D | pci_dma.c | 289 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/ |
D | scatterlist.h | 226 return page_to_phys(sg_page(sg)) + sg->offset; in sg_phys()
|
D | bio.h | 153 #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/ |
D | pci-dma.c | 190 dma_addr_t dma_handle = page_to_phys(page) + offset; in xtensa_map_page()
|
/linux-4.4.14/arch/arm/mm/ |
D | dma-mapping.c | 372 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/ |
D | pci-dma.c | 65 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/ |
D | irq-gic-v3-its.c | 776 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/ |
D | dma-mapping.c | 110 *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/ |
D | kfifo.c | 333 if (page_to_phys(page) != page_to_phys(npage) - l) { in setup_sgl_buf()
|
D | swiotlb.c | 743 phys_addr_t map, phys = page_to_phys(page) + offset; in swiotlb_map_page()
|
D | dma-debug.c | 400 return page_to_phys(pfn_to_page(entry->pfn)) + entry->offset; in phys_addr()
|
/linux-4.4.14/arch/sh/mm/ |
D | cache-sh4.c | 122 (addr & shm_align_mask), page_to_phys(page)); in sh4_flush_dcache_page()
|
D | cache-sh5.c | 566 sh64_dcache_purge_phy_page(page_to_phys((struct page *)page)); in sh5_flush_dcache_page()
|
/linux-4.4.14/arch/powerpc/kernel/ |
D | dma.c | 239 return page_to_phys(page) + offset + get_dma_offset(dev); in dma_direct_map_page()
|
/linux-4.4.14/arch/powerpc/include/asm/ |
D | io.h | 798 #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/ |
D | io.h | 39 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
|
/linux-4.4.14/arch/x86/kernel/cpu/ |
D | perf_event_intel_pt.c | 356 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/ |
D | cache.c | 328 __flush_cache_page(mpnt, addr, page_to_phys(page)); in flush_dcache_page()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_dmm_tiler.c | 241 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/ |
D | fjes_hw.c | 492 (__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/ |
D | ioport.c | 524 return page_to_phys(page) + offset; in pci32_map_page()
|
/linux-4.4.14/drivers/xen/ |
D | swiotlb-xen.c | 383 phys_addr_t map, phys = page_to_phys(page) + offset; in xen_swiotlb_map_page()
|
/linux-4.4.14/drivers/gpu/drm/armada/ |
D | armada_gem.c | 106 obj->phys_addr = page_to_phys(p); in armada_gem_linear_back()
|
/linux-4.4.14/sound/pci/emu10k1/ |
D | memory.c | 488 emu->page_addr_table[page] = page_to_phys(p); in synth_alloc_pages()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_buffer.c | 281 return page_to_phys(viter->pages[viter->i]); in __vmw_piter_phys_addr()
|
/linux-4.4.14/drivers/misc/sgi-gru/ |
D | grufault.c | 204 *paddr = page_to_phys(page); in non_atomic_pte_lookup()
|
/linux-4.4.14/drivers/crypto/ux500/cryp/ |
D | cryp_core.c | 909 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/ |
D | percpu.c | 1353 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/ |
D | pci_iommu.c | 915 ptes[j] = mk_iommu_pte(page_to_phys(pages[i])); in iommu_bind()
|
/linux-4.4.14/arch/arm64/kernel/ |
D | insn.c | 104 return (void *)set_fixmap_offset(fixmap, page_to_phys(page) + in patch_map()
|
/linux-4.4.14/drivers/vfio/ |
D | vfio_iommu_type1.c | 723 ret = iommu_map(domain->domain, 0, page_to_phys(pages), PAGE_SIZE * 2, in vfio_test_domain_fgsp()
|
/linux-4.4.14/drivers/crypto/ |
D | n2_core.c | 906 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/ |
D | msu.c | 626 msc->base_addr = page_to_phys(page); in msc_buffer_contig_alloc()
|
/linux-4.4.14/arch/powerpc/perf/ |
D | hv-24x7.c | 501 return page_to_phys(p) + offset_in_page(v); in vmalloc_to_phys()
|
/linux-4.4.14/arch/arm/kvm/ |
D | mmu.c | 580 return page_to_phys(vmalloc_to_page(kaddr)) + in kvm_kaddr_to_phys()
|
/linux-4.4.14/arch/x86/kvm/ |
D | vmx.c | 7852 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()
|
D | x86.c | 6343 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/ |
D | o2iblnd.c | 1182 (__u64)(page_to_phys(pg) + pg_off)); in kiblnd_map_rx_descs()
|
/linux-4.4.14/virt/kvm/ |
D | kvm_main.c | 1901 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/ |
D | qeth_core_main.c | 3823 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/ |
D | e1000_main.c | 2926 page_to_phys(skb_frag_page(frag)); in e1000_tx_map()
|
/linux-4.4.14/net/core/ |
D | dev.c | 2610 dma_addr_t addr = page_to_phys(skb_frag_page(frag)); in illegal_highdma()
|
/linux-4.4.14/drivers/net/ethernet/sun/ |
D | niu.c | 9984 return page_to_phys(page) + offset; in niu_phys_map_page()
|