Home
last modified time | relevance | path

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

/external/u-boot/drivers/serial/
Dserial_pl01x.c29 static struct pl01x_regs *base_regs __attribute__ ((section(".data"))); variable
192 base_regs = (struct pl01x_regs *)port[CONFIG_CONS_INDEX]; in pl01x_serial_init_baud()
194 pl01x_generic_serial_init(base_regs, pl01x_type); in pl01x_serial_init_baud()
195 pl01x_generic_setbrg(base_regs, pl01x_type, clock, baudrate); in pl01x_serial_init_baud()
213 while (pl01x_putc(base_regs, '\r') == -EAGAIN); in pl01x_serial_putc()
215 while (pl01x_putc(base_regs, c) == -EAGAIN); in pl01x_serial_putc()
221 int ch = pl01x_getc(base_regs); in pl01x_serial_getc()
234 return pl01x_tstc(base_regs); in pl01x_serial_tstc()
243 while (!(readl(&base_regs->fr) & UART_PL01x_FR_TXFE)) in pl01x_serial_setbrg()
245 while (readl(&base_regs->fr) & UART_PL01x_FR_BUSY) in pl01x_serial_setbrg()