Home
last modified time | relevance | path

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

/openbmc/linux/drivers/tty/serial/jsm/
H A Djsm_tty.c749 int qleft; in jsm_check_queue_flow_control() local
752 qleft = ch->ch_r_tail - ch->ch_r_head - 1; in jsm_check_queue_flow_control()
753 if (qleft < 0) in jsm_check_queue_flow_control()
754 qleft += RQUEUEMASK + 1; in jsm_check_queue_flow_control()
771 if (qleft < 256) { in jsm_check_queue_flow_control()
779 qleft); in jsm_check_queue_flow_control()
809 if (qleft > (RQUEUESIZE / 2)) { in jsm_check_queue_flow_control()
817 qleft); in jsm_check_queue_flow_control()
H A Djsm_cls.c352 int qleft = 0; in cls_copy_data_from_uart_to_queue() local
371 qleft = tail - head - 1; in cls_copy_data_from_uart_to_queue()
372 if (qleft < 0) in cls_copy_data_from_uart_to_queue()
373 qleft += RQUEUEMASK + 1; in cls_copy_data_from_uart_to_queue()
411 while (qleft < 1) { in cls_copy_data_from_uart_to_queue()
415 qleft++; in cls_copy_data_from_uart_to_queue()
422 qleft--; in cls_copy_data_from_uart_to_queue()
H A Djsm_neo.c277 int qleft = 0; in neo_copy_data_from_uart_to_queue() local
294 qleft = tail - head - 1; in neo_copy_data_from_uart_to_queue()
295 if (qleft < 0) in neo_copy_data_from_uart_to_queue()
296 qleft += RQUEUEMASK + 1; in neo_copy_data_from_uart_to_queue()
327 total = min(total, qleft); in neo_copy_data_from_uart_to_queue()
377 qleft -= n; in neo_copy_data_from_uart_to_queue()
441 while (qleft < 1) { in neo_copy_data_from_uart_to_queue()
448 qleft++; in neo_copy_data_from_uart_to_queue()
463 qleft--; in neo_copy_data_from_uart_to_queue()