Lines Matching refs:lcr
105 uint32_t lcr; in nlm_uart_set_baudrate() local
107 lcr = nlm_read_uart_reg(base, UART_LINE_CTL); in nlm_uart_set_baudrate()
110 nlm_write_uart_reg(base, UART_LINE_CTL, lcr | (1 << 7)); in nlm_uart_set_baudrate()
117 nlm_write_uart_reg(base, UART_LINE_CTL, lcr); in nlm_uart_set_baudrate()
158 uint32_t lcr; in nlm_uart_init() local
160 lcr = 0; in nlm_uart_init()
162 lcr |= LCR_8BITS; in nlm_uart_init()
164 lcr |= LCR_7BITS; in nlm_uart_init()
166 lcr |= LCR_6BITS; in nlm_uart_init()
168 lcr |= LCR_5BITS; in nlm_uart_init()
171 lcr |= LCR_STOPB; in nlm_uart_init()
173 lcr |= parity << 3; in nlm_uart_init()
176 nlm_write_uart_reg(base, UART_LINE_CTL, lcr); in nlm_uart_init()