Lines Matching refs:rx_buf_list
139 struct n_hdlc_buf_list rx_buf_list; member
165 while ((buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list))) in flush_rx_queue()
214 n_hdlc_free_buf_list(&n_hdlc->rx_buf_list); in n_hdlc_tty_close()
385 if (n_hdlc->rx_buf_list.count < MAX_RX_BUF_COUNT) in n_hdlc_tty_receive()
400 n_hdlc_buf_put(&n_hdlc->rx_buf_list, buf); in n_hdlc_tty_receive()
438 rbuf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_tty_read()
575 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
576 buf = list_first_entry_or_null(&n_hdlc->rx_buf_list.list, in n_hdlc_tty_ioctl()
582 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
642 if (!list_empty(&n_hdlc->rx_buf_list.list)) in n_hdlc_tty_poll()
686 spin_lock_init(&n_hdlc->rx_buf_list.spinlock); in n_hdlc_alloc()
691 INIT_LIST_HEAD(&n_hdlc->rx_buf_list.list); in n_hdlc_alloc()