Lines Matching refs:tx_desc
982 struct mvpp2_tx_desc *tx_desc) in mvpp2_txq_inc_put() argument
987 tx_desc->buf_phys_addr; in mvpp2_txq_inc_put()
4160 int tx_desc = txq->next_desc_to_proc; in mvpp2_txq_next_desc_get() local
4162 txq->next_desc_to_proc = MVPP2_QUEUE_NEXT_DESC(txq, tx_desc); in mvpp2_txq_next_desc_get()
4163 return txq->descs + tx_desc; in mvpp2_txq_next_desc_get()
5203 struct mvpp2_tx_desc *tx_desc; in mvpp2_tx_frag_process() local
5211 tx_desc = mvpp2_txq_next_desc_get(aggr_txq); in mvpp2_tx_frag_process()
5212 tx_desc->phys_txq = txq->id; in mvpp2_tx_frag_process()
5213 tx_desc->data_size = frag->size; in mvpp2_tx_frag_process()
5216 tx_desc->data_size, in mvpp2_tx_frag_process()
5223 tx_desc->packet_offset = buf_phys_addr & MVPP2_TX_DESC_ALIGN; in mvpp2_tx_frag_process()
5224 tx_desc->buf_phys_addr = buf_phys_addr & (~MVPP2_TX_DESC_ALIGN); in mvpp2_tx_frag_process()
5228 tx_desc->command = MVPP2_TXD_L_DESC; in mvpp2_tx_frag_process()
5229 mvpp2_txq_inc_put(txq_pcpu, skb, tx_desc); in mvpp2_tx_frag_process()
5232 tx_desc->command = 0; in mvpp2_tx_frag_process()
5233 mvpp2_txq_inc_put(txq_pcpu, NULL, tx_desc); in mvpp2_tx_frag_process()
5244 tx_desc = txq->descs + i; in mvpp2_tx_frag_process()
5245 tx_desc_unmap_put(port->dev->dev.parent, txq, tx_desc); in mvpp2_tx_frag_process()
5257 struct mvpp2_tx_desc *tx_desc; in mvpp2_tx() local
5279 tx_desc = mvpp2_txq_next_desc_get(aggr_txq); in mvpp2_tx()
5280 tx_desc->phys_txq = txq->id; in mvpp2_tx()
5281 tx_desc->data_size = skb_headlen(skb); in mvpp2_tx()
5284 tx_desc->data_size, DMA_TO_DEVICE); in mvpp2_tx()
5290 tx_desc->packet_offset = buf_phys_addr & MVPP2_TX_DESC_ALIGN; in mvpp2_tx()
5291 tx_desc->buf_phys_addr = buf_phys_addr & ~MVPP2_TX_DESC_ALIGN; in mvpp2_tx()
5298 tx_desc->command = tx_cmd; in mvpp2_tx()
5299 mvpp2_txq_inc_put(txq_pcpu, skb, tx_desc); in mvpp2_tx()
5303 tx_desc->command = tx_cmd; in mvpp2_tx()
5304 mvpp2_txq_inc_put(txq_pcpu, NULL, tx_desc); in mvpp2_tx()
5308 tx_desc_unmap_put(port->dev->dev.parent, txq, tx_desc); in mvpp2_tx()