Lines Matching refs:descs
825 struct mvpp2_tx_desc *descs; member
848 struct mvpp2_rx_desc *descs; member
4031 if (txq->descs != NULL) in mvpp2_egress_enable()
4108 prefetch(rxq->descs + rxq->next_desc_to_proc); in mvpp2_rxq_next_desc_get()
4109 return rxq->descs + rx_desc; in mvpp2_rxq_next_desc_get()
4163 return txq->descs + tx_desc; in mvpp2_txq_next_desc_get()
4490 aggr_txq->descs = dma_alloc_coherent(&pdev->dev, in mvpp2_aggr_txq_init()
4493 if (!aggr_txq->descs) in mvpp2_aggr_txq_init()
4497 BUG_ON(aggr_txq->descs != in mvpp2_aggr_txq_init()
4498 PTR_ALIGN(aggr_txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_aggr_txq_init()
4523 rxq->descs = dma_alloc_coherent(port->dev->dev.parent, in mvpp2_rxq_init()
4526 if (!rxq->descs) in mvpp2_rxq_init()
4529 BUG_ON(rxq->descs != in mvpp2_rxq_init()
4530 PTR_ALIGN(rxq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_rxq_init()
4582 if (rxq->descs) in mvpp2_rxq_deinit()
4585 rxq->descs, in mvpp2_rxq_deinit()
4588 rxq->descs = NULL; in mvpp2_rxq_deinit()
4613 txq->descs = dma_alloc_coherent(port->dev->dev.parent, in mvpp2_txq_init()
4616 if (!txq->descs) in mvpp2_txq_init()
4620 BUG_ON(txq->descs != in mvpp2_txq_init()
4621 PTR_ALIGN(txq->descs, MVPP2_CPU_D_CACHE_LINE_SIZE)); in mvpp2_txq_init()
4695 txq->descs, txq->descs_phys); in mvpp2_txq_init()
4713 if (txq->descs) in mvpp2_txq_deinit()
4716 txq->descs, txq->descs_phys); in mvpp2_txq_deinit()
4718 txq->descs = NULL; in mvpp2_txq_deinit()
5244 tx_desc = txq->descs + i; in mvpp2_tx_frag_process()
6510 aggr_txq->descs, in mvpp2_remove()