Lines Matching refs:char_count
449 u8 ivr, save_xir, channel, save_car, data, char_count;
468 char_count = cyy_readb(info, CyRDCR);
469 while (char_count--)
549 char_count = cyy_readb(info, CyRDCR);
553 info->mon.char_count += char_count;
554 if (char_count > info->mon.char_max)
555 info->mon.char_max = char_count;
556 info->mon.char_last = char_count;
558 len = tty_buffer_request_room(tty, char_count);
583 int char_count, index = cinfo->bus_index;
607 char_count = info->xmit_fifo_size;
612 char_count--;
622 char_count -= 2;
628 char_count -= 2;
632 while (char_count-- > 0) {
670 if (char_count > 1) {
677 char_count--;
934 unsigned int char_count;
948 char_count = rx_put - rx_get;
950 char_count = rx_put - rx_get + rx_bufsize;
952 if (char_count) {
955 info->mon.char_count += char_count;
956 if (char_count > info->mon.char_max)
957 info->mon.char_max = char_count;
958 info->mon.char_last = char_count;
962 new_rx_get = (new_rx_get + char_count) &
972 char_count);
976 len = min_t(unsigned int, min(len, char_count),
984 char_count -= len;
989 len = tty_buffer_request_room(tty, char_count);
1005 char_count = rx_put - rx_get;
1007 char_count = rx_put - rx_get + rx_bufsize;
1008 if (char_count >= readl(&buf_ctrl->rx_threshold) &&
1027 unsigned int char_count;
1041 char_count = tx_get - tx_put - 1 + tx_bufsize;
1043 char_count = tx_get - tx_put - 1;
1045 if (char_count) {
1056 char_count--;
1064 char_count))))) {
1072 char_count -= small_count;
1079 while (info->xmit_cnt && char_count) {
1087 char_count--;
1956 int char_count;
1963 char_count = tx_put - tx_get;
1965 char_count = tx_put - tx_get + tx_bufsize;
1968 info->line, info->xmit_cnt + char_count);
1970 return info->xmit_cnt + char_count;