Lines Matching refs:lsr
78 __u32 lsr; /* line status register value */ member
378 priv->lsr = ark3116_read_reg(serial, UART_LSR, buf); in ark3116_open()
536 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr() argument
543 priv->lsr |= lsr; in ark3116_update_lsr()
546 if (lsr&UART_LSR_BRK_ERROR_BITS) { in ark3116_update_lsr()
547 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
549 if (lsr & UART_LSR_FE) in ark3116_update_lsr()
551 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
553 if (lsr & UART_LSR_OE) in ark3116_update_lsr()
629 __u32 lsr; in ark3116_process_read_urb() local
633 lsr = priv->lsr; in ark3116_process_read_urb()
634 priv->lsr &= ~UART_LSR_BRK_ERROR_BITS; in ark3116_process_read_urb()
640 if (lsr & UART_LSR_BRK_ERROR_BITS) { in ark3116_process_read_urb()
641 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
643 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
645 else if (lsr & UART_LSR_FE) in ark3116_process_read_urb()
649 if (lsr & UART_LSR_OE) in ark3116_process_read_urb()