Searched refs:uartbase (Results 1 - 4 of 4) sorted by relevance

/linux-4.4.14/arch/nios2/boot/compressed/
H A Dconsole.c36 static void *uartbase; variable
41 if (readl(uartbase + ALTERA_JTAGUART_CONTROL_REG) & jtag_putc()
43 writeb(ch, uartbase + ALTERA_JTAGUART_DATA_REG); jtag_putc()
48 while ((readl(uartbase + ALTERA_JTAGUART_CONTROL_REG) & jtag_putc()
51 writeb(ch, uartbase + ALTERA_JTAGUART_DATA_REG); jtag_putc()
63 uartbase = my_ioremap((unsigned long) JTAG_UART_BASE); console_init()
65 uartbase + ALTERA_JTAGUART_CONTROL_REG); console_init()
75 static unsigned uartbase; variable
82 if (readw(uartbase + ALTERA_UART_STATUS_REG) & uart_putc()
86 writeb(ch, uartbase + ALTERA_UART_TXDATA_REG); uart_putc()
101 uartbase = (unsigned long) my_ioremap((unsigned long) UART0_BASE); console_init()
104 writew(baudclk, uartbase + ALTERA_UART_DIVISOR_REG); console_init()
/linux-4.4.14/arch/mips/netlogic/xlr/
H A Dplatform.c28 uint64_t uartbase; nlm_xlr_uart_in() local
32 uartbase = (uint64_t)(long)p->membase; nlm_xlr_uart_in()
33 value = nlm_read_reg(uartbase, offset); nlm_xlr_uart_in()
46 uint64_t uartbase; nlm_xlr_uart_out() local
49 uartbase = (uint64_t)(long)p->membase; nlm_xlr_uart_out()
57 nlm_write_reg(uartbase, offset, value); nlm_xlr_uart_out()
89 unsigned long uartbase; nlm_uart_init() local
91 uartbase = (unsigned long)nlm_mmio_base(NETLOGIC_IO_UART_0_OFFSET); nlm_uart_init()
92 xlr_uart_data[0].membase = (void __iomem *)uartbase; nlm_uart_init()
93 xlr_uart_data[0].mapbase = CPHYSADDR(uartbase); nlm_uart_init()
95 uartbase = (unsigned long)nlm_mmio_base(NETLOGIC_IO_UART_1_OFFSET); nlm_uart_init()
96 xlr_uart_data[1].membase = (void __iomem *)uartbase; nlm_uart_init()
97 xlr_uart_data[1].mapbase = CPHYSADDR(uartbase); nlm_uart_init()
/linux-4.4.14/arch/mips/netlogic/common/
H A Dearlycons.c52 uint64_t uartbase; prom_putchar() local
55 uartbase = nlm_get_uart_regbase(0, 0); prom_putchar()
57 uartbase = nlm_mmio_base(NETLOGIC_IO_UART_0_OFFSET); prom_putchar()
59 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) prom_putchar()
61 nlm_write_reg(uartbase, UART_TX, c); prom_putchar()
/linux-4.4.14/arch/m68k/kernel/
H A Dhead.S853 lea %pc@(L(uartbase)),%a0
3171 addl %pc@(L(uartbase)),%a1
3842 L(uartbase):

Completed in 93 milliseconds