/linux-2.6.39/arch/frv/include/asm/ |
D | virtconvert.h | 24 #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/ |
D | smpboot_hooks.h | 16 *((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()
|
D | io.h | 151 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
|
D | bios_ebda.h | 12 unsigned int address = *(unsigned short *)phys_to_virt(0x40E); in get_bios_ebda()
|
D | vga.h | 15 #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x)
|
/linux-2.6.39/arch/arm/mach-s3c2410/ |
D | pm.c | 51 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/ |
D | machine_kexec.c | 57 (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/ |
D | ixpdev.c | 61 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/ |
D | machine_kexec.c | 89 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/ |
D | virtconvert.h | 13 #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/ |
D | cache.c | 14 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/ |
D | virtconvert.h | 23 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/ |
D | fortunet.c | 63 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/ |
D | mioa701.c | 483 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/ |
D | io.h | 142 #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/ |
D | ioremap.c | 48 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/ |
D | page.h | 267 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/ |
D | init_mm.c | 53 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/ |
D | dbdma.c | 195 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/ |
D | swiotlb-xen.c | 299 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/ |
D | io.h | 7 #define bus_to_virt phys_to_virt
|
/linux-2.6.39/arch/alpha/kernel/ |
D | core_irongate.c | 349 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/ |
D | vga.h | 14 #define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
|
/linux-2.6.39/arch/m32r/include/asm/ |
D | vga.h | 15 #define VGA_MAP_MEM(x,s) (unsigned long)phys_to_virt(x)
|
/linux-2.6.39/include/asm-generic/ |
D | vga.h | 18 #define VGA_MAP_MEM(x, s) (unsigned long)phys_to_virt(x)
|