/linux-4.1.27/arch/arm/mach-pxa/include/mach/ |
D | regs-ost.h | 10 #define OSMR0 io_p2v(0x40A00000) /* */ 11 #define OSMR1 io_p2v(0x40A00004) /* */ 12 #define OSMR2 io_p2v(0x40A00008) /* */ 13 #define OSMR3 io_p2v(0x40A0000C) /* */ 14 #define OSMR4 io_p2v(0x40A00080) /* */ 15 #define OSCR io_p2v(0x40A00010) /* OS Timer Counter Register */ 16 #define OSCR4 io_p2v(0x40A00040) /* OS Timer Counter Register */ 17 #define OMCR4 io_p2v(0x40A000C0) /* */ 18 #define OSSR io_p2v(0x40A00014) /* OS Timer Status Register */ 19 #define OWER io_p2v(0x40A00018) /* OS Timer Watchdog Enable Register */ [all …]
|
D | hardware.h | 40 #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)
|
D | dma.h | 18 #define DMAC_REGS_VIRT io_p2v(0x40000000)
|
D | pxa27x-udc.h | 177 #define PUDCDN(x) (volatile u32 *)(io_p2v(PHYS_UDCDN((x))))
|
/linux-4.1.27/arch/arm/mach-lpc32xx/include/mach/ |
D | platform.h | 130 #define _PMREG(x) io_p2v(LPC32XX_CLK_PM_BASE +\ 585 #define LPC32XX_INTC_MASK(x) io_p2v((x) + 0x00) 586 #define LPC32XX_INTC_RAW_STAT(x) io_p2v((x) + 0x04) 587 #define LPC32XX_INTC_STAT(x) io_p2v((x) + 0x08) 588 #define LPC32XX_INTC_POLAR(x) io_p2v((x) + 0x0C) 589 #define LPC32XX_INTC_ACT_TYPE(x) io_p2v((x) + 0x10) 590 #define LPC32XX_INTC_TYPE(x) io_p2v((x) + 0x14) 595 #define LPC32XX_TIMER_IR(x) io_p2v((x) + 0x00) 596 #define LPC32XX_TIMER_TCR(x) io_p2v((x) + 0x04) 597 #define LPC32XX_TIMER_TC(x) io_p2v((x) + 0x08) [all …]
|
D | hardware.h | 31 #define io_p2v(x) ((void __iomem *) (unsigned long) IO_ADDRESS(x)) macro
|
/linux-4.1.27/arch/arm/mach-sa1100/include/mach/ |
D | hardware.h | 34 #define io_p2v( x ) \ macro 50 #define __MREG(x) IOMEM(io_p2v(x)) 61 # define __REG(x) (*((volatile unsigned long __iomem *)io_p2v(x))) 70 # define __REG(x) io_p2v(x)
|
D | SA-1100.h | 833 #define OSMR0 io_p2v(0x90000000) /* OS timer Match Reg. 0 */ 834 #define OSMR1 io_p2v(0x90000004) /* OS timer Match Reg. 1 */ 835 #define OSMR2 io_p2v(0x90000008) /* OS timer Match Reg. 2 */ 836 #define OSMR3 io_p2v(0x9000000c) /* OS timer Match Reg. 3 */ 837 #define OSCR io_p2v(0x90000010) /* OS timer Counter Reg. */ 838 #define OSSR io_p2v(0x90000014) /* OS timer Status Reg. */ 839 #define OWER io_p2v(0x90000018) /* OS timer Watch-dog Enable Reg. */ 840 #define OIER io_p2v(0x9000001C) /* OS timer Interrupt Enable Reg. */
|
/linux-4.1.27/arch/unicore32/include/mach/ |
D | PKUnity.h | 34 #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)
|
D | hardware.h | 21 #define io_p2v(x) (void __iomem *)((x) - PKUNITY_MMIO_BASE) macro 24 #define io_p2v(x) ((x) - PKUNITY_MMIO_BASE) macro
|
/linux-4.1.27/arch/arm/mach-lpc32xx/ |
D | common.c | 70 iramptr1 = io_p2v(LPC32XX_IRAM_BASE); in lpc32xx_return_iram_size() 71 iramptr2 = io_p2v(LPC32XX_IRAM_BASE + LPC32XX_IRAM_BANK_SIZE); in lpc32xx_return_iram_size() 204 __raw_writel(13000, io_p2v(LPC32XX_WDTIM_BASE + 0x18)); in lpc23xx_restart() 205 __raw_writel(0x70, io_p2v(LPC32XX_WDTIM_BASE + 0xC)); in lpc23xx_restart()
|
D | pm.c | 133 #define EMC_CTRL_REG io_p2v(LPC32XX_EMC_BASE + EMC_DYN_MEM_CTRL_OFS)
|
D | clock.c | 681 .enable_reg = io_p2v(LPC32XX_USB_BASE + 0xFF4), 992 tmp = __raw_readl(io_p2v(LPC32XX_LCD_BASE + CLCD_TIM2)); in clcd_get_rate() 1016 tmp = __raw_readl(io_p2v(LPC32XX_LCD_BASE + CLCD_TIM2)) | TIM2_BCD; in clcd_set_rate() 1032 __raw_writel(tmp, io_p2v(LPC32XX_LCD_BASE + CLCD_TIM2)); in clcd_set_rate()
|
/linux-4.1.27/arch/arm/mach-netx/ |
D | xc.c | 110 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()
|
D | generic.c | 172 vic_init(io_p2v(NETX_PA_VIC), NETX_IRQ_VIC_START, ~0, 0); in netx_init_irq()
|
/linux-4.1.27/arch/arm/mach-netx/include/mach/ |
D | hardware.h | 36 #define io_p2v(x) IOMEM((x) - NETX_IO_PHYS + NETX_IO_VIRT) macro
|
/linux-4.1.27/arch/arm/mach-pxa/ |
D | generic.c | 66 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x40a00000), in pxa_timer_init()
|
D | irq.c | 176 pxa_irq_base = io_p2v(0x40d00000); in pxa_init_irq() 261 pxa_irq_base = io_p2v(res.start); in pxa_dt_irq_init()
|
D | pxa300.c | 104 mfp_init_base(io_p2v(MFPR_BASE)); in pxa300_init()
|
D | pxa320.c | 92 mfp_init_base(io_p2v(MFPR_BASE)); in pxa320_init()
|
D | pxa930.c | 205 mfp_init_base(io_p2v(MFPR_BASE)); in pxa930_init()
|
/linux-4.1.27/drivers/tty/serial/ |
D | netx-serial.c | 489 .membase = (char __iomem *)io_p2v(NETX_PA_UART0), 502 .membase = (char __iomem *)io_p2v(NETX_PA_UART1), 515 .membase = (char __iomem *)io_p2v(NETX_PA_UART2),
|
/linux-4.1.27/arch/arm/mach-ux500/ |
D | db8500-regs.h | 196 #define io_p2v(n) __io_address(n) macro
|
/linux-4.1.27/arch/arm/mach-sa1100/ |
D | generic.c | 375 pxa_timer_nodt_init(IRQ_OST0, io_p2v(0x90000000), 3686400); in sa1100_timer_init()
|
D | assabet.c | 497 unsigned long virt = (unsigned long)io_p2v(phys); in map_sa1100_gpio_regs()
|
/linux-4.1.27/drivers/net/ethernet/nxp/ |
D | lpc_eth.c | 1394 io_p2v(LPC32XX_IRAM_BASE); in lpc_eth_drv_probe()
|