Lines Matching refs:tx_q
17 static int jumbo_frm(struct stmmac_tx_queue *tx_q, struct sk_buff *skb, in jumbo_frm() argument
21 struct stmmac_priv *priv = tx_q->priv_data; in jumbo_frm()
22 unsigned int entry = tx_q->cur_tx; in jumbo_frm()
27 desc = tx_q->dma_tx + entry; in jumbo_frm()
41 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
42 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
48 tx_q->tx_skbuff[entry] = NULL; in jumbo_frm()
50 desc = tx_q->dma_tx + entry; in jumbo_frm()
59 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
60 tx_q->tx_skbuff_dma[entry].len = bmax; in jumbo_frm()
72 tx_q->tx_skbuff_dma[entry].buf = des2; in jumbo_frm()
73 tx_q->tx_skbuff_dma[entry].len = len; in jumbo_frm()
81 tx_q->cur_tx = entry; in jumbo_frm()
143 static void clean_desc3(struct stmmac_tx_queue *tx_q, struct dma_desc *p) in clean_desc3() argument
145 struct stmmac_priv *priv = tx_q->priv_data; in clean_desc3()
146 unsigned int entry = tx_q->dirty_tx; in clean_desc3()
148 if (tx_q->tx_skbuff_dma[entry].last_segment && !priv->extend_desc && in clean_desc3()
154 p->des3 = cpu_to_le32((unsigned int)((tx_q->dma_tx_phy + in clean_desc3()
155 ((tx_q->dirty_tx + 1) % in clean_desc3()