Searched refs:qleft (Results 1 – 3 of 3) sorted by relevance
749 int qleft; in jsm_check_queue_flow_control() local752 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()
352 int qleft = 0; in cls_copy_data_from_uart_to_queue() local371 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()
277 int qleft = 0; in neo_copy_data_from_uart_to_queue() local294 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()