Home
last modified time | relevance | path

Searched refs:linestatus (Results 1 – 2 of 2) sorted by relevance

/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
Djsm_neo.c278 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()
333 linestatus = readb(&ch->ch_neo_uart->lsr); in neo_copy_data_from_uart_to_queue()
340 if (linestatus & UART_17158_RX_FIFO_DATA_ERROR) in neo_copy_data_from_uart_to_queue()
359 if (linestatus & (UART_LSR_THRE | UART_17158_TX_AND_FIFO_CLR)) in neo_copy_data_from_uart_to_queue()
362 linestatus = 0; in neo_copy_data_from_uart_to_queue()
397 linestatus |= readb(&ch->ch_neo_uart->lsr); in neo_copy_data_from_uart_to_queue()
404 if (!(linestatus & UART_LSR_DR)) { in neo_copy_data_from_uart_to_queue()
405 ch->ch_cached_lsr = linestatus; in neo_copy_data_from_uart_to_queue()
410 linestatus &= ~UART_LSR_DR; in neo_copy_data_from_uart_to_queue()
[all …]
Djsm_cls.c353 u8 linestatus = 0; in cls_copy_data_from_uart_to_queue() local
369 linestatus = ch->ch_cached_lsr; in cls_copy_data_from_uart_to_queue()
389 linestatus = readb(&ch->ch_cls_uart->lsr); in cls_copy_data_from_uart_to_queue()
392 if (!(linestatus & UART_LSR_DR)) in cls_copy_data_from_uart_to_queue()
399 if (linestatus & error_mask) { in cls_copy_data_from_uart_to_queue()
402 linestatus = 0; in cls_copy_data_from_uart_to_queue()
422 ch->ch_equeue[head] = linestatus & (UART_LSR_BI | UART_LSR_PE in cls_copy_data_from_uart_to_queue()