Searched refs:tx_qidx (Results 1 – 2 of 2) sorted by relevance
458 unsigned int tx_dsr, tx_pos, tx_qidx; in xlgmac_prepare_tx_stop() local468 tx_qidx = channel->queue_index - DMA_DSRX_FIRST_QUEUE; in xlgmac_prepare_tx_stop()470 tx_dsr = DMA_DSR1 + ((tx_qidx / DMA_DSRX_QPR) * DMA_DSRX_INC); in xlgmac_prepare_tx_stop()471 tx_pos = ((tx_qidx % DMA_DSRX_QPR) * DMA_DSR_Q_LEN) + in xlgmac_prepare_tx_stop()
3299 unsigned int tx_dsr, tx_pos, tx_qidx; in xgbe_prepare_tx_stop() local3311 tx_qidx = queue - DMA_DSRX_FIRST_QUEUE; in xgbe_prepare_tx_stop()3313 tx_dsr = DMA_DSR1 + ((tx_qidx / DMA_DSRX_QPR) * DMA_DSRX_INC); in xgbe_prepare_tx_stop()3314 tx_pos = ((tx_qidx % DMA_DSRX_QPR) * DMA_DSR_Q_WIDTH) + in xgbe_prepare_tx_stop()