Home
last modified time | relevance | path

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

1234567

/linux-6.1.9/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
/linux-6.1.9/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()
/linux-6.1.9/arch/arm/mach-s3c/
Dpm-s3c2410.c38 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-6.1.9/tools/include/linux/
Dmm.h26 #define phys_to_virt phys_to_virt macro
27 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function
/linux-6.1.9/drivers/firmware/google/
Dmemconsole-x86-legacy.c60 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-6.1.9/arch/sh/kernel/
Dmachine_kexec.c85 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-6.1.9/arch/arm/mach-pxa/
Dmioa701.c448 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-6.1.9/arch/ia64/mm/
Dioremap.c28 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-6.1.9/arch/loongarch/kernel/
Dmachine_kexec.c266 start_addr = (unsigned long)phys_to_virt(image->start); in machine_kexec()
269 (unsigned long)phys_to_virt(image->head & PAGE_MASK) : 0; in machine_kexec()
278 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
281 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
/linux-6.1.9/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()
/linux-6.1.9/arch/arm64/mm/
Ddma-mapping.c19 unsigned long start = (unsigned long)phys_to_virt(paddr); in arch_sync_dma_for_device()
27 unsigned long start = (unsigned long)phys_to_virt(paddr); in arch_sync_dma_for_cpu()
/linux-6.1.9/arch/riscv/mm/
Ddma-noncoherent.c18 void *vaddr = phys_to_virt(paddr); in arch_sync_dma_for_device()
38 void *vaddr = phys_to_virt(paddr); in arch_sync_dma_for_cpu()
/linux-6.1.9/arch/x86/include/asm/
Dio.h150 static inline void *phys_to_virt(phys_addr_t address) in phys_to_virt() function
154 #define phys_to_virt phys_to_virt macro
170 #define isa_bus_to_virt phys_to_virt
/linux-6.1.9/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()
/linux-6.1.9/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
/linux-6.1.9/arch/arm/include/asm/
Dmemory.h317 #define phys_to_virt phys_to_virt macro
318 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); \
/linux-6.1.9/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()
/linux-6.1.9/arch/hexagon/include/asm/
Dio.h58 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function
318 #define phys_to_virt phys_to_virt macro
/linux-6.1.9/arch/powerpc/platforms/powernv/
Dopal-msglog.c50 conbuf = phys_to_virt(be64_to_cpu(mc->obuf_phys)); in memcons_copy()
119 mc = phys_to_virt(mcaddr); in memcons_init()
/linux-6.1.9/arch/alpha/kernel/
Dcore_irongate.c347 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-6.1.9/arch/arm64/include/asm/
Dmemory.h315 #define phys_to_virt phys_to_virt macro
316 static inline void *phys_to_virt(phys_addr_t x) in phys_to_virt() function
/linux-6.1.9/drivers/soc/samsung/
Ds3c-pm-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()
/linux-6.1.9/arch/s390/include/asm/
Dpci_dma.h173 return phys_to_virt(entry & ZPCI_RTE_ADDR_MASK); in get_rt_sto()
182 return phys_to_virt(entry & ZPCI_STE_ADDR_MASK); in get_st_pto()
/linux-6.1.9/arch/alpha/include/asm/
Dio.h68 static inline void * phys_to_virt(unsigned long address) in phys_to_virt() function
87 static inline void * phys_to_virt(unsigned long address) in phys_to_virt() function
94 #define phys_to_virt phys_to_virt macro
127 virt = phys_to_virt(address); in isa_bus_to_virt()

1234567