Searched refs:lcr (Results 1 – 2 of 2) sorted by relevance
103 uint32_t lcr; in nlm_uart_set_baudrate() local105 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() local158 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 …]
111 u_char lcr; in oct16550_delay() local227 uint8_t lcr; in oct16550_param() local229 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 …]