Searched refs:page_to_phys (Results 1 - 25 of 147) sorted by relevance

123456

/linux-master/arch/sparc/include/asm/
H A Dpage.h5 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-master/arch/microblaze/mm/
H A Dconsistent.c20 phys_addr_t paddr = page_to_phys(page);
/linux-master/arch/m68k/include/asm/
H A Dvirtconvert.h32 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-master/arch/m68k/kernel/
H A Ddma.c14 cache_push(page_to_phys(page), size);
/linux-master/arch/xtensa/mm/
H A Dcache.c62 if (!DCACHE_ALIAS_EQ(page_to_phys(page), vaddr)) {
71 (page_to_phys(page) & DCACHE_ALIAS_MASK);
75 page_to_phys(page));
84 *paddr = page_to_phys(page);
202 unsigned long phys = page_to_phys(pfn_to_page(pfn));
275 unsigned long phys = page_to_phys(page);
315 unsigned long phys = page_to_phys(page);
/linux-master/arch/loongarch/include/asm/
H A Dpage.h84 #define page_to_phys(page) pfn_to_phys(page_to_pfn(page)) macro
89 #define page_to_virt(page) __va(page_to_phys(page))
99 (__kfence_pool == NULL) ? __va(page_to_phys(page)) : page_address(page); \
H A Dio.h75 page_to_phys(tlb_virt_to_page((unsigned long)kaddr)) + offset_in_page((unsigned long)kaddr);\
/linux-master/arch/nios2/include/asm/
H A Dio.h32 #define page_to_phys(page) virt_to_phys(page_to_virt(page)) macro
/linux-master/arch/arc/mm/
H A Ddma.c30 dma_cache_wback_inv(page_to_phys(page), size);
/linux-master/arch/csky/mm/
H A Ddma-mapping.c18 void *start = __va(page_to_phys(page));
55 cache_op(page_to_phys(page), size, dma_wbinv_set_zero_range);
/linux-master/include/asm-generic/
H A Dpage.h91 #ifndef page_to_phys
92 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-master/arch/hexagon/include/asm/
H A Dpage.h122 * page_to_phys - convert page to physical address
125 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
132 #define page_to_virt(page) __va(page_to_phys(page))
/linux-master/arch/xtensa/include/asm/
H A Dhighmem.h34 return DCACHE_ALIAS(page_to_phys(page));
/linux-master/arch/m68k/mm/
H A Dcache.c117 : : "a" (page_to_phys(page)));
/linux-master/tools/virtio/linux/
H A Ddma-mapping.h24 #define dma_map_page(d, p, o, s, dir) (page_to_phys(p) + (o))
H A Dscatterlist.h158 return page_to_phys(sg_page(sg)) + sg->offset;
/linux-master/arch/openrisc/include/asm/
H A Dpage.h83 #define page_to_phys(page) ((dma_addr_t)page_to_pfn(page) << PAGE_SHIFT) macro
/linux-master/drivers/firmware/efi/
H A Dcapsule.c172 sglist_phys = page_to_phys(sg_pages[0]);
267 sglist[j].data = page_to_phys(sg_pages[i + 1]);
/linux-master/arch/csky/include/asm/
H A Dpage.h46 #define page_to_phys(page) (page_to_pfn(page) << PAGE_SHIFT) macro
/linux-master/drivers/char/agp/
H A Duninorth-agp.c144 page_to_phys(agp_bridge->scratch_page_page) >> 12);
187 gp[i] = (page_to_phys(mem->pages[i]) >> PAGE_SHIFT) | 0x80000000UL;
189 gp[i] = cpu_to_le32((page_to_phys(mem->pages[i]) & 0xFFFFF000UL) |
191 flush_dcache_range((unsigned long)__va(page_to_phys(mem->pages[i])),
192 (unsigned long)__va(page_to_phys(mem->pages[i]))+0x1000);
433 scratch_value = (page_to_phys(agp_bridge->scratch_page_page) >> PAGE_SHIFT) | 0x80000000UL;
435 scratch_value = cpu_to_le32((page_to_phys(agp_bridge->scratch_page_page) & 0xFFFFF000UL) |
/linux-master/kernel/dma/
H A Ddirect.c110 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) {
133 if (!dma_coherent_ok(dev, page_to_phys(page), size) ||
142 if (page && !dma_coherent_ok(dev, page_to_phys(page), size)) {
185 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page));
203 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page));
301 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page));
374 *dma_handle = phys_to_dma_direct(dev, page_to_phys(page));
/linux-master/arch/arm/kernel/
H A Dpatch.c38 set_fixmap(fixmap, page_to_phys(page));
/linux-master/arch/arm/include/asm/
H A Dpgalloc.h144 __pmd_populate(pmdp, page_to_phys(ptep), prot);
/linux-master/arch/parisc/kernel/
H A Dpatch.c42 set_fixmap(fixmap, page_to_phys(page));
/linux-master/drivers/crypto/nx/
H A Dnx-842.h109 return page_to_phys(vmalloc_to_page(addr)) + offset_in_page(addr);

Completed in 250 milliseconds

123456