Lines Matching refs:lsr
74 __u32 lsr; /* line status register value */ member
343 priv->lsr = *buf; in ark3116_open()
480 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr() argument
487 priv->lsr |= lsr; in ark3116_update_lsr()
490 if (lsr&UART_LSR_BRK_ERROR_BITS) { in ark3116_update_lsr()
491 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
493 if (lsr & UART_LSR_FE) in ark3116_update_lsr()
495 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
497 if (lsr & UART_LSR_OE) in ark3116_update_lsr()
572 __u32 lsr; in ark3116_process_read_urb() local
576 lsr = priv->lsr; in ark3116_process_read_urb()
577 priv->lsr &= ~UART_LSR_BRK_ERROR_BITS; in ark3116_process_read_urb()
583 if (lsr & UART_LSR_BRK_ERROR_BITS) { in ark3116_process_read_urb()
584 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
586 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
588 else if (lsr & UART_LSR_FE) in ark3116_process_read_urb()
592 if (lsr & UART_LSR_OE) in ark3116_process_read_urb()