Home
last modified time | relevance | path

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

/external/u-boot/drivers/serial/
Dserial_pxa.c59 void pxa_setbrg_common(struct pxa_uart_regs *uart_regs, int port, int baudrate) in pxa_setbrg_common() argument
69 writel(0, &uart_regs->ier); in pxa_setbrg_common()
70 writel(0, &uart_regs->fcr); in pxa_setbrg_common()
73 writel(LCR_WLS0 | LCR_WLS1 | LCR_DLAB, &uart_regs->lcr); in pxa_setbrg_common()
74 writel(divider & 0xff, &uart_regs->dll); in pxa_setbrg_common()
75 writel(divider >> 8, &uart_regs->dlh); in pxa_setbrg_common()
76 writel(LCR_WLS0 | LCR_WLS1, &uart_regs->lcr); in pxa_setbrg_common()
79 writel(IER_UUE, &uart_regs->ier); in pxa_setbrg_common()
100 struct pxa_uart_regs *uart_regs = pxa_uart_index_to_regs(uart_index); in pxa_setbrg_dev() local
101 if (!uart_regs) in pxa_setbrg_dev()
[all …]