Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/ethernet/synopsys/
H A 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()
/openbmc/linux/drivers/net/ethernet/amd/xgbe/
H A Dxgbe-dev.c3299 unsigned int tx_dsr, tx_pos, tx_qidx; in xgbe_prepare_tx_stop() local
3311 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()