Searched refs:last_desc (Results 1 – 3 of 3) sorted by relevance
212 uint32_t last_desc; in dma_rx_init() local239 last_desc = ((uint32_t)(descp) & D64_XP_LD_MASK) in dma_rx_init()258 writel(last_desc, GMAC0_DMA_RX_PTR_ADDR); in dma_rx_init()321 uint32_t last_desc = (((uint32_t)dma->tx_desc_aligned) + in gmac_tx_packet() local343 last_desc = ((uint32_t)(dma->tx_desc_aligned)) & D64_XP_LD_MASK; in gmac_tx_packet()361 writel(last_desc, GMAC0_DMA_TX_PTR_ADDR); in gmac_tx_packet()
227 (((index) < (q)->last_desc) ? ((index) + 1) : 0)362 int last_desc; member382 int last_desc; member1030 rxq->last_desc = rxq->size - 1; in mvneta_rxq_init()1050 rxq->last_desc = 0; in mvneta_rxq_deinit()1068 txq->last_desc = txq->size - 1; in mvneta_txq_init()1086 txq->last_desc = 0; in mvneta_txq_deinit()
504 (((index) < (q)->last_desc) ? ((index) + 1) : 0)1159 int last_desc; member1182 int last_desc; member4076 aggr_txq->last_desc = aggr_txq->size - 1; in mvpp2_aggr_txq_init()4115 rxq->last_desc = rxq->size - 1; in mvpp2_rxq_init()4167 rxq->last_desc = 0; in mvpp2_rxq_deinit()4200 txq->last_desc = txq->size - 1; in mvpp2_txq_init()4254 txq->last_desc = 0; in mvpp2_txq_deinit()