Home
last modified time | relevance | path

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

/Linux-v5.10/arch/nios2/boot/compressed/
Dconsole.c23 static void *uartbase; variable
28 if (readl(uartbase + ALTERA_JTAGUART_CONTROL_REG) & in jtag_putc()
30 writeb(ch, uartbase + ALTERA_JTAGUART_DATA_REG); in jtag_putc()
35 while ((readl(uartbase + ALTERA_JTAGUART_CONTROL_REG) & in jtag_putc()
38 writeb(ch, uartbase + ALTERA_JTAGUART_DATA_REG); in jtag_putc()
50 uartbase = my_ioremap((unsigned long) JTAG_UART_BASE); in console_init()
52 uartbase + ALTERA_JTAGUART_CONTROL_REG); in console_init()
62 static unsigned uartbase; variable
69 if (readw(uartbase + ALTERA_UART_STATUS_REG) & in uart_putc()
73 writeb(ch, uartbase + ALTERA_UART_TXDATA_REG); in uart_putc()
[all …]
/Linux-v5.10/arch/mips/netlogic/xlr/
Dplatform.c28 uint64_t uartbase; in nlm_xlr_uart_in() local
32 uartbase = (uint64_t)(long)p->membase; in nlm_xlr_uart_in()
33 value = nlm_read_reg(uartbase, offset); in nlm_xlr_uart_in()
46 uint64_t uartbase; in nlm_xlr_uart_out() local
49 uartbase = (uint64_t)(long)p->membase; in nlm_xlr_uart_out()
57 nlm_write_reg(uartbase, offset, value); in nlm_xlr_uart_out()
89 unsigned long uartbase; in nlm_uart_init() local
91 uartbase = (unsigned long)nlm_mmio_base(NETLOGIC_IO_UART_0_OFFSET); in nlm_uart_init()
92 xlr_uart_data[0].membase = (void __iomem *)uartbase; in nlm_uart_init()
93 xlr_uart_data[0].mapbase = CPHYSADDR(uartbase); in nlm_uart_init()
[all …]
/Linux-v5.10/arch/mips/netlogic/common/
Dearlycons.c53 uint64_t uartbase; in prom_putchar() local
56 uartbase = nlm_get_uart_regbase(0, 0); in prom_putchar()
58 uartbase = nlm_mmio_base(NETLOGIC_IO_UART_0_OFFSET); in prom_putchar()
60 while ((nlm_read_reg(uartbase, UART_LSR) & UART_LSR_THRE) == 0) in prom_putchar()
62 nlm_write_reg(uartbase, UART_TX, c); in prom_putchar()
/Linux-v5.10/arch/m68k/kernel/
Dhead.S853 lea %pc@(L(uartbase)),%a0
3171 addl %pc@(L(uartbase)),%a1
3842 L(uartbase):