Lines Matching refs:lcr
283 uint8_t lcr; in siu_break_ctl() local
287 lcr = siu_read(port, UART_LCR); in siu_break_ctl()
289 lcr |= UART_LCR_SBC; in siu_break_ctl()
291 lcr &= ~UART_LCR_SBC; in siu_break_ctl()
292 siu_write(port, UART_LCR, lcr); in siu_break_ctl()
473 uint8_t lcr; in siu_shutdown() local
484 lcr = siu_read(port, UART_LCR); in siu_shutdown()
485 lcr &= ~UART_LCR_SBC; in siu_shutdown()
486 siu_write(port, UART_LCR, lcr); in siu_shutdown()
502 uint8_t lcr, fcr, ier; in siu_set_termios() local
509 lcr = UART_LCR_WLEN5; in siu_set_termios()
512 lcr = UART_LCR_WLEN6; in siu_set_termios()
515 lcr = UART_LCR_WLEN7; in siu_set_termios()
518 lcr = UART_LCR_WLEN8; in siu_set_termios()
523 lcr |= UART_LCR_STOP; in siu_set_termios()
525 lcr |= UART_LCR_PARITY; in siu_set_termios()
527 lcr |= UART_LCR_EPAR; in siu_set_termios()
529 lcr |= UART_LCR_SPAR; in siu_set_termios()
566 siu_write(port, UART_LCR, lcr | UART_LCR_DLAB); in siu_set_termios()
571 siu_write(port, UART_LCR, lcr); in siu_set_termios()