Home
last modified time | relevance | path

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

/f-stack/freebsd/mips/nlm/hal/
H A Duart.h103 uint32_t lcr; in nlm_uart_set_baudrate() local
105 lcr = nlm_read_uart_reg(base, UART_LINE_CTL); in nlm_uart_set_baudrate()
115 nlm_write_uart_reg(base, UART_LINE_CTL, lcr); in nlm_uart_set_baudrate()
156 uint32_t lcr; in nlm_uart_init() local
158 lcr = 0; in nlm_uart_init()
160 lcr |= LCR_8BITS; in nlm_uart_init()
162 lcr |= LCR_7BITS; in nlm_uart_init()
164 lcr |= LCR_6BITS; in nlm_uart_init()
166 lcr |= LCR_5BITS; in nlm_uart_init()
169 lcr |= LCR_STOPB; in nlm_uart_init()
[all …]
/f-stack/freebsd/mips/cavium/
H A Duart_dev_oct16550.c111 u_char lcr; in oct16550_delay() local
227 uint8_t lcr; in oct16550_param() local
229 lcr = 0; in oct16550_param()
231 lcr |= LCR_8BITS; in oct16550_param()
233 lcr |= LCR_7BITS; in oct16550_param()
235 lcr |= LCR_6BITS; in oct16550_param()
237 lcr |= LCR_5BITS; in oct16550_param()
239 lcr |= LCR_STOPB; in oct16550_param()
240 lcr |= parity << 3; in oct16550_param()
531 uint8_t efr, lcr; in oct16550_bus_ioctl() local
[all …]