Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/tty/serial/8250/
D8250_fsl.c46 if (unlikely(up->lsr_saved_flags & UART_LSR_BI)) { in fsl8250_handle_irq()
47 up->lsr_saved_flags &= ~UART_LSR_BI; in fsl8250_handle_irq()
56 if ((lsr & (UART_LSR_DR | UART_LSR_BI)) && in fsl8250_handle_irq()
D8250_aspeed_vuart.c312 if (lsr & (UART_LSR_DR | UART_LSR_BI)) { in aspeed_vuart_handle_irq()
334 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in aspeed_vuart_handle_irq()
D8250_omap.c404 up->port.read_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
413 up->port.ignore_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
1063 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in omap_8250_handle_rx_dma()
1080 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in am654_8250_handle_rx_dma()
D8250_port.c1734 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1757 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1787 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in serial8250_rx_chars()
1912 if (status & (UART_LSR_DR | UART_LSR_BI) && !skip_rx) { in serial8250_handle_irq()
2738 port->read_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
2747 port->ignore_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
D8250_dw.c258 if (!(status & (UART_LSR_DR | UART_LSR_BI))) in dw8250_handle_irq()
/Linux-v5.10/drivers/tty/serial/
Dpxa.c110 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
115 if (*status & UART_LSR_BI) { in receive_chars()
145 if (*status & UART_LSR_BI) { in receive_chars()
490 up->port.read_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
499 up->port.ignore_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
605 if (status & UART_LSR_BI) in wait_for_xmitr()
606 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Dvr41xx_siu.c314 if (unlikely(lsr & (UART_LSR_BI | UART_LSR_FE | in receive_chars()
316 if (lsr & UART_LSR_BI) { in receive_chars()
332 if (lsr & UART_LSR_BI) in receive_chars()
546 port->read_status_mask |= UART_LSR_BI; in siu_set_termios()
552 port->ignore_status_mask |= UART_LSR_BI; in siu_set_termios()
728 if (lsr & UART_LSR_BI) in wait_for_xmitr()
729 lsr_break_flag[port->line] = UART_LSR_BI; in wait_for_xmitr()
Dsunsu.c332 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
337 if (*status & UART_LSR_BI) { in receive_chars()
370 if (*status & UART_LSR_BI) { in receive_chars()
538 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt()
539 receive_kbd_ms_chars(up, (status & UART_LSR_BI) != 0); in sunsu_kbd_ms_interrupt()
846 up->port.read_status_mask |= UART_LSR_BI; in sunsu_change_speed()
855 up->port.ignore_status_mask |= UART_LSR_BI; in sunsu_change_speed()
1270 if (status & UART_LSR_BI) in wait_for_xmitr()
1271 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Domap-serial.c500 if (lsr & UART_LSR_BI) { in serial_omap_rlsi()
901 up->port.read_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
910 up->port.ignore_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
1166 if (status & UART_LSR_BI) in wait_for_xmitr()
1167 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 | \
452 } else if (lsr & UART_LSR_BI) { in tegra_uart_decode_rx_error()
459 if (tup->uport.ignore_status_mask & UART_LSR_BI) in tegra_uart_decode_rx_error()
1388 tup->uport.ignore_status_mask |= UART_LSR_BI; in tegra_uart_set_termios()
Dpch_uart.c578 i < rx_size && lsr & (UART_LSR_DR | UART_LSR_BI); in pch_uart_hal_read()
582 if (lsr & UART_LSR_BI) { in pch_uart_hal_read()
/Linux-v5.10/drivers/mmc/core/
Dsdio_uart.c304 port->read_status_mask |= UART_LSR_BI; in sdio_uart_change_speed()
313 port->ignore_status_mask |= UART_LSR_BI; in sdio_uart_change_speed()
381 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in sdio_uart_receive_chars()
386 if (*status & UART_LSR_BI) { in sdio_uart_receive_chars()
400 if (*status & UART_LSR_BI) in sdio_uart_receive_chars()
/Linux-v5.10/drivers/tty/
Damiserial.c229 status |= UART_LSR_BI; in receive_chars()
247 if (status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
252 if (status & UART_LSR_BI) { in receive_chars()
272 if (status & (UART_LSR_BI)) { in receive_chars()
699 info->read_status_mask |= UART_LSR_BI; in change_speed()
708 info->ignore_status_mask |= UART_LSR_BI; in change_speed()
Dmxser.c761 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
766 info->ignore_status_mask |= UART_LSR_BI; in mxser_change_speed()
767 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
2107 if (*status & UART_LSR_BI) { in mxser_receive_chars()
2269 if (status & UART_LSR_BI) in mxser_interrupt()
/Linux-v5.10/include/uapi/linux/
Dserial_reg.h136 #define UART_LSR_BI 0x10 /* Break interrupt indicator */ macro
/Linux-v5.10/drivers/tty/serial/jsm/
Djsm_cls.c382 error_mask |= UART_LSR_BI; in cls_copy_data_from_uart_to_queue()
422 ch->ch_equeue[head] = linestatus & (UART_LSR_BI | UART_LSR_PE in cls_copy_data_from_uart_to_queue()
430 if (ch->ch_equeue[head] & UART_LSR_BI) in cls_copy_data_from_uart_to_queue()
Djsm_neo.c385 error_mask |= UART_LSR_BI; in neo_copy_data_from_uart_to_queue()
881 if (linestatus & UART_LSR_BI) { in neo_parse_lsr()
Djsm_tty.c610 if (*(ch->ch_equeue +tail +i) & UART_LSR_BI) in jsm_input()
/Linux-v5.10/drivers/usb/serial/
Dquatech2.c864 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
865 newLSR &= (u8) (UART_LSR_OE | UART_LSR_BI); in qt2_update_lsr()
875 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
Dark3116.c516 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
609 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
Df81534.c811 if ((lsr & UART_LSR_BI) == UART_LSR_BI) in f81534_check_port_hw_disabled()
1220 if (lsr & UART_LSR_BI) { in f81534_process_per_serial_block()
Dssu100.c472 if (lsr & UART_LSR_BI) { in ssu100_update_lsr()
Df81232.c385 if (lsr & UART_LSR_BI) { in f81232_handle_lsr()
Dmxuport.c408 if (lsr_event & UART_LSR_BI) { in mxuport_lsr_event()
/Linux-v5.10/drivers/staging/fwserial/
Dfwserial.c364 if (delta & (UART_LSR_BI << 24)) { in fwtty_update_port_status()
365 if (status & (UART_LSR_BI << 24)) { in fwtty_update_port_status()
401 status |= UART_LSR_BI << 24; in __fwtty_port_line_status()
523 if (port->mstatus & (UART_LSR_BI << 24)) in fwtty_emit_breaks()
543 lsr = (port->mstatus >> 24) & ~UART_LSR_BI; in fwtty_rx()
954 port->status_mask |= UART_LSR_BI; in set_termios()
958 port->ignore_mask |= UART_LSR_BI; in set_termios()