Lines Matching refs:descs
808 struct mvpp2_tx_desc *descs; member
831 struct mvpp2_rx_desc *descs; member
4018 if (txq->descs != NULL) in mvpp2_egress_enable()
4095 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
4096 return rxq->descs + rx_desc; in mvpp2_rxq_next_desc_get()
4150 return txq->descs + tx_desc; in mvpp2_txq_next_desc_get()
4410 struct mvpp2_tx_desc *tx_desc = txq->descs + in mvpp2_txq_bufs_free()
4472 aggr_txq->descs = dma_alloc_coherent(&pdev->dev, in mvpp2_aggr_txq_init()
4475 if (!aggr_txq->descs) in mvpp2_aggr_txq_init()
4479 BUG_ON(aggr_txq->descs != in mvpp2_aggr_txq_init()
4480 PTR_ALIGN(aggr_txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_aggr_txq_init()
4505 rxq->descs = dma_alloc_coherent(port->dev->dev.parent, in mvpp2_rxq_init()
4508 if (!rxq->descs) in mvpp2_rxq_init()
4511 BUG_ON(rxq->descs != in mvpp2_rxq_init()
4512 PTR_ALIGN(rxq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_rxq_init()
4564 if (rxq->descs) in mvpp2_rxq_deinit()
4567 rxq->descs, in mvpp2_rxq_deinit()
4570 rxq->descs = NULL; in mvpp2_rxq_deinit()
4595 txq->descs = dma_alloc_coherent(port->dev->dev.parent, in mvpp2_txq_init()
4598 if (!txq->descs) in mvpp2_txq_init()
4602 BUG_ON(txq->descs != in mvpp2_txq_init()
4603 PTR_ALIGN(txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_txq_init()
4655 txq->descs, txq->descs_phys); in mvpp2_txq_init()
4680 if (txq->descs) in mvpp2_txq_deinit()
4683 txq->descs, txq->descs_phys); in mvpp2_txq_deinit()
4685 txq->descs = NULL; in mvpp2_txq_deinit()
5162 tx_desc = txq->descs + i; in mvpp2_tx_frag_process()
6406 aggr_txq->descs, in mvpp2_remove()