Home
last modified time | relevance | path

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

/Linux-v5.4/drivers/tty/serial/8250/
D8250_fsl.c43 if (unlikely(up->lsr_saved_flags & UART_LSR_BI)) { in fsl8250_handle_irq()
44 up->lsr_saved_flags &= ~UART_LSR_BI; in fsl8250_handle_irq()
53 if ((lsr & (UART_LSR_DR | UART_LSR_BI)) && in fsl8250_handle_irq()
D8250_aspeed_vuart.c268 if (lsr & (UART_LSR_DR | UART_LSR_BI)) { in aspeed_vuart_handle_irq()
290 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in aspeed_vuart_handle_irq()
D8250_port.c1663 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1686 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1716 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in serial8250_rx_chars()
1827 if (status & (UART_LSR_DR | UART_LSR_BI)) { in serial8250_handle_irq()
2606 port->read_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
2615 port->ignore_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
D8250_omap.c390 up->port.read_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
399 up->port.ignore_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
1067 if (status & (UART_LSR_DR | UART_LSR_BI)) { in omap_8250_dma_handle_irq()
D8250_dw.c244 if (!(status & (UART_LSR_DR | UART_LSR_BI))) in dw8250_handle_irq()
/Linux-v5.4/drivers/tty/serial/
Dvr41xx_siu.c318 if (unlikely(lsr & (UART_LSR_BI | UART_LSR_FE | in receive_chars()
320 if (lsr & UART_LSR_BI) { in receive_chars()
336 if (lsr & UART_LSR_BI) in receive_chars()
550 port->read_status_mask |= UART_LSR_BI; in siu_set_termios()
556 port->ignore_status_mask |= UART_LSR_BI; in siu_set_termios()
732 if (lsr & UART_LSR_BI) in wait_for_xmitr()
733 lsr_break_flag[port->line] = UART_LSR_BI; in wait_for_xmitr()
Dpxa.c114 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
119 if (*status & UART_LSR_BI) { in receive_chars()
149 if (*status & UART_LSR_BI) { in receive_chars()
494 up->port.read_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
503 up->port.ignore_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
609 if (status & UART_LSR_BI) in wait_for_xmitr()
610 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Dsunsu.c336 if (unlikely(*status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
341 if (*status & UART_LSR_BI) { in receive_chars()
374 if (*status & UART_LSR_BI) { in receive_chars()
542 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt()
543 receive_kbd_ms_chars(up, (status & UART_LSR_BI) != 0); in sunsu_kbd_ms_interrupt()
850 up->port.read_status_mask |= UART_LSR_BI; in sunsu_change_speed()
859 up->port.ignore_status_mask |= UART_LSR_BI; in sunsu_change_speed()
1274 if (status & UART_LSR_BI) in wait_for_xmitr()
1275 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
Domap-serial.c504 if (lsr & UART_LSR_BI) { in serial_omap_rlsi()
907 up->port.read_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
916 up->port.ignore_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
1172 if (status & UART_LSR_BI) in wait_for_xmitr()
1173 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 | \
451 } else if (lsr & UART_LSR_BI) { in tegra_uart_decode_rx_error()
458 if (tup->uport.ignore_status_mask & UART_LSR_BI) in tegra_uart_decode_rx_error()
1378 tup->uport.ignore_status_mask |= UART_LSR_BI; in tegra_uart_set_termios()
Dpch_uart.c580 i < rx_size && lsr & (UART_LSR_DR | UART_LSR_BI); in pch_uart_hal_read()
584 if (lsr & UART_LSR_BI) { in pch_uart_hal_read()
/Linux-v5.4/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.4/drivers/tty/
Damiserial.c267 status |= UART_LSR_BI; in receive_chars()
285 if (status & (UART_LSR_BI | UART_LSR_PE | in receive_chars()
290 if (status & UART_LSR_BI) { in receive_chars()
310 if (status & (UART_LSR_BI)) { in receive_chars()
737 info->read_status_mask |= UART_LSR_BI; in change_speed()
746 info->ignore_status_mask |= UART_LSR_BI; in change_speed()
Dmxser.c762 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
767 info->ignore_status_mask |= UART_LSR_BI; in mxser_change_speed()
768 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
2110 if (*status & UART_LSR_BI) { in mxser_receive_chars()
2272 if (status & UART_LSR_BI) in mxser_interrupt()
/Linux-v5.4/include/uapi/linux/
Dserial_reg.h136 #define UART_LSR_BI 0x10 /* Break interrupt indicator */ macro
/Linux-v5.4/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.4/drivers/usb/serial/
Dquatech2.c874 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
875 newLSR &= (u8) (UART_LSR_OE | UART_LSR_BI); in qt2_update_lsr()
885 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.c348 if (lsr & UART_LSR_BI) { in f81232_process_read_urb()
Dmxuport.c408 if (lsr_event & UART_LSR_BI) { in mxuport_lsr_event()
/Linux-v5.4/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()