Home
last modified time | relevance | path

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

123456

/linux-2.6.39/arch/frv/include/asm/
Dvirtconvert.h24 #define phys_to_virt(vaddr) ((void *) ((unsigned long)(vaddr) + PAGE_OFFSET)) macro
29 #define phys_to_virt(vaddr) ((void *) (vaddr)) macro
35 #define bus_to_virt phys_to_virt
/linux-2.6.39/arch/x86/include/asm/
Dsmpboot_hooks.h16 *((volatile unsigned short *)phys_to_virt(apic->trampoline_phys_high)) = in smpboot_setup_warm_reset_vector()
19 *((volatile unsigned short *)phys_to_virt(apic->trampoline_phys_low)) = in smpboot_setup_warm_reset_vector()
37 *((volatile u32 *)phys_to_virt(apic->trampoline_phys_low)) = 0; in smpboot_restore_warm_reset_vector()
Dio.h151 static inline void *phys_to_virt(phys_addr_t address) in phys_to_virt() function
171 #define isa_bus_to_virt phys_to_virt
180 #define bus_to_virt phys_to_virt
Dbios_ebda.h12 unsigned int address = *(unsigned short *)phys_to_virt(0x40E); in get_bios_ebda()
Dvga.h15 #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x)
/linux-2.6.39/arch/arm/mach-s3c2410/
Dpm.c51 void *base = phys_to_virt(H1940_SUSPEND_CHECK); in s3c2410_pm_prepare()
60 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
67 void *base = phys_to_virt(H1940_SUSPEND_CHECK); in s3c2410_pm_prepare()
76 __raw_writel(calc, phys_to_virt(H1940_SUSPEND_CHECKSUM)); in s3c2410_pm_prepare()
/linux-2.6.39/arch/mips/kernel/
Dmachine_kexec.c57 (unsigned long) phys_to_virt(image->head & PAGE_MASK); in machine_kexec()
70 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
73 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
/linux-2.6.39/drivers/net/ixp2000/
Dixpdev.c61 skb_copy_and_csum_dev(skb, phys_to_virt(desc->buf_addr)); in ixpdev_xmit()
91 buf = phys_to_virt(desc->buf_addr); in ixpdev_rx()
338 free_page((unsigned long)phys_to_virt(rx_desc[i].buf_addr)); in ixpdev_init()
353 free_page((unsigned long)phys_to_virt(tx_desc[i].buf_addr)); in ixpdev_init()
411 free_page((unsigned long)phys_to_virt(tx_desc[i].buf_addr)); in ixpdev_init()
415 free_page((unsigned long)phys_to_virt(rx_desc[i].buf_addr)); in ixpdev_init()
435 free_page((unsigned long)phys_to_virt(tx_desc[i].buf_addr)); in ixpdev_deinit()
438 free_page((unsigned long)phys_to_virt(rx_desc[i].buf_addr)); in ixpdev_deinit()
/linux-2.6.39/arch/sh/kernel/
Dmachine_kexec.c89 phys_to_virt(entry & PAGE_MASK) : ptr + 1) { in machine_kexec()
92 *ptr = (unsigned long) phys_to_virt(*ptr); in machine_kexec()
123 (unsigned long)phys_to_virt(image->start)); in machine_kexec()
134 phys_to_virt(*ptr & PAGE_MASK) : ptr + 1) { in machine_kexec()
/linux-2.6.39/arch/h8300/include/asm/
Dvirtconvert.h13 #define phys_to_virt(vaddr) ((void *) (vaddr)) macro
17 #define bus_to_virt phys_to_virt
/linux-2.6.39/arch/cris/arch-v32/kernel/
Dcache.c14 cris_flush_cache_range(phys_to_virt((unsigned)descr->buf), in flush_dma_descr()
25 descr = phys_to_virt((unsigned)descr->next); in flush_dma_list()
/linux-2.6.39/arch/m68k/include/asm/
Dvirtconvert.h23 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function
44 #define bus_to_virt phys_to_virt
/linux-2.6.39/arch/arm/mach-clps711x/
Dfortunet.c63 IMAGE_PARAMS *ip = phys_to_virt(IMAGE_PARAMS_PHYS); in fortunet_fixup()
64 *cmdline = phys_to_virt(ip->command_line); in fortunet_fixup()
/linux-2.6.39/arch/arm/mach-pxa/
Dmioa701.c483 u32 *rom_bootstrap = phys_to_virt(RESUME_VECTOR_ADDR); in install_bootstrap()
494 u32 *mem_resume_vector = phys_to_virt(RESUME_VECTOR_ADDR); in mioa701_sys_suspend()
495 u32 *mem_resume_enabler = phys_to_virt(RESUME_ENABLE_ADDR); in mioa701_sys_suspend()
496 u32 *mem_resume_bt = phys_to_virt(RESUME_BT_ADDR); in mioa701_sys_suspend()
497 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); in mioa701_sys_suspend()
520 u32 *mem_resume_vector = phys_to_virt(RESUME_VECTOR_ADDR); in mioa701_sys_resume()
521 u32 *mem_resume_enabler = phys_to_virt(RESUME_ENABLE_ADDR); in mioa701_sys_resume()
522 u32 *mem_resume_bt = phys_to_virt(RESUME_BT_ADDR); in mioa701_sys_resume()
523 u32 *mem_resume_unknown = phys_to_virt(RESUME_UNKNOWN_ADDR); in mioa701_sys_resume()
/linux-2.6.39/arch/microblaze/include/asm/
Dio.h142 #define phys_to_virt(addr) ((void *)__phys_to_virt(addr)) macro
147 #define bus_to_virt(addr) (phys_to_virt(addr))
190 static inline void *phys_to_virt(unsigned long address) in phys_to_virt() function
195 #define bus_to_virt(a) phys_to_virt(a)
/linux-2.6.39/arch/ia64/mm/
Dioremap.c48 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
59 return (void __iomem *) phys_to_virt(phys_addr); in ioremap()
/linux-2.6.39/arch/tile/include/asm/
Dpage.h267 static inline void *phys_to_virt(phys_addr_t paddr) in phys_to_virt() function
296 static inline void *phys_to_virt(phys_addr_t paddr) in phys_to_virt() function
308 #define __va(paddr) phys_to_virt((phys_addr_t)(paddr))
/linux-2.6.39/arch/m68k/mm/
Dinit_mm.c53 i = (unsigned long)phys_to_virt(info->addr) >> __virt_to_node_shift(); in m68k_setup_node()
54 end = (unsigned long)phys_to_virt(info->addr + info->size - 1) >> __virt_to_node_shift(); in m68k_setup_node()
/linux-2.6.39/arch/mips/alchemy/common/
Ddbdma.c195 return phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_ddma_get_nextptr_virt()
620 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_source()
682 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_dest()
722 *buf = (void *)(phys_to_virt(dp->dscr_dest0)); in au1xxx_dbdma_get_dest()
727 ctp->get_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_get_dest()
800 dp = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_reset()
866 ctp->cur_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in dbdma_interrupt()
908 dp = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_dump()
954 ctp->put_ptr = phys_to_virt(DSCR_GET_NXTPTR(dp->dscr_nxtptr)); in au1xxx_dbdma_put_dscr()
/linux-2.6.39/drivers/xen/
Dswiotlb-xen.c299 swiotlb_tbl_unmap_single(hwdev, phys_to_virt(paddr), size, dir); in xen_unmap_single()
312 dma_mark_clean(phys_to_virt(paddr), size); in xen_unmap_single()
344 swiotlb_tbl_sync_single(hwdev, phys_to_virt(paddr), size, dir, in xen_swiotlb_sync_single()
352 dma_mark_clean(phys_to_virt(paddr), size); in xen_swiotlb_sync_single()
/linux-2.6.39/arch/score/include/asm/
Dio.h7 #define bus_to_virt phys_to_virt
/linux-2.6.39/arch/alpha/kernel/
Dcore_irongate.c349 gatt_pages = (u32 *)(phys_to_virt(mmio_regs[1])); /* FIXME */ in irongate_ioremap()
371 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
388 cur_gatt = phys_to_virt(GET_GATT(baddr) & ~1); in irongate_ioremap()
/linux-2.6.39/arch/xtensa/include/asm/
Dvga.h14 #define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
/linux-2.6.39/arch/m32r/include/asm/
Dvga.h15 #define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
/linux-2.6.39/include/asm-generic/
Dvga.h18 #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x)

123456