Lines Matching refs:lsr
74 __u32 lsr; /* line status register value */ member
357 priv->lsr = *buf; in ark3116_open()
491 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr() argument
498 priv->lsr |= lsr; in ark3116_update_lsr()
501 if (lsr&UART_LSR_BRK_ERROR_BITS) { in ark3116_update_lsr()
502 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
504 if (lsr & UART_LSR_FE) in ark3116_update_lsr()
506 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
508 if (lsr & UART_LSR_OE) in ark3116_update_lsr()
583 __u32 lsr; in ark3116_process_read_urb() local
587 lsr = priv->lsr; in ark3116_process_read_urb()
588 priv->lsr &= ~UART_LSR_BRK_ERROR_BITS; in ark3116_process_read_urb()
594 if (lsr & UART_LSR_BRK_ERROR_BITS) { in ark3116_process_read_urb()
595 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
597 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
599 else if (lsr & UART_LSR_FE) in ark3116_process_read_urb()
603 if (lsr & UART_LSR_OE) in ark3116_process_read_urb()