Lines Matching refs:lcr
223 unsigned long lcr; in tegra_uart_break_ctl() local
225 lcr = tup->lcr_shadow; in tegra_uart_break_ctl()
227 lcr |= UART_LCR_SBC; in tegra_uart_break_ctl()
229 lcr &= ~UART_LCR_SBC; in tegra_uart_break_ctl()
230 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_break_ctl()
231 tup->lcr_shadow = lcr; in tegra_uart_break_ctl()
291 unsigned long lcr; in tegra_set_baudrate() local
311 lcr = tup->lcr_shadow; in tegra_set_baudrate()
312 lcr |= UART_LCR_DLAB; in tegra_set_baudrate()
313 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
318 lcr &= ~UART_LCR_DLAB; in tegra_set_baudrate()
319 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
1082 unsigned int lcr; in tegra_uart_set_termios() local
1102 lcr = tup->lcr_shadow; in tegra_uart_set_termios()
1103 lcr &= ~UART_LCR_PARITY; in tegra_uart_set_termios()
1111 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1112 lcr &= ~UART_LCR_EPAR; in tegra_uart_set_termios()
1113 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1115 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1116 lcr |= UART_LCR_EPAR; in tegra_uart_set_termios()
1117 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1121 lcr &= ~UART_LCR_WLEN8; in tegra_uart_set_termios()
1124 lcr |= UART_LCR_WLEN5; in tegra_uart_set_termios()
1128 lcr |= UART_LCR_WLEN6; in tegra_uart_set_termios()
1132 lcr |= UART_LCR_WLEN7; in tegra_uart_set_termios()
1136 lcr |= UART_LCR_WLEN8; in tegra_uart_set_termios()
1143 lcr |= UART_LCR_STOP; in tegra_uart_set_termios()
1146 lcr &= ~UART_LCR_STOP; in tegra_uart_set_termios()
1150 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_set_termios()
1151 tup->lcr_shadow = lcr; in tegra_uart_set_termios()