Lines Matching refs:lcr
249 unsigned long lcr; in tegra_uart_break_ctl() local
251 lcr = tup->lcr_shadow; in tegra_uart_break_ctl()
253 lcr |= UART_LCR_SBC; in tegra_uart_break_ctl()
255 lcr &= ~UART_LCR_SBC; in tegra_uart_break_ctl()
256 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_break_ctl()
257 tup->lcr_shadow = lcr; in tegra_uart_break_ctl()
379 unsigned long lcr; in tegra_set_baudrate() local
410 lcr = tup->lcr_shadow; in tegra_set_baudrate()
411 lcr |= UART_LCR_DLAB; in tegra_set_baudrate()
412 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
417 lcr &= ~UART_LCR_DLAB; in tegra_set_baudrate()
418 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
1262 unsigned int lcr; in tegra_uart_set_termios() local
1283 lcr = tup->lcr_shadow; in tegra_uart_set_termios()
1284 lcr &= ~UART_LCR_PARITY; in tegra_uart_set_termios()
1292 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1293 lcr &= ~UART_LCR_EPAR; in tegra_uart_set_termios()
1294 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1296 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1297 lcr |= UART_LCR_EPAR; in tegra_uart_set_termios()
1298 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1302 lcr &= ~UART_LCR_WLEN8; in tegra_uart_set_termios()
1305 lcr |= UART_LCR_WLEN5; in tegra_uart_set_termios()
1309 lcr |= UART_LCR_WLEN6; in tegra_uart_set_termios()
1313 lcr |= UART_LCR_WLEN7; in tegra_uart_set_termios()
1317 lcr |= UART_LCR_WLEN8; in tegra_uart_set_termios()
1324 lcr |= UART_LCR_STOP; in tegra_uart_set_termios()
1327 lcr &= ~UART_LCR_STOP; in tegra_uart_set_termios()
1331 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_set_termios()
1332 tup->lcr_shadow = lcr; in tegra_uart_set_termios()