Home
last modified time | relevance | path

Searched refs:mapbase (Results 1 – 25 of 58) sorted by relevance

123

/arch/arm/plat-orion/include/plat/
Dcommon.h19 resource_size_t mapbase,
24 resource_size_t mapbase,
29 resource_size_t mapbase,
34 resource_size_t mapbase,
38 void __init orion_rtc_init(unsigned long mapbase,
42 unsigned long mapbase,
48 unsigned long mapbase,
53 unsigned long mapbase,
57 unsigned long mapbase,
62 void __init orion_i2c_init(unsigned long mapbase,
[all …]
/arch/arm/plat-orion/
Dcommon.c55 resource_size_t mapbase, in fill_resources() argument
61 resources[0].start = mapbase; in fill_resources()
62 resources[0].end = mapbase + size; in fill_resources()
67 resource_size_t mapbase, in fill_resources_irq() argument
71 fill_resources(device, resources, mapbase, size); in fill_resources_irq()
93 resource_size_t mapbase, in uart_complete() argument
97 data->mapbase = mapbase; in uart_complete()
103 fill_resources_irq(orion_uart, resources, mapbase, 0xff, irq); in uart_complete()
127 resource_size_t mapbase, in orion_uart0_init() argument
132 membase, mapbase, irq, clk); in orion_uart0_init()
[all …]
/arch/arm/mach-lpc32xx/
Dserial.c28 resource_size_t mapbase; member
37 .mapbase = LPC32XX_UART5_BASE,
44 .mapbase = LPC32XX_UART3_BASE,
51 .mapbase = LPC32XX_UART4_BASE,
58 .mapbase = LPC32XX_UART6_BASE,
63 void lpc32xx_loopback_set(resource_size_t mapbase, int state) in lpc32xx_loopback_set() argument
68 switch (mapbase) { in lpc32xx_loopback_set()
79 WARN(1, "lpc32xx_hs: Warning: Unknown port at %08x\n", mapbase); in lpc32xx_loopback_set()
115 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
129 puart = uartinit_data[i].mapbase; in lpc32xx_serial_init()
Dcommon.c35 u32 lpc32xx_return_iram(void __iomem **mapbase, dma_addr_t *dmaaddr) in lpc32xx_return_iram() argument
58 if (mapbase) in lpc32xx_return_iram()
59 *mapbase = io_p2v(LPC32XX_IRAM_BASE); in lpc32xx_return_iram()
/arch/arm/common/
Dlocomo.c247 dev->mapbase = lchip->base + info->offset; in locomo_init_one_child()
249 dev->mapbase = 0; in locomo_init_one_child()
624 static void locomo_m62332_sendbit(void *mapbase, int bit) in locomo_m62332_sendbit() argument
628 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
630 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
633 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
635 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
640 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
642 locomo_writel(r, mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
645 r = locomo_readl(mapbase + LOCOMO_DAC); in locomo_m62332_sendbit()
[all …]
Dsa1111.c209 void __iomem *mapbase = sachip->base + SA1111_INTC; in sa1111_irq_handler() local
211 stat0 = readl_relaxed(mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
212 stat1 = readl_relaxed(mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
214 writel_relaxed(stat0, mapbase + SA1111_INTSTATCLR0); in sa1111_irq_handler()
218 writel_relaxed(stat1, mapbase + SA1111_INTSTATCLR1); in sa1111_irq_handler()
256 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_mask_irq() local
259 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_mask_irq()
261 writel(ie, mapbase + SA1111_INTEN0); in sa1111_mask_irq()
267 void __iomem *mapbase = sachip->base + SA1111_INTC + sa1111_irqbank(d); in sa1111_unmask_irq() local
270 ie = readl_relaxed(mapbase + SA1111_INTEN0); in sa1111_unmask_irq()
[all …]
/arch/sh/kernel/cpu/sh3/
Dserial-sh7720.c14 if (port->mapbase == 0xa4430000) { /* SCIF0 */ in sh7720_sci_init_pins()
18 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ in sh7720_sci_init_pins()
24 if (port->mapbase == 0xa4430000) { /* SCIF0 */ in sh7720_sci_init_pins()
28 } else if (port->mapbase == 0xa4438000) { /* SCIF1 */ in sh7720_sci_init_pins()
Dserial-sh7710.c12 if (port->mapbase == 0xA4400000) { in sh7710_sci_init_pins()
15 } else if (port->mapbase == 0xA4410000) in sh7710_sci_init_pins()
/arch/arm/mach-pxa/
Dcapc7117.c80 .mapbase = 0x14000000,
89 .mapbase = 0x14000040,
98 .mapbase = 0x14000080,
107 .mapbase = 0x140000c0,
Dzeus.c239 .mapbase = 0x10000000,
248 .mapbase = 0x10800000,
257 .mapbase = 0x11000000,
266 .mapbase = 0x11800000,
277 .mapbase = __PREG(FFUART),
286 .mapbase = __PREG(BTUART),
295 .mapbase = __PREG(STUART),
Dviper.c533 .mapbase = __PREG(FFUART),
542 .mapbase = __PREG(BTUART),
551 .mapbase = __PREG(STUART),
560 .mapbase = VIPER_UARTA_PHYS,
570 .mapbase = VIPER_UARTB_PHYS,
/arch/x86/platform/ce4100/
Dce4100.c93 up->mapbase = 0xdffe0200; in ce4100_serial_fixup()
95 up->mapbase & PAGE_MASK); in ce4100_serial_fixup()
98 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup()
99 up->mapbase += port * 0x100; in ce4100_serial_fixup()
/arch/arm/mach-omap1/
Dserial.c66 .mapbase = OMAP1_UART1_BASE,
74 .mapbase = OMAP1_UART2_BASE,
82 .mapbase = OMAP1_UART3_BASE,
127 serial_platform_data[i].mapbase = 0; in omap_serial_init()
133 ioremap(serial_platform_data[i].mapbase, SZ_2K); in omap_serial_init()
/arch/m68k/coldfire/
Ddevice.c32 .mapbase = MCFUART_BASE0,
36 .mapbase = MCFUART_BASE1,
41 .mapbase = MCFUART_BASE2,
47 .mapbase = MCFUART_BASE3,
53 .mapbase = MCFUART_BASE4,
59 .mapbase = MCFUART_BASE5,
65 .mapbase = MCFUART_BASE6,
71 .mapbase = MCFUART_BASE7,
77 .mapbase = MCFUART_BASE8,
83 .mapbase = MCFUART_BASE9,
/arch/mips/ath25/
Ddevices.c74 void __init ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk) in ath25_serial_setup() argument
85 s.mapbase = mapbase; in ath25_serial_setup()
Ddevices.h31 void ath25_serial_setup(u32 mapbase, int irq, unsigned int uartclk);
/arch/arm/mach-davinci/
Dserial.c79 if (!p->membase && p->mapbase) { in davinci_serial_init()
80 p->membase = ioremap(p->mapbase, SZ_4K); in davinci_serial_init()
/arch/arm/mach-s3c/
Dmach-vr1000.c138 .mapbase = VR1000_SERIAL_MAPBASE(0),
146 .mapbase = VR1000_SERIAL_MAPBASE(1),
154 .mapbase = VR1000_SERIAL_MAPBASE(2),
162 .mapbase = VR1000_SERIAL_MAPBASE(3),
/arch/mips/bcm47xx/
Dserial.c41 p->mapbase = (unsigned int)ssb_port->regs; in uart8250_init_ssb()
67 p->mapbase = (unsigned int)bcma_port->regs; in uart8250_init_bcma()
/arch/sh/boards/mach-se/7343/
Dsetup.c75 .mapbase = 0x16000000,
82 .mapbase = 0x17000000,
/arch/sh/kernel/cpu/sh4a/
Dserial-sh7722.c12 if (port->mapbase == 0xffe00000) { in sh7722_sci_init_pins()
/arch/mips/mti-malta/
Dmalta-platform.c48 .mapbase = 0x1f000900, /* The CBUS UART */
/arch/mips/cobalt/
Dserial.c35 .mapbase = 0x1c800000,
/arch/arm/mach-sa1100/
Dh3xxx.c88 if (port->mapbase == _Ser3UTCR0) { in h3xxx_uart_pm()
107 if (port->mapbase == _Ser3UTCR0) { in h3xxx_uart_set_wake()
/arch/mips/netlogic/xlr/
Dplatform.c93 xlr_uart_data[0].mapbase = CPHYSADDR(uartbase); in nlm_uart_init()
97 xlr_uart_data[1].mapbase = CPHYSADDR(uartbase); in nlm_uart_init()

123