Lines Matching refs:linestatus
278 u8 linestatus = 0; in neo_copy_data_from_uart_to_queue() local
290 linestatus = ch->ch_cached_lsr; in neo_copy_data_from_uart_to_queue()
334 linestatus = readb(&ch->ch_neo_uart->lsr); in neo_copy_data_from_uart_to_queue()
341 if (linestatus & UART_17158_RX_FIFO_DATA_ERROR) in neo_copy_data_from_uart_to_queue()
360 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) in neo_copy_data_from_uart_to_queue()
363 linestatus = 0; in neo_copy_data_from_uart_to_queue()
398 linestatus |= readb(&ch->ch_neo_uart->lsr); in neo_copy_data_from_uart_to_queue()
405 if (!(linestatus & UART_LSR_DR)) { in neo_copy_data_from_uart_to_queue()
406 ch->ch_cached_lsr = linestatus; in neo_copy_data_from_uart_to_queue()
411 linestatus &= ~UART_LSR_DR; in neo_copy_data_from_uart_to_queue()
418 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) { in neo_copy_data_from_uart_to_queue()
419 linestatus &= ~(UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR); in neo_copy_data_from_uart_to_queue()
426 if (linestatus & error_mask) { in neo_copy_data_from_uart_to_queue()
428 linestatus = 0; in neo_copy_data_from_uart_to_queue()
452 ch->ch_equeue[head] = (u8) linestatus; in neo_copy_data_from_uart_to_queue()
458 linestatus = 0; in neo_copy_data_from_uart_to_queue()
816 int linestatus; in neo_parse_lsr() local
829 linestatus = readb(&ch->ch_neo_uart->lsr); in neo_parse_lsr()
832 __FILE__, __LINE__, port, linestatus); in neo_parse_lsr()
834 ch->ch_cached_lsr |= linestatus; in neo_parse_lsr()
850 if (linestatus & UART_17158_RX_FIFO_DATA_ERROR) in neo_parse_lsr()
860 if (linestatus & UART_LSR_PE) { in neo_parse_lsr()
866 if (linestatus & UART_LSR_FE) { in neo_parse_lsr()
872 if (linestatus & UART_LSR_BI) { in neo_parse_lsr()
879 if (linestatus & UART_LSR_OE) { in neo_parse_lsr()
892 if (linestatus & UART_LSR_THRE) { in neo_parse_lsr()
900 else if (linestatus & UART_17158_TX_AND_FIFO_CLR) { in neo_parse_lsr()