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