/linux/arch/m68k/include/asm/ |
A D | virtconvert.h | 25 #define phys_to_virt phys_to_virt macro 26 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function 38 #define bus_to_virt phys_to_virt
|
/linux/arch/mips/kernel/ |
A D | machine_kexec.c | 78 phys_to_virt((unsigned long)kimage->segment[i].mem); in uhi_machine_kexec_prepare() 218 (unsigned long) phys_to_virt(image->start); in machine_kexec() 222 (unsigned long) phys_to_virt(image->head & PAGE_MASK); in machine_kexec() 238 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec() 241 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
|
/linux/arch/arm/mach-s3c/ |
A D | pm-s3c2410.c | 38 void *base = phys_to_virt(H1940_SUSPEND_CHECK); in s3c2410_pm_prepare() 47 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare() 54 void *base = phys_to_virt(H1940_SUSPEND_CHECK); in s3c2410_pm_prepare() 63 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
|
/linux/drivers/firmware/google/ |
A D | memconsole-x86-legacy.c | 60 memconsole_baseaddr = phys_to_virt(hdr->v1.buffer_addr); in found_v1_header() 73 memconsole_baseaddr = phys_to_virt(hdr->v2.buffer_addr + hdr->v2.start); in found_v2_header() 94 length = *(u8 *)phys_to_virt(address); in memconsole_ebda_init() 102 struct biosmemcon_ebda *hdr = phys_to_virt(address + cur); in memconsole_ebda_init()
|
/linux/arch/sh/kernel/ |
A D | machine_kexec.c | 85 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec() 88 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec() 119 (unsigned long)phys_to_virt(image->start)); in machine_kexec() 130 phys_to_virt(*ptr & PAGE_MASK) : ptr + 1) { in machine_kexec()
|
/linux/arch/arm/mach-pxa/ |
A D | mioa701.c | 448 u32 *rom_bootstrap = phys_to_virt(RESUME_VECTOR_ADDR); in install_bootstrap() 459 u32 *mem_resume_vector = phys_to_virt(RESUME_VECTOR_ADDR); in mioa701_sys_suspend() 460 u32 *mem_resume_enabler = phys_to_virt(RESUME_ENABLE_ADDR); in mioa701_sys_suspend() 461 u32 *mem_resume_bt = phys_to_virt(RESUME_BT_ADDR); in mioa701_sys_suspend() 462 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); in mioa701_sys_suspend() 485 u32 *mem_resume_vector = phys_to_virt(RESUME_VECTOR_ADDR); in mioa701_sys_resume() 486 u32 *mem_resume_enabler = phys_to_virt(RESUME_ENABLE_ADDR); in mioa701_sys_resume() 487 u32 *mem_resume_bt = phys_to_virt(RESUME_BT_ADDR); in mioa701_sys_resume() 488 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); in mioa701_sys_resume()
|
/linux/arch/ia64/include/asm/ |
A D | io.h | 88 phys_to_virt (unsigned long address) in phys_to_virt() function 92 #define phys_to_virt phys_to_virt macro 103 #define bus_to_virt phys_to_virt
|
/linux/arch/ia64/mm/ |
A D | ioremap.c | 28 return (void __iomem *) phys_to_virt(phys_addr); in early_ioremap() 50 return (void __iomem *) phys_to_virt(phys_addr); in ioremap() 61 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
|
/linux/arch/x86/include/asm/ |
A D | io.h | 148 static inline void *phys_to_virt(phys_addr_t address) in phys_to_virt() function 152 #define phys_to_virt phys_to_virt macro 168 #define isa_bus_to_virt phys_to_virt 177 #define bus_to_virt phys_to_virt
|
A D | bios_ebda.h | 16 unsigned int address = *(unsigned short *)phys_to_virt(0x40E); in get_bios_ebda()
|
A D | vga.h | 22 unsigned long start = (unsigned long)phys_to_virt(x); \
|
/linux/arch/nios2/mm/ |
A D | dma-mapping.c | 24 void *vaddr = phys_to_virt(paddr); in arch_sync_dma_for_device() 48 void *vaddr = phys_to_virt(paddr); in arch_sync_dma_for_cpu()
|
/linux/arch/arm64/mm/ |
A D | dma-mapping.c | 19 __dma_map_area(phys_to_virt(paddr), size, dir); in arch_sync_dma_for_device() 25 __dma_unmap_area(phys_to_virt(paddr), size, dir); in arch_sync_dma_for_cpu()
|
/linux/arch/mips/alchemy/common/ |
A D | dbdma.c | 214 return phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_ddma_get_nextptr_virt() 639 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_source() 701 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_dest() 741 *buf = (void *)(phys_to_virt(dp->dscr_dest0)); in au1xxx_dbdma_get_dest() 746 ctp->get_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_get_dest() 819 dp = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_reset() 885 ctp->cur_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in dbdma_interrupt() 927 dp = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_dump() 973 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_dscr()
|
/linux/arch/arm/include/asm/ |
A D | memory.h | 317 #define phys_to_virt phys_to_virt macro 318 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() function
|
A D | proc-fns.h | 170 (pgd_t *)phys_to_virt(pg); \ 179 (pgd_t *)phys_to_virt(pg); \
|
/linux/arch/arm/mach-socfpga/ |
A D | platsmp.c | 30 memcpy(phys_to_virt(0), secondary_trampoline, trampoline_size); in socfpga_boot_secondary() 53 memcpy(phys_to_virt(0), secondary_trampoline, trampoline_size); in socfpga_a10_boot_secondary()
|
/linux/kernel/dma/ |
A D | swiotlb.c | 172 vaddr = phys_to_virt(mem->start); in swiotlb_update_mem_attributes() 181 void *vaddr = phys_to_virt(start); in swiotlb_init_io_tlb_mem() 339 tbl_vaddr = (unsigned long)phys_to_virt(mem->start); in swiotlb_exit() 374 unsigned char *vaddr = phys_to_virt(tlb_addr); in swiotlb_bounce() 432 memcpy(vaddr, phys_to_virt(orig_addr), size); in swiotlb_bounce() 434 memcpy(phys_to_virt(orig_addr), vaddr, size); in swiotlb_bounce() 809 set_memory_decrypted((unsigned long)phys_to_virt(rmem->base), in rmem_swiotlb_device_init()
|
/linux/arch/alpha/kernel/ |
A D | core_irongate.c | 347 gatt_pages = (u32 *)(phys_to_virt(mmio_regs[1])); /* FIXME */ in irongate_ioremap() 369 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap() 386 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
|
/linux/arch/arm64/include/asm/ |
A D | memory.h | 306 #define phys_to_virt phys_to_virt macro 307 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() function
|
/linux/arch/powerpc/platforms/powernv/ |
A D | opal-msglog.c | 50 conbuf = phys_to_virt(be64_to_cpu(mc->obuf_phys)); in memcons_copy() 119 mc = phys_to_virt(mcaddr); in memcons_init()
|
/linux/drivers/staging/media/atomisp/pci/mmu/ |
A D | isp_mmu.c | 62 unsigned int *pt_virt = phys_to_virt(pt); in atomisp_get_pte() 70 unsigned int *pt_virt = phys_to_virt(pt); in atomisp_set_pte() 76 return phys_to_virt(phys); in isp_pt_phys_to_virt() 133 virt = phys_to_virt(page); in free_page_table()
|
/linux/drivers/soc/samsung/ |
A D | s3c-pm-check.c | 115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck() 178 ptr = phys_to_virt(addr); in s3c_pm_runcheck()
|
/linux/arch/mips/include/asm/ |
A D | io.h | 132 static inline void * phys_to_virt(unsigned long address) in phys_to_virt() function 147 return phys_to_virt(address); in isa_bus_to_virt() 157 #define bus_to_virt phys_to_virt
|
/linux/include/asm-generic/ |
A D | vga.h | 19 #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x)
|