Home
last modified time | relevance | path

Searched refs:phys_to_virt (Results 1 – 25 of 87) sorted by relevance

1234

/arch/m68k/include/asm/
Dvirtconvert.h25 #define phys_to_virt phys_to_virt macro
26 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function
43 #define bus_to_virt phys_to_virt
/arch/arm/mach-s3c24xx/
Dpm-s3c2410.c39 void *base = phys_to_virt(H1940_SUSPEND_CHECK); in s3c2410_pm_prepare()
48 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
55 void *base = phys_to_virt(H1940_SUSPEND_CHECK); in s3c2410_pm_prepare()
64 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
/arch/mips/kernel/
Dmachine_kexec.c78 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()
/arch/sh/kernel/
Dmachine_kexec.c87 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
90 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
121 (unsigned long)phys_to_virt(image->start)); in machine_kexec()
132 phys_to_virt(*ptr & PAGE_MASK) : ptr + 1) { in machine_kexec()
/arch/ia64/mm/
Dioremap.c27 return (void __iomem *) phys_to_virt(phys_addr); in early_ioremap()
49 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
60 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
/arch/nios2/mm/
Ddma-mapping.c24 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()
/arch/arm64/mm/
Ddma-mapping.c19 __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()
/arch/ia64/include/asm/
Dio.h88 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
/arch/arm/mach-pxa/
Dmioa701.c447 u32 *rom_bootstrap = phys_to_virt(RESUME_VECTOR_ADDR); in install_bootstrap()
458 u32 *mem_resume_vector = phys_to_virt(RESUME_VECTOR_ADDR); in mioa701_sys_suspend()
459 u32 *mem_resume_enabler = phys_to_virt(RESUME_ENABLE_ADDR); in mioa701_sys_suspend()
460 u32 *mem_resume_bt = phys_to_virt(RESUME_BT_ADDR); in mioa701_sys_suspend()
461 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); in mioa701_sys_suspend()
484 u32 *mem_resume_vector = phys_to_virt(RESUME_VECTOR_ADDR); in mioa701_sys_resume()
485 u32 *mem_resume_enabler = phys_to_virt(RESUME_ENABLE_ADDR); in mioa701_sys_resume()
486 u32 *mem_resume_bt = phys_to_virt(RESUME_BT_ADDR); in mioa701_sys_resume()
487 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); in mioa701_sys_resume()
/arch/arm/mach-socfpga/
Dplatsmp.c30 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()
/arch/x86/include/asm/
Dio.h148 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
Dbios_ebda.h16 unsigned int address = *(unsigned short *)phys_to_virt(0x40E); in get_bios_ebda()
Dvga.h22 unsigned long start = (unsigned long)phys_to_virt(x); \
/arch/m68k/mm/
Dinit.c66 i = (unsigned long)phys_to_virt(info->addr) >> __virt_to_node_shift(); in m68k_setup_node()
67 end = (unsigned long)phys_to_virt(info->addr + info->size - 1) >> __virt_to_node_shift(); in m68k_setup_node()
/arch/arm/include/asm/
Dmemory.h285 #define phys_to_virt phys_to_virt macro
286 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() function
Dproc-fns.h170 (pgd_t *)phys_to_virt(pg); \
179 (pgd_t *)phys_to_virt(pg); \
/arch/powerpc/platforms/powernv/
Dopal-msglog.c48 conbuf = phys_to_virt(be64_to_cpu(mc->obuf_phys)); in memcons_copy()
117 mc = phys_to_virt(mcaddr); in memcons_init()
/arch/unicore32/include/asm/
Dcpu-single.h26 (pgd_t *)phys_to_virt(pg); \
/arch/arm64/kernel/
Dmachine_kexec.c98 addr = phys_to_virt(*entry & PAGE_MASK); in kexec_list_flush()
134 __flush_dcache_area(phys_to_virt(kimage->segment[i].mem), in kexec_segment_flush()
159 reboot_code_buffer = phys_to_virt(reboot_code_buffer_phys); in machine_kexec()
Dcrash_dump.c66 memcpy(buf, phys_to_virt((phys_addr_t)*ppos), count); in elfcorehdr_read()
/arch/arm64/include/asm/
Dmemory.h295 #define phys_to_virt phys_to_virt macro
296 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() function
/arch/mips/alchemy/common/
Ddbdma.c214 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()
/arch/arm/plat-samsung/
Dpm-check.c115 *val = crc32_le(~0, phys_to_virt(addr), left); in s3c_pm_makecheck()
178 ptr = phys_to_virt(addr); in s3c_pm_runcheck()
/arch/alpha/kernel/
Dcore_irongate.c348 gatt_pages = (u32 *)(phys_to_virt(mmio_regs[1])); /* FIXME */ in irongate_ioremap()
370 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
387 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
/arch/arm/mach-sti/
Dplatsmp.c91 (u32 __iomem *)phys_to_virt(release_phys); in sti_smp_prepare_cpus()

1234