Lines Matching refs:tx_buf_list
153 struct n_hdlc_buf_list tx_buf_list; member
214 while ((buf = n_hdlc_buf_get(&n_hdlc->tx_buf_list))) in flush_tx_queue()
216 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in flush_tx_queue()
221 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in flush_tx_queue()
281 buf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); in n_hdlc_release()
396 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
399 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
404 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
411 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); in n_hdlc_send_frames()
447 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); in n_hdlc_send_frames()
464 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
466 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
729 n_hdlc_buf_put(&n_hdlc->tx_buf_list,tbuf); in n_hdlc_tty_write()
779 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
780 if (n_hdlc->tx_buf_list.head) in n_hdlc_tty_ioctl()
781 count += n_hdlc->tx_buf_list.head->count; in n_hdlc_tty_ioctl()
782 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
859 n_hdlc_buf_list_init(&n_hdlc->tx_buf_list); in n_hdlc_alloc()