Lines Matching refs:rx_buf_list
150 struct n_hdlc_buf_list rx_buf_list; member
201 while ((buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list))) in flush_rx_queue()
264 buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_release()
526 if (n_hdlc->rx_buf_list.count < MAX_RX_BUF_COUNT) in n_hdlc_tty_receive()
542 n_hdlc_buf_put(&n_hdlc->rx_buf_list, buf); in n_hdlc_tty_receive()
594 rbuf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_tty_read()
749 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
750 buf = list_first_entry_or_null(&n_hdlc->rx_buf_list.list, in n_hdlc_tty_ioctl()
756 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
816 if (!list_empty(&n_hdlc->rx_buf_list.list)) in n_hdlc_tty_poll()
845 spin_lock_init(&n_hdlc->rx_buf_list.spinlock); in n_hdlc_alloc()
850 INIT_LIST_HEAD(&n_hdlc->rx_buf_list.list); in n_hdlc_alloc()