Lines Matching refs:lcr

226 	unsigned long lcr;  in tegra_uart_break_ctl()  local
228 lcr = tup->lcr_shadow; in tegra_uart_break_ctl()
230 lcr |= UART_LCR_SBC; in tegra_uart_break_ctl()
232 lcr &= ~UART_LCR_SBC; in tegra_uart_break_ctl()
233 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_break_ctl()
234 tup->lcr_shadow = lcr; in tegra_uart_break_ctl()
274 unsigned long lcr; in tegra_set_baudrate() local
294 lcr = tup->lcr_shadow; in tegra_set_baudrate()
295 lcr |= UART_LCR_DLAB; in tegra_set_baudrate()
296 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
301 lcr &= ~UART_LCR_DLAB; in tegra_set_baudrate()
302 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
1083 unsigned int lcr; in tegra_uart_set_termios() local
1103 lcr = tup->lcr_shadow; in tegra_uart_set_termios()
1104 lcr &= ~UART_LCR_PARITY; in tegra_uart_set_termios()
1112 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1113 lcr &= ~UART_LCR_EPAR; in tegra_uart_set_termios()
1114 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1116 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1117 lcr |= UART_LCR_EPAR; in tegra_uart_set_termios()
1118 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1122 lcr &= ~UART_LCR_WLEN8; in tegra_uart_set_termios()
1125 lcr |= UART_LCR_WLEN5; in tegra_uart_set_termios()
1129 lcr |= UART_LCR_WLEN6; in tegra_uart_set_termios()
1133 lcr |= UART_LCR_WLEN7; in tegra_uart_set_termios()
1137 lcr |= UART_LCR_WLEN8; in tegra_uart_set_termios()
1144 lcr |= UART_LCR_STOP; in tegra_uart_set_termios()
1147 lcr &= ~UART_LCR_STOP; in tegra_uart_set_termios()
1151 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_set_termios()
1152 tup->lcr_shadow = lcr; in tegra_uart_set_termios()