Lines Matching refs:rx_buf_list
154 struct n_hdlc_buf_list rx_buf_list; member
204 while ((buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list))) in flush_rx_queue()
274 buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_release()
544 if (n_hdlc->rx_buf_list.count < MAX_RX_BUF_COUNT) in n_hdlc_tty_receive()
560 n_hdlc_buf_put(&n_hdlc->rx_buf_list, buf); in n_hdlc_tty_receive()
612 rbuf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_tty_read()
766 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
767 if (n_hdlc->rx_buf_list.head) in n_hdlc_tty_ioctl()
768 count = n_hdlc->rx_buf_list.head->count; in n_hdlc_tty_ioctl()
771 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
829 if (n_hdlc->rx_buf_list.head) in n_hdlc_tty_poll()
858 n_hdlc_buf_list_init(&n_hdlc->rx_buf_list); in n_hdlc_alloc()