Lines Matching refs:lcr
255 unsigned long lcr; in tegra_uart_break_ctl() local
257 lcr = tup->lcr_shadow; in tegra_uart_break_ctl()
259 lcr |= UART_LCR_SBC; in tegra_uart_break_ctl()
261 lcr &= ~UART_LCR_SBC; in tegra_uart_break_ctl()
262 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_break_ctl()
263 tup->lcr_shadow = lcr; in tegra_uart_break_ctl()
385 unsigned long lcr; in tegra_set_baudrate() local
416 lcr = tup->lcr_shadow; 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()
423 lcr &= ~UART_LCR_DLAB; in tegra_set_baudrate()
424 tegra_uart_write(tup, lcr, UART_LCR); in tegra_set_baudrate()
1279 unsigned int lcr; in tegra_uart_set_termios() local
1300 lcr = tup->lcr_shadow; in tegra_uart_set_termios()
1301 lcr &= ~UART_LCR_PARITY; in tegra_uart_set_termios()
1309 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1310 lcr &= ~UART_LCR_EPAR; in tegra_uart_set_termios()
1311 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1313 lcr |= UART_LCR_PARITY; in tegra_uart_set_termios()
1314 lcr |= UART_LCR_EPAR; in tegra_uart_set_termios()
1315 lcr &= ~UART_LCR_SPAR; in tegra_uart_set_termios()
1319 lcr &= ~UART_LCR_WLEN8; in tegra_uart_set_termios()
1322 lcr |= UART_LCR_WLEN5; in tegra_uart_set_termios()
1326 lcr |= UART_LCR_WLEN6; in tegra_uart_set_termios()
1330 lcr |= UART_LCR_WLEN7; in tegra_uart_set_termios()
1334 lcr |= UART_LCR_WLEN8; in tegra_uart_set_termios()
1341 lcr |= UART_LCR_STOP; in tegra_uart_set_termios()
1344 lcr &= ~UART_LCR_STOP; in tegra_uart_set_termios()
1348 tegra_uart_write(tup, lcr, UART_LCR); in tegra_uart_set_termios()
1349 tup->lcr_shadow = lcr; in tegra_uart_set_termios()