Home
last modified time | relevance | path

Searched refs:qleft (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/tty/serial/jsm/
Djsm_tty.c745 int qleft; in jsm_check_queue_flow_control() local
748 if ((qleft = ch->ch_r_tail - ch->ch_r_head - 1) < 0) in jsm_check_queue_flow_control()
749 qleft += RQUEUEMASK + 1; in jsm_check_queue_flow_control()
766 if (qleft < 256) { in jsm_check_queue_flow_control()
774 qleft); in jsm_check_queue_flow_control()
804 if (qleft > (RQUEUESIZE / 2)) { in jsm_check_queue_flow_control()
812 qleft); in jsm_check_queue_flow_control()
Djsm_cls.c352 int qleft = 0; in cls_copy_data_from_uart_to_queue() local
373 qleft = tail - head - 1; in cls_copy_data_from_uart_to_queue()
374 if (qleft < 0) in cls_copy_data_from_uart_to_queue()
375 qleft += RQUEUEMASK + 1; in cls_copy_data_from_uart_to_queue()
415 while (qleft < 1) { in cls_copy_data_from_uart_to_queue()
419 qleft++; in cls_copy_data_from_uart_to_queue()
426 qleft--; in cls_copy_data_from_uart_to_queue()
Djsm_neo.c277 int qleft = 0; in neo_copy_data_from_uart_to_queue() local
294 if ((qleft = tail - head - 1) < 0) in neo_copy_data_from_uart_to_queue()
295 qleft += RQUEUEMASK + 1; in neo_copy_data_from_uart_to_queue()
326 total = min(total, qleft); in neo_copy_data_from_uart_to_queue()
376 qleft -= n; in neo_copy_data_from_uart_to_queue()
440 while (qleft < 1) { in neo_copy_data_from_uart_to_queue()
447 qleft++; in neo_copy_data_from_uart_to_queue()
462 qleft--; in neo_copy_data_from_uart_to_queue()