Lines Matching refs:tx_buf_list
149 struct n_hdlc_buf_list tx_buf_list; member
210 while ((buf = n_hdlc_buf_get(&n_hdlc->tx_buf_list))) in flush_tx_queue()
271 buf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); in n_hdlc_release()
385 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
388 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
393 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
395 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); in n_hdlc_send_frames()
407 n_hdlc_buf_return(&n_hdlc->tx_buf_list, tbuf); in n_hdlc_send_frames()
427 tbuf = n_hdlc_buf_get(&n_hdlc->tx_buf_list); in n_hdlc_send_frames()
437 n_hdlc_buf_return(&n_hdlc->tx_buf_list, tbuf); in n_hdlc_send_frames()
446 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
448 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock, flags); in n_hdlc_send_frames()
711 n_hdlc_buf_put(&n_hdlc->tx_buf_list,tbuf); in n_hdlc_tty_write()
764 spin_lock_irqsave(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
765 buf = list_first_entry_or_null(&n_hdlc->tx_buf_list.list, in n_hdlc_tty_ioctl()
769 spin_unlock_irqrestore(&n_hdlc->tx_buf_list.spinlock,flags); in n_hdlc_tty_ioctl()
846 spin_lock_init(&n_hdlc->tx_buf_list.spinlock); in n_hdlc_alloc()
851 INIT_LIST_HEAD(&n_hdlc->tx_buf_list.list); in n_hdlc_alloc()