Home
last modified time | relevance | path

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

/linux-6.1.9/drivers/tty/serial/8250/
D8250_fsl.c42 if (unlikely(up->lsr_saved_flags & UART_LSR_BI)) { in fsl8250_handle_irq()
43 up->lsr_saved_flags &= ~UART_LSR_BI; in fsl8250_handle_irq()
52 if ((lsr & (UART_LSR_DR | UART_LSR_BI)) && in fsl8250_handle_irq()
80 up->lsr_saved_flags |= orig_lsr & UART_LSR_BI; in fsl8250_handle_irq()
D8250_aspeed_vuart.c344 if (lsr & (UART_LSR_DR | UART_LSR_BI)) { in aspeed_vuart_handle_irq()
364 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in aspeed_vuart_handle_irq()
D8250_dw.c269 if (!(status & (UART_LSR_DR | UART_LSR_BI))) in dw8250_handle_irq()
281 if (status & (UART_LSR_DR | UART_LSR_BI)) { in dw8250_handle_irq()
D8250_omap.c401 up->port.read_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
410 up->port.ignore_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
1123 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in omap_8250_handle_rx_dma()
1140 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in am654_8250_handle_rx_dma()
D8250_port.c1749 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1772 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1804 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in serial8250_rx_chars()
1942 if (status & (UART_LSR_DR | UART_LSR_BI) && !skip_rx) { in serial8250_handle_irq()
2808 port->read_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
2817 port->ignore_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
/linux-6.1.9/include/uapi/linux/
Dserial_reg.h137 #define UART_LSR_BI 0x10 /* Break interrupt indicator */ macro
142 #define UART_LSR_BRK_ERROR_BITS (UART_LSR_BI|UART_LSR_FE|UART_LSR_PE|UART_LSR_OE)
/linux-6.1.9/drivers/tty/serial/
Dpxa.c111 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
116 if (*status & UART_LSR_BI) { in receive_chars()
146 if (*status & UART_LSR_BI) { in receive_chars()
477 up->port.read_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
486 up->port.ignore_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
590 if (status & UART_LSR_BI) in wait_for_xmitr()
591 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Dsunsu.c333 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
338 if (*status & UART_LSR_BI) { in receive_chars()
371 if (*status & UART_LSR_BI) { in receive_chars()
535 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt()
536 receive_kbd_ms_chars(up, (status & UART_LSR_BI) != 0); in sunsu_kbd_ms_interrupt()
841 up->port.read_status_mask |= UART_LSR_BI; in sunsu_change_speed()
850 up->port.ignore_status_mask |= UART_LSR_BI; in sunsu_change_speed()
1263 if (status & UART_LSR_BI) in wait_for_xmitr()
1264 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Domap-serial.c484 if (lsr & UART_LSR_BI) { in serial_omap_rlsi()
858 up->port.read_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
867 up->port.ignore_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
1115 if (status & UART_LSR_BI) in wait_for_xmitr()
1116 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Dserial-tegra.c46 #define TEGRA_UART_LSR_ANY (UART_LSR_OE | UART_LSR_BI | \
457 } else if (lsr & UART_LSR_BI) { in tegra_uart_decode_rx_error()
464 if (tup->uport.ignore_status_mask & UART_LSR_BI) in tegra_uart_decode_rx_error()
1377 tup->uport.ignore_status_mask |= UART_LSR_BI; in tegra_uart_set_termios()
Dpch_uart.c561 i < rx_size && lsr & (UART_LSR_DR | UART_LSR_BI); in pch_uart_hal_read()
565 if (lsr & UART_LSR_BI) { in pch_uart_hal_read()
/linux-6.1.9/drivers/mmc/core/
Dsdio_uart.c291 port->read_status_mask |= UART_LSR_BI; in sdio_uart_change_speed()
300 port->ignore_status_mask |= UART_LSR_BI; in sdio_uart_change_speed()
368 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in sdio_uart_receive_chars()
373 if (*status & UART_LSR_BI) { in sdio_uart_receive_chars()
387 if (*status & UART_LSR_BI) in sdio_uart_receive_chars()
/linux-6.1.9/drivers/tty/
Damiserial.c194 status |= UART_LSR_BI; in receive_chars()
212 if (status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
217 if (status & UART_LSR_BI) { in receive_chars()
237 if (status & (UART_LSR_BI)) { in receive_chars()
657 info->read_status_mask |= UART_LSR_BI; in change_speed()
666 info->ignore_status_mask |= UART_LSR_BI; in change_speed()
Dmxser.c651 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
656 info->ignore_status_mask |= UART_LSR_BI; in mxser_change_speed()
657 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
1525 if (status & UART_LSR_BI) { in mxser_receive_chars_old()
/linux-6.1.9/drivers/tty/serial/jsm/
Djsm_cls.c380 error_mask |= UART_LSR_BI; in cls_copy_data_from_uart_to_queue()
418 ch->ch_equeue[head] = linestatus & (UART_LSR_BI | UART_LSR_PE in cls_copy_data_from_uart_to_queue()
426 if (ch->ch_equeue[head] & UART_LSR_BI) in cls_copy_data_from_uart_to_queue()
Djsm_neo.c386 error_mask |= UART_LSR_BI; in neo_copy_data_from_uart_to_queue()
884 if (linestatus & UART_LSR_BI) { in neo_parse_lsr()
Djsm_tty.c617 if (error & UART_LSR_BI) in jsm_input()
/linux-6.1.9/drivers/usb/serial/
Dark3116.c488 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
581 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
Dquatech2.c833 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
834 newLSR &= (u8) (UART_LSR_OE | UART_LSR_BI); in qt2_update_lsr()
844 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
Df81534.c811 if ((lsr & UART_LSR_BI) == UART_LSR_BI) in f81534_check_port_hw_disabled()
1201 if (lsr & UART_LSR_BI) { in f81534_process_per_serial_block()
Dssu100.c441 if (lsr & UART_LSR_BI) { in ssu100_update_lsr()
Df81232.c357 if (lsr & UART_LSR_BI) { in f81232_handle_lsr()
Dmxuport.c401 if (lsr_event & UART_LSR_BI) { in mxuport_lsr_event()