Home
last modified time | relevance | path

Searched refs:io_p2v (Results 1 – 25 of 27) sorted by relevance

12

/arch/arm/mach-lpc32xx/include/mach/
Dplatform.h130 #define _PMREG(x) io_p2v(LPC32XX_CLK_PM_BASE +\
584 #define LPC32XX_INTC_MASK(x) io_p2v((x) + 0x00)
585 #define LPC32XX_INTC_RAW_STAT(x) io_p2v((x) + 0x04)
586 #define LPC32XX_INTC_STAT(x) io_p2v((x) + 0x08)
587 #define LPC32XX_INTC_POLAR(x) io_p2v((x) + 0x0C)
588 #define LPC32XX_INTC_ACT_TYPE(x) io_p2v((x) + 0x10)
589 #define LPC32XX_INTC_TYPE(x) io_p2v((x) + 0x14)
594 #define LPC32XX_TIMER_IR(x) io_p2v((x) + 0x00)
595 #define LPC32XX_TIMER_TCR(x) io_p2v((x) + 0x04)
596 #define LPC32XX_TIMER_TC(x) io_p2v((x) + 0x08)
[all …]
Dhardware.h31 #define io_p2v(x) ((void __iomem *) (unsigned long) IO_ADDRESS(x)) macro
/arch/arm/mach-sa1100/include/mach/
Dhardware.h34 #define io_p2v( x ) \ macro
59 # define __REG(x) (*((volatile unsigned long *)io_p2v(x)))
68 # define __REG(x) io_p2v(x)
/arch/unicore32/include/mach/
DPKUnity.h34 #define PKUNITY_PCI_BASE io_p2v(0x80000000) /* 0x80000000 - 0xBFFFFFFF 1GB */
46 #define PKUNITY_AHB_BASE io_p2v(0xC0000000)
71 #define PKUNITY_APB_BASE io_p2v(0xEE000000)
Dhardware.h21 #define io_p2v(x) (void __iomem *)((x) - PKUNITY_MMIO_BASE) macro
24 #define io_p2v(x) ((x) - PKUNITY_MMIO_BASE) macro
/arch/arm/mach-nomadik/
Dcpu-8815.c143 vic_init(io_p2v(NOMADIK_IC_BASE + 0x00), IRQ_VIC_START + 0, ~0, 0); in cpu8815_init_irq()
144 vic_init(io_p2v(NOMADIK_IC_BASE + 0x20), IRQ_VIC_START + 32, ~0, 0); in cpu8815_init_irq()
160 l2x0_init(io_p2v(NOMADIK_L2CC_BASE), 0x00730249, 0xfe000fff); in cpu8815_platform_init()
167 void __iomem *src_rstsr = io_p2v(NOMADIK_SRC_BASE + 0x18); in cpu8815_restart()
Dboard-nhk8815.c244 src_cr = readl(io_p2v(NOMADIK_SRC_BASE)); in nomadik_timer_init()
247 writel(src_cr, io_p2v(NOMADIK_SRC_BASE)); in nomadik_timer_init()
249 nmdk_timer_init(io_p2v(NOMADIK_MTU0_BASE)); in nomadik_timer_init()
/arch/arm/mach-lpc32xx/
Dserial.c38 .membase = io_p2v(LPC32XX_UART5_BASE),
50 .membase = io_p2v(LPC32XX_UART3_BASE),
62 .membase = io_p2v(LPC32XX_UART4_BASE),
74 .membase = io_p2v(LPC32XX_UART6_BASE),
Dcommon.c243 __raw_writel(13000, io_p2v(LPC32XX_WDTIM_BASE + 0x18)); in lpc32xx_watchdog_reset()
244 __raw_writel(0x70, io_p2v(LPC32XX_WDTIM_BASE + 0xC)); in lpc32xx_watchdog_reset()
258 iramptr1 = io_p2v(LPC32XX_IRAM_BASE); in lpc32xx_return_iram_size()
259 iramptr2 = io_p2v(LPC32XX_IRAM_BASE + LPC32XX_IRAM_BANK_SIZE); in lpc32xx_return_iram_size()
Dpm.c133 #define EMC_CTRL_REG io_p2v(LPC32XX_EMC_BASE + EMC_DYN_MEM_CTRL_OFS)
Dclock.c661 .enable_reg = io_p2v(LPC32XX_USB_BASE + 0xFF4),
895 tmp = __raw_readl(io_p2v(LPC32XX_LCD_BASE + CLCD_TIM2)); in clcd_get_rate()
919 tmp = __raw_readl(io_p2v(LPC32XX_LCD_BASE + CLCD_TIM2)) | TIM2_BCD; in clcd_set_rate()
935 __raw_writel(tmp, io_p2v(LPC32XX_LCD_BASE + CLCD_TIM2)); in clcd_set_rate()
/arch/arm/mach-pxa/include/mach/
Ddma.h18 #define DMAC_REGS_VIRT io_p2v(0x40000000)
Dhardware.h40 #define io_p2v(x) IOMEM(0xf2000000 + ((x) & 0x01ffffff) + (((x) & 0x1c000000) >> 1)) macro
43 # define __REG(x) (*((volatile u32 __iomem *)io_p2v(x)))
54 # define __REG(x) io_p2v(x)
Ddebug-macro.S18 orr \rv, \rp, #io_p2v(0x40000000) @ virtual
Dpxa27x-udc.h177 #define PUDCDN(x) (volatile u32 *)(io_p2v(PHYS_UDCDN((x))))
/arch/arm/mach-netx/
Dxc.c110 writel(val, (void __iomem *)io_p2v(adr)); in xc_patch()
163 memcpy((void *)io_p2v(dst), src, size); in xc_request_firmware()
207 x->xpec_base = (void * __iomem)io_p2v(NETX_PA_XPEC(xcno)); in request_xc()
208 x->xmac_base = (void * __iomem)io_p2v(NETX_PA_XMAC(xcno)); in request_xc()
Dgeneric.c171 vic_init(io_p2v(NETX_PA_VIC), 0, ~0, 0); in netx_init_irq()
/arch/arm/mach-netx/include/mach/
Dhardware.h36 #define io_p2v(x) IOMEM((x) - NETX_IO_PHYS + NETX_IO_VIRT) macro
Ddebug-macro.S18 orr \rv, \rp, #io_p2v(0x00100000) @ virtual
/arch/arm/mach-ux500/include/mach/
Dhardware.h28 #define io_p2v(n) __io_address(n) macro
/arch/arm/mach-nomadik/include/mach/
Dhardware.h27 #define io_p2v(x) ((void __iomem *)(x) \ macro
/arch/arm/mach-pxa/
Dirq.c28 #define IRQ_BASE io_p2v(0x40d00000)
66 return io_p2v(phys_base[i]); in irq_base()
Dpxa300.c104 mfp_init_base(io_p2v(MFPR_BASE)); in pxa300_init()
Dpxa320.c92 mfp_init_base(io_p2v(MFPR_BASE)); in pxa320_init()
Dpxa930.c196 mfp_init_base(io_p2v(MFPR_BASE)); in pxa930_init()

12