Lines Matching refs:lsr
74 __u32 lsr; /* line status register value */ member
359 priv->lsr = *buf; in ark3116_open()
505 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr() argument
512 priv->lsr |= lsr; in ark3116_update_lsr()
515 if (lsr&UART_LSR_BRK_ERROR_BITS) { in ark3116_update_lsr()
516 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
518 if (lsr & UART_LSR_FE) in ark3116_update_lsr()
520 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
522 if (lsr & UART_LSR_OE) in ark3116_update_lsr()
597 __u32 lsr; in ark3116_process_read_urb() local
601 lsr = priv->lsr; in ark3116_process_read_urb()
602 priv->lsr &= ~UART_LSR_BRK_ERROR_BITS; in ark3116_process_read_urb()
608 if (lsr & UART_LSR_BRK_ERROR_BITS) { in ark3116_process_read_urb()
609 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
611 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
613 else if (lsr & UART_LSR_FE) in ark3116_process_read_urb()
617 if (lsr & UART_LSR_OE) in ark3116_process_read_urb()