Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/tty/serial/8250/
H A D8250_fsl.c54 if (unlikely(up->lsr_saved_flags & UART_LSR_BI)) { in fsl8250_handle_irq()
55 up->lsr_saved_flags &= ~UART_LSR_BI; in fsl8250_handle_irq()
64 if ((lsr & (UART_LSR_DR | UART_LSR_BI)) && in fsl8250_handle_irq()
92 up->lsr_saved_flags |= orig_lsr & UART_LSR_BI; in fsl8250_handle_irq()
H A D8250_aspeed_vuart.c347 if (lsr & (UART_LSR_DR | UART_LSR_BI)) { in aspeed_vuart_handle_irq()
367 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in aspeed_vuart_handle_irq()
H A D8250_dw.c296 if (!(status & (UART_LSR_DR | UART_LSR_BI))) in dw8250_handle_irq()
308 if (status & (UART_LSR_DR | UART_LSR_BI)) { in dw8250_handle_irq()
H A D8250_omap.c419 up->port.read_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
428 up->port.ignore_status_mask |= UART_LSR_BI; in omap_8250_set_termios()
1237 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in omap_8250_handle_rx_dma()
1257 if ((status & (UART_LSR_DR | UART_LSR_BI)) && in am654_8250_handle_rx_dma()
H A D8250_port.c1728 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1751 if (lsr & UART_LSR_BI) { in serial8250_read_char()
1783 } while (lsr & (UART_LSR_DR | UART_LSR_BI)); in serial8250_rx_chars()
1932 if (status & (UART_LSR_DR | UART_LSR_BI) && !skip_rx) { in serial8250_handle_irq()
2826 port->read_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
2835 port->ignore_status_mask |= UART_LSR_BI; in serial8250_do_set_termios()
/openbmc/linux/drivers/tty/serial/
H A 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()
454 up->port.read_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
463 up->port.ignore_status_mask |= UART_LSR_BI; in serial_pxa_set_termios()
567 if (status & UART_LSR_BI) in wait_for_xmitr()
568 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
H A 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()
534 if ((status & UART_LSR_DR) || (status & UART_LSR_BI)) in sunsu_kbd_ms_interrupt()
535 receive_kbd_ms_chars(up, (status & UART_LSR_BI) != 0); in sunsu_kbd_ms_interrupt()
840 up->port.read_status_mask |= UART_LSR_BI; in sunsu_change_speed()
849 up->port.ignore_status_mask |= UART_LSR_BI; in sunsu_change_speed()
1262 if (status & UART_LSR_BI) in wait_for_xmitr()
1263 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
H A Domap-serial.c457 if (lsr & UART_LSR_BI) { in serial_omap_rlsi()
829 up->port.read_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
838 up->port.ignore_status_mask |= UART_LSR_BI; in serial_omap_set_termios()
1086 if (status & UART_LSR_BI) in wait_for_xmitr()
1087 up->lsr_break_flag = UART_LSR_BI; in wait_for_xmitr()
H A Dserial-tegra.c45 #define TEGRA_UART_LSR_ANY (UART_LSR_OE | UART_LSR_BI | \
456 } else if (lsr & UART_LSR_BI) { in tegra_uart_decode_rx_error()
463 if (tup->uport.ignore_status_mask & UART_LSR_BI) in tegra_uart_decode_rx_error()
1383 tup->uport.ignore_status_mask |= UART_LSR_BI; in tegra_uart_set_termios()
H A 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()
/openbmc/linux/include/uapi/linux/
H A Dserial_reg.h142 #define UART_LSR_BI 0x10 /* Break interrupt indicator */ macro
147 #define UART_LSR_BRK_ERROR_BITS (UART_LSR_BI|UART_LSR_FE|UART_LSR_PE|UART_LSR_OE)
/openbmc/qemu/hw/char/
H A Dserial.c84 #define UART_LSR_BI 0x10 /* Break interrupt indicator */ macro
416 s->lsr &= ~(UART_LSR_DR | UART_LSR_BI); in serial_ioport_write()
485 s->lsr &= ~(UART_LSR_DR | UART_LSR_BI); in serial_ioport_read()
492 s->lsr &= ~(UART_LSR_DR | UART_LSR_BI); in serial_ioport_read()
524 if (s->lsr & (UART_LSR_BI|UART_LSR_OE)) { in serial_ioport_read()
525 s->lsr &= ~(UART_LSR_BI|UART_LSR_OE); in serial_ioport_read()
581 s->lsr |= UART_LSR_BI | UART_LSR_DR; in serial_receive_break()
/openbmc/linux/drivers/mmc/core/
H A 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()
/openbmc/linux/drivers/tty/
H A 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()
H A Dmxser.c652 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
657 info->ignore_status_mask |= UART_LSR_BI; in mxser_change_speed()
658 info->read_status_mask |= UART_LSR_BI; in mxser_change_speed()
1526 if (status & UART_LSR_BI) { in mxser_receive_chars_old()
/openbmc/u-boot/include/
H A Dns16550.h170 #define UART_LSR_BI 0x10 /* Break */ macro
/openbmc/u-boot/include/linux/
H A Dserial_reg.h127 #define UART_LSR_BI 0x10 /* Break interrupt indicator */ macro
/openbmc/linux/drivers/tty/serial/jsm/
H A 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()
H A 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()
H A Djsm_tty.c617 if (error & UART_LSR_BI) in jsm_input()
/openbmc/linux/drivers/usb/serial/
H A Dark3116.c491 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
584 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
H A Dquatech2.c829 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
830 newLSR &= (u8) (UART_LSR_OE | UART_LSR_BI); in qt2_update_lsr()
840 if (newLSR & UART_LSR_BI) in qt2_update_lsr()
H A Df81534.c813 if ((lsr & UART_LSR_BI) == UART_LSR_BI) in f81534_check_port_hw_disabled()
1203 if (lsr & UART_LSR_BI) { in f81534_process_per_serial_block()
H A Dssu100.c441 if (lsr & UART_LSR_BI) { in ssu100_update_lsr()
H A Df81232.c357 if (lsr & UART_LSR_BI) { in f81232_handle_lsr()

12