Lines Matching refs:lsr
74 __u32 lsr; /* line status register value */ member
343 priv->lsr = *buf; in ark3116_open()
477 static void ark3116_update_lsr(struct usb_serial_port *port, __u8 lsr) in ark3116_update_lsr() argument
484 priv->lsr |= lsr; in ark3116_update_lsr()
487 if (lsr&UART_LSR_BRK_ERROR_BITS) { in ark3116_update_lsr()
488 if (lsr & UART_LSR_BI) in ark3116_update_lsr()
490 if (lsr & UART_LSR_FE) in ark3116_update_lsr()
492 if (lsr & UART_LSR_PE) in ark3116_update_lsr()
494 if (lsr & UART_LSR_OE) in ark3116_update_lsr()
569 __u32 lsr; in ark3116_process_read_urb() local
573 lsr = priv->lsr; in ark3116_process_read_urb()
574 priv->lsr &= ~UART_LSR_BRK_ERROR_BITS; in ark3116_process_read_urb()
580 if (lsr & UART_LSR_BRK_ERROR_BITS) { in ark3116_process_read_urb()
581 if (lsr & UART_LSR_BI) in ark3116_process_read_urb()
583 else if (lsr & UART_LSR_PE) in ark3116_process_read_urb()
585 else if (lsr & UART_LSR_FE) in ark3116_process_read_urb()
589 if (lsr & UART_LSR_OE) in ark3116_process_read_urb()