Home
last modified time | relevance | path

Searched refs:tx_qidx (Results 1 – 2 of 2) sorted by relevance

/linux-6.1.9/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-hw.c458 unsigned int tx_dsr, tx_pos, tx_qidx; in xlgmac_prepare_tx_stop() local
468 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()
/linux-6.1.9/drivers/net/ethernet/amd/xgbe/
Dxgbe-dev.c3249 unsigned int tx_dsr, tx_pos, tx_qidx; in xgbe_prepare_tx_stop() local
3261 tx_qidx = queue - DMA_DSRX_FIRST_QUEUE; in xgbe_prepare_tx_stop()
3263 tx_dsr = DMA_DSR1 + ((tx_qidx / DMA_DSRX_QPR) * DMA_DSRX_INC); in xgbe_prepare_tx_stop()
3264 tx_pos = ((tx_qidx % DMA_DSRX_QPR) * DMA_DSR_Q_WIDTH) + in xgbe_prepare_tx_stop()