Lines Matching refs:rx_buf_list
135 struct n_hdlc_buf_list rx_buf_list; member
164 while ((buf = n_hdlc_buf_get(&n_hdlc->rx_buf_list))) in flush_rx_queue()
211 n_hdlc_free_buf_list(&n_hdlc->rx_buf_list); in n_hdlc_tty_close()
392 if (n_hdlc->rx_buf_list.count < MAX_RX_BUF_COUNT) in n_hdlc_tty_receive()
407 n_hdlc_buf_put(&n_hdlc->rx_buf_list, buf); in n_hdlc_tty_receive()
453 rbuf = n_hdlc_buf_get(&n_hdlc->rx_buf_list); in n_hdlc_tty_read()
598 spin_lock_irqsave(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
599 buf = list_first_entry_or_null(&n_hdlc->rx_buf_list.list, in n_hdlc_tty_ioctl()
605 spin_unlock_irqrestore(&n_hdlc->rx_buf_list.spinlock, flags); in n_hdlc_tty_ioctl()
662 if (!list_empty(&n_hdlc->rx_buf_list.list)) in n_hdlc_tty_poll()
706 spin_lock_init(&n_hdlc->rx_buf_list.spinlock); in n_hdlc_alloc()
711 INIT_LIST_HEAD(&n_hdlc->rx_buf_list.list); in n_hdlc_alloc()