Lines Matching refs:fifo_count
831 unsigned char fifo_count, read_count, i; in rx_ready_hdlc() local
851 fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f); in rx_ready_hdlc()
852 if (fifo_count == 0) in rx_ready_hdlc()
853 fifo_count = 32; in rx_ready_hdlc()
855 fifo_count = 32; in rx_ready_hdlc()
858 if (fifo_count == 1) { in rx_ready_hdlc()
865 fifo_count -= read_count; in rx_ready_hdlc()
866 if (!fifo_count && eom) in rx_ready_hdlc()
879 } while (fifo_count); in rx_ready_hdlc()
895 int fifo_count; in rx_ready_async() local
901 fifo_count = (unsigned char)(read_reg(info, CHA+RBCL) & 0x1f); in rx_ready_async()
906 if (!fifo_count && (read_reg(info,CHA+STAR) & BIT5)) in rx_ready_async()
907 fifo_count = 32; in rx_ready_async()
909 fifo_count = 32; in rx_ready_async()
911 tty_buffer_request_room(port, fifo_count); in rx_ready_async()
913 while (fifo_count) { in rx_ready_async()
916 fifo_count -= 2; in rx_ready_async()
998 unsigned char fifo_count = 32; in tx_ready() local
1019 while (info->tx_count && fifo_count) { in tx_ready()
1020 c = min(2, min_t(int, fifo_count, min(info->tx_count, TXBUFSIZE - info->tx_get))); in tx_ready()
1030 fifo_count -= c; in tx_ready()