Home
last modified time | relevance | path

Searched refs:UART_LSR_PE (Results 1 – 20 of 20) sorted by relevance

/linux-6.6.21/include/uapi/linux/
Dserial_reg.h144 #define UART_LSR_PE 0x04 /* Parity error indicator */ macro
147 #define UART_LSR_BRK_ERROR_BITS (UART_LSR_BI|UART_LSR_FE|UART_LSR_PE|UART_LSR_OE)
/linux-6.6.21/drivers/tty/serial/
Dpxa.c111 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
117 *status &= ~(UART_LSR_FE | UART_LSR_PE); in receive_chars()
127 } else if (*status & UART_LSR_PE) in receive_chars()
148 } else if (*status & UART_LSR_PE) in receive_chars()
452 up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE; in serial_pxa_set_termios()
461 up->port.ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in serial_pxa_set_termios()
Dsunsu.c333 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
339 *status &= ~(UART_LSR_FE | UART_LSR_PE); in receive_chars()
352 } else if (*status & UART_LSR_PE) in receive_chars()
373 } else if (*status & UART_LSR_PE) in receive_chars()
838 up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE; in sunsu_change_speed()
847 up->port.ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in sunsu_change_speed()
Domap-serial.c459 lsr &= ~(UART_LSR_FE | UART_LSR_PE); in serial_omap_rlsi()
472 if (lsr & UART_LSR_PE) { in serial_omap_rlsi()
827 up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE; in serial_omap_set_termios()
836 up->port.ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in serial_omap_set_termios()
Dserial-tegra.c46 UART_LSR_PE | UART_LSR_FE)
447 } else if (lsr & UART_LSR_PE) { in tegra_uart_decode_rx_error()
Dpch_uart.c997 if (lsr & UART_LSR_PE) { in pch_uart_err_ir()
1036 UART_LSR_PE | UART_LSR_OE)) { in pch_uart_interrupt()
/linux-6.6.21/drivers/mmc/core/
Dsdio_uart.c289 port->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in sdio_uart_change_speed()
298 port->ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in sdio_uart_change_speed()
368 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in sdio_uart_receive_chars()
374 *status &= ~(UART_LSR_FE | UART_LSR_PE); in sdio_uart_receive_chars()
376 } else if (*status & UART_LSR_PE) in sdio_uart_receive_chars()
389 else if (*status & UART_LSR_PE) in sdio_uart_receive_chars()
/linux-6.6.21/drivers/tty/
Damiserial.c212 if (status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
218 status &= ~(UART_LSR_FE | UART_LSR_PE); in receive_chars()
220 } else if (status & UART_LSR_PE) in receive_chars()
244 } else if (status & UART_LSR_PE) in receive_chars()
655 info->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in change_speed()
664 info->ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in change_speed()
Dmxser.c650 info->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in mxser_change_speed()
666 UART_LSR_PE | in mxser_change_speed()
670 UART_LSR_PE | in mxser_change_speed()
1532 } else if (status & UART_LSR_PE) { in mxser_receive_chars_old()
/linux-6.6.21/drivers/usb/serial/
Dark3116.c495 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
586 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
Dssu100.c446 if (lsr & UART_LSR_PE) { in ssu100_update_lsr()
Dquatech2.c846 if (newLSR & UART_LSR_PE) in qt2_update_lsr()
Df81232.c361 } else if (lsr & UART_LSR_PE) { in f81232_handle_lsr()
Dmxuport.c411 if (lsr_event & UART_LSR_PE) { in mxuport_lsr_event()
Df81534.c1207 } else if (lsr & UART_LSR_PE) { in f81534_process_per_serial_block()
/linux-6.6.21/drivers/tty/serial/jsm/
Djsm_cls.c418 ch->ch_equeue[head] = linestatus & (UART_LSR_BI | UART_LSR_PE in cls_copy_data_from_uart_to_queue()
424 if (ch->ch_equeue[head] & UART_LSR_PE) in cls_copy_data_from_uart_to_queue()
Djsm_tty.c619 else if (error & UART_LSR_PE) in jsm_input()
Djsm_neo.c872 if (linestatus & UART_LSR_PE) { in neo_parse_lsr()
/linux-6.6.21/drivers/tty/serial/8250/
D8250_port.c1735 lsr &= ~(UART_LSR_FE | UART_LSR_PE); in serial8250_read_char()
1745 } else if (lsr & UART_LSR_PE) in serial8250_read_char()
1760 } else if (lsr & UART_LSR_PE) in serial8250_read_char()
2830 port->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in serial8250_do_set_termios()
2839 port->ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in serial8250_do_set_termios()
D8250_omap.c413 up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE; in omap_8250_set_termios()
422 up->port.ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in omap_8250_set_termios()