Lines Matching refs:lcr
287 uint8_t lcr; in siu_break_ctl() local
291 lcr = siu_read(port, UART_LCR); in siu_break_ctl()
293 lcr |= UART_LCR_SBC; in siu_break_ctl()
295 lcr &= ~UART_LCR_SBC; in siu_break_ctl()
296 siu_write(port, UART_LCR, lcr); in siu_break_ctl()
477 uint8_t lcr; in siu_shutdown() local
488 lcr = siu_read(port, UART_LCR); in siu_shutdown()
489 lcr &= ~UART_LCR_SBC; in siu_shutdown()
490 siu_write(port, UART_LCR, lcr); in siu_shutdown()
506 uint8_t lcr, fcr, ier; in siu_set_termios() local
513 lcr = UART_LCR_WLEN5; in siu_set_termios()
516 lcr = UART_LCR_WLEN6; in siu_set_termios()
519 lcr = UART_LCR_WLEN7; in siu_set_termios()
522 lcr = UART_LCR_WLEN8; in siu_set_termios()
527 lcr |= UART_LCR_STOP; in siu_set_termios()
529 lcr |= UART_LCR_PARITY; in siu_set_termios()
531 lcr |= UART_LCR_EPAR; in siu_set_termios()
533 lcr |= UART_LCR_SPAR; in siu_set_termios()
570 siu_write(port, UART_LCR, lcr | UART_LCR_DLAB); in siu_set_termios()
575 siu_write(port, UART_LCR, lcr); in siu_set_termios()