Lines Matching refs:lcr
300 uint8_t lcr; in siu_break_ctl() local
304 lcr = siu_read(port, UART_LCR); in siu_break_ctl()
306 lcr |= UART_LCR_SBC; in siu_break_ctl()
308 lcr &= ~UART_LCR_SBC; in siu_break_ctl()
309 siu_write(port, UART_LCR, lcr); in siu_break_ctl()
490 uint8_t lcr; in siu_shutdown() local
501 lcr = siu_read(port, UART_LCR); in siu_shutdown()
502 lcr &= ~UART_LCR_SBC; in siu_shutdown()
503 siu_write(port, UART_LCR, lcr); in siu_shutdown()
519 uint8_t lcr, fcr, ier; in siu_set_termios() local
526 lcr = UART_LCR_WLEN5; in siu_set_termios()
529 lcr = UART_LCR_WLEN6; in siu_set_termios()
532 lcr = UART_LCR_WLEN7; in siu_set_termios()
535 lcr = UART_LCR_WLEN8; in siu_set_termios()
540 lcr |= UART_LCR_STOP; in siu_set_termios()
542 lcr |= UART_LCR_PARITY; in siu_set_termios()
544 lcr |= UART_LCR_EPAR; in siu_set_termios()
546 lcr |= UART_LCR_SPAR; in siu_set_termios()
583 siu_write(port, UART_LCR, lcr | UART_LCR_DLAB); in siu_set_termios()
588 siu_write(port, UART_LCR, lcr); in siu_set_termios()