Home
last modified time | relevance | path

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

/openbmc/linux/include/uapi/linux/
H A 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)
/openbmc/linux/drivers/tty/serial/
H A 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()
H A 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()
H A 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()
H A Dserial-tegra.c46 UART_LSR_PE | UART_LSR_FE)
447 } else if (lsr & UART_LSR_PE) { in tegra_uart_decode_rx_error()
H A Dpch_uart.c997 if (lsr & UART_LSR_PE) { in pch_uart_err_ir()
1036 UART_LSR_PE | UART_LSR_OE)) { in pch_uart_interrupt()
/openbmc/linux/drivers/mmc/core/
H A 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()
/openbmc/linux/drivers/tty/
H A 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()
H A 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()
/openbmc/u-boot/include/
H A Dns16550.h168 #define UART_LSR_PE 0x04 /* Parity error */ macro
/openbmc/u-boot/include/linux/
H A Dserial_reg.h129 #define UART_LSR_PE 0x04 /* Parity error indicator */ macro
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c495 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
586 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
H A Dssu100.c446 if (lsr & UART_LSR_PE) { in ssu100_update_lsr()
H A Df81232.c361 } else if (lsr & UART_LSR_PE) { in f81232_handle_lsr()
H A Dquatech2.c846 if (newLSR & UART_LSR_PE) in qt2_update_lsr()
H A Dmxuport.c411 if (lsr_event & UART_LSR_PE) { in mxuport_lsr_event()
H A Df81534.c1207 } else if (lsr & UART_LSR_PE) { in f81534_process_per_serial_block()
/openbmc/linux/drivers/tty/serial/jsm/
H A 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()
H A Djsm_tty.c619 else if (error & UART_LSR_PE) in jsm_input()
H A Djsm_neo.c872 if (linestatus & UART_LSR_PE) { in neo_parse_lsr()
/openbmc/linux/drivers/tty/serial/8250/
H A D8250_port.c1729 lsr &= ~(UART_LSR_FE | UART_LSR_PE); in serial8250_read_char()
1739 } else if (lsr & UART_LSR_PE) in serial8250_read_char()
1754 } else if (lsr & UART_LSR_PE) in serial8250_read_char()
2824 port->read_status_mask |= UART_LSR_FE | UART_LSR_PE; in serial8250_do_set_termios()
2833 port->ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in serial8250_do_set_termios()
H A D8250_omap.c417 up->port.read_status_mask |= UART_LSR_FE | UART_LSR_PE; in omap_8250_set_termios()
426 up->port.ignore_status_mask |= UART_LSR_PE | UART_LSR_FE; in omap_8250_set_termios()
/openbmc/qemu/hw/char/
H A Dserial.c86 #define UART_LSR_PE 0x04 /* Parity error indicator */ macro