Home
last modified time | relevance | path

Searched refs:membase (Results 1 – 25 of 52) sorted by relevance

123

/arch/arm/mach-davinci/
Dserial.c25 WARN_ONCE(!p->membase, "unmapped write: uart[%d]\n", offset); in serial_write_reg()
27 __raw_writel(value, p->membase + offset); in serial_write_reg()
79 if (!p->membase && p->mapbase) { in davinci_serial_init()
80 p->membase = ioremap(p->mapbase, SZ_4K); in davinci_serial_init()
82 if (p->membase) in davinci_serial_init()
88 if (p->membase && p->type != PORT_AR7) in davinci_serial_init()
/arch/mips/ralink/
Dcevt-rt3352.c33 void __iomem *membase; member
49 count = ioread32(sdev->membase + SYSTICK_COUNT); in systick_next_event()
51 iowrite32(count, sdev->membase + SYSTICK_COMPARE); in systick_next_event()
100 iowrite32(0, systick.membase + SYSTICK_CONFIG); in systick_shutdown()
115 systick.membase + SYSTICK_CONFIG); in systick_set_oneshot()
124 systick.membase = of_iomap(np, 0); in ralink_systick_init()
125 if (!systick.membase) in ralink_systick_init()
141 ret = clocksource_mmio_init(systick.membase + SYSTICK_COUNT, np->name, in ralink_systick_init()
Dtimer.c31 void __iomem *membase; member
39 __raw_writel(val, rt->membase + reg); in rt_timer_w32()
44 return __raw_readl(rt->membase + reg); in rt_timer_r32()
112 rt->membase = devm_ioremap_resource(&pdev->dev, res); in rt_timer_probe()
113 if (IS_ERR(rt->membase)) in rt_timer_probe()
114 return PTR_ERR(rt->membase); in rt_timer_probe()
Dbootrom.c13 static void __iomem *membase = (void __iomem *) KSEG1ADDR(BOOTROM_OFFSET);
17 seq_write(s, membase, BOOTROM_SIZE); in bootrom_show()
/arch/mips/pmcs-msp71xx/
Dmsp_serial.c54 writeb(value, p->membase + offset); in msp_serial_out()
61 return readb(p->membase + offset); in msp_serial_in()
67 unsigned int iir = readb(p->membase + (UART_IIR << p->regshift)); in msp_serial_handle_irq()
82 (void)readb(p->membase + 0xc0); in msp_serial_handle_irq()
83 writeb(d->last_lcr, p->membase + (UART_LCR << p->regshift)); in msp_serial_handle_irq()
108 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); in msp_serial_setup()
146 up.membase = ioremap_nocache(up.mapbase, MSP_UART_REG_LEN); in msp_serial_setup()
/arch/x86/platform/ce4100/
Dce4100.c39 return readl(p->membase + offset); in mem_serial_in()
58 ret = readl(p->membase + offset); in ce4100_mem_serial_in()
79 writel(value, p->membase + offset); in ce4100_mem_serial_out()
96 up->membase = in ce4100_serial_fixup()
98 up->membase += up->mapbase & ~PAGE_MASK; in ce4100_serial_fixup()
100 up->membase += port * 0x100; in ce4100_serial_fixup()
/arch/arm/plat-orion/include/plat/
Dcommon.h18 void __init orion_uart0_init(void __iomem *membase,
23 void __init orion_uart1_init(void __iomem *membase,
28 void __init orion_uart2_init(void __iomem *membase,
33 void __init orion_uart3_init(void __iomem *membase,
/arch/arm/mach-omap1/
Dserial.c35 return (unsigned int)__raw_readb(up->membase + offset); in omap_serial_in()
42 __raw_writeb(value, p->membase + offset); in omap_serial_outp()
126 serial_platform_data[i].membase = NULL; in omap_serial_init()
132 serial_platform_data[i].membase = in omap_serial_init()
134 if (!serial_platform_data[i].membase) { in omap_serial_init()
/arch/arm/kernel/
Disa.c60 register_isa_ports(unsigned int membase, unsigned int portbase, unsigned int portshift) in register_isa_ports() argument
62 isa_membase = membase; in register_isa_ports()
/arch/mips/netlogic/xlr/
Dplatform.c32 uartbase = (uint64_t)(long)p->membase; in nlm_xlr_uart_in()
49 uartbase = (uint64_t)(long)p->membase; in nlm_xlr_uart_out()
92 xlr_uart_data[0].membase = (void __iomem *)uartbase; in nlm_uart_init()
96 xlr_uart_data[1].membase = (void __iomem *)uartbase; in nlm_uart_init()
/arch/arm/plat-orion/
Dcommon.c92 void __iomem *membase, in uart_complete() argument
98 data->membase = membase; in uart_complete()
126 void __init orion_uart0_init(void __iomem *membase, in orion_uart0_init() argument
132 membase, mapbase, irq, clk); in orion_uart0_init()
154 void __init orion_uart1_init(void __iomem *membase, in orion_uart1_init() argument
160 membase, mapbase, irq, clk); in orion_uart1_init()
182 void __init orion_uart2_init(void __iomem *membase, in orion_uart2_init() argument
188 membase, mapbase, irq, clk); in orion_uart2_init()
210 void __init orion_uart3_init(void __iomem *membase, in orion_uart3_init() argument
216 membase, mapbase, irq, clk); in orion_uart3_init()
/arch/mips/loongson64/common/
Dserial.c36 .membase = (void __iomem *)NULL, \
69 uart8250_data[mips_machtype][0].membase = in serial_init()
90 uart8250_data[mips_machtype][i].membase = in serial_init()
/arch/mips/emma/markeins/
Dplatform.c96 .membase= (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR0_BASE + 3),
104 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR1_BASE + 3),
112 .membase = (void __iomem*)KSEG1ADDR(EMMA2RH_PFUR2_BASE + 3),
/arch/arm/mach-ixp4xx/
Dcoyote-setup.c67 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
103 coyote_uart_data[0].membase = in coyote_init()
Davila-setup.c89 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
98 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
Ddsmg600-setup.c137 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
146 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
Domixp-setup.c127 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
135 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
Dvulcan-setup.c84 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
93 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
Dnslu2-setup.c160 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
169 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
Dfsg-setup.c100 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
109 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
Dnas100d-setup.c140 .membase = (char *)IXP4XX_UART1_BASE_VIRT + REG_OFFSET,
149 .membase = (char *)IXP4XX_UART2_BASE_VIRT + REG_OFFSET,
/arch/mips/bcm47xx/
Dserial.c42 p->membase = (void *)ssb_port->regs; in uart8250_init_ssb()
68 p->membase = (void *)bcma_port->regs; in uart8250_init_bcma()
/arch/mips/rb532/
Dserial.c44 .membase = (char *)KSEG1ADDR(REGBASE + UART0BASE),
/arch/powerpc/boot/
Dwrapper438 membase=`${CROSS}objdump -p "$kernel" | grep -m 1 LOAD | awk '{print $7}'`
443 ${MKIMAGE} -A ppc -O linux -T kernel -C $uboot_comp -a $membase -e $membase \
460 ${MKIMAGE} -A ppc -O linux -T multi -C gzip -a $membase -e $membase \
/arch/mips/pnx833x/common/
Dplatform.c56 .membase = (void __iomem *)PNX833X_UART0_PORTS_START,
69 .membase = (void __iomem *)PNX833X_UART1_PORTS_START,

123