Lines Matching refs:txDirtyRing
466 handle->txDirtyRing[count].txDirtyBase = buffCfg->txFrameInfo; in ENET_SetHandler()
467 handle->txDirtyRing[count].txRingLen = buffCfg->txBdNumber; in ENET_SetHandler()
1380 static inline bool ENET_TxDirtyRingAvailable(enet_tx_dirty_ring_t *txDirtyRing) in ENET_TxDirtyRingAvailable() argument
1382 return !txDirtyRing->isFull; in ENET_TxDirtyRingAvailable()
1801 enet_tx_dirty_ring_t *txDirtyRing = &handle->txDirtyRing[ringId]; in ENET_SendFrame() local
1826 else if ((handle->txReclaimEnable[ringId]) && !ENET_TxDirtyRingAvailable(txDirtyRing)) in ENET_SendFrame()
1870 txDirty = txDirtyRing->txDirtyBase + txDirtyRing->txGenIdx; in ENET_SendFrame()
1872 … txDirtyRing->txGenIdx = ENET_IncreaseIndex(txDirtyRing->txGenIdx, txDirtyRing->txRingLen); in ENET_SendFrame()
1873 if (txDirtyRing->txGenIdx == txDirtyRing->txConsumIdx) in ENET_SendFrame()
1875 txDirtyRing->isFull = true; in ENET_SendFrame()
1962 … txDirty = txDirtyRing->txDirtyBase + txDirtyRing->txGenIdx; in ENET_SendFrame()
1964 … txDirtyRing->txGenIdx = ENET_IncreaseIndex(txDirtyRing->txGenIdx, txDirtyRing->txRingLen); in ENET_SendFrame()
1965 if (txDirtyRing->txGenIdx == txDirtyRing->txConsumIdx) in ENET_SendFrame()
1967 txDirtyRing->isFull = true; in ENET_SendFrame()
2010 enet_tx_dirty_ring_t *txDirtyRing = &handle->txDirtyRing[ringId]; in ENET_SetTxReclaim() local
2015 … if ((txDirtyRing->txGenIdx == txDirtyRing->txConsumIdx) && ENET_TxDirtyRingAvailable(txDirtyRing)) in ENET_SetTxReclaim()
2052 enet_tx_dirty_ring_t *txDirtyRing = &handle->txDirtyRing[ringId]; in ENET_ReclaimTxDescriptor() local
2061 txDirty = txDirtyRing->txDirtyBase + txDirtyRing->txConsumIdx; in ENET_ReclaimTxDescriptor()
2062 … txDirtyRing->txConsumIdx = ENET_IncreaseIndex(txDirtyRing->txConsumIdx, txDirtyRing->txRingLen); in ENET_ReclaimTxDescriptor()
2063 txDirtyRing->isFull = false; in ENET_ReclaimTxDescriptor()
2431 enet_tx_dirty_ring_t *txDirtyRing = &handle->txDirtyRing[ringId]; in ENET_StartTxFrame() local
2481 else if (!ENET_TxDirtyRingAvailable(txDirtyRing)) in ENET_StartTxFrame()
2537 txDirty = txDirtyRing->txDirtyBase + txDirtyRing->txGenIdx; in ENET_StartTxFrame()
2539 … txDirtyRing->txGenIdx = ENET_IncreaseIndex(txDirtyRing->txGenIdx, txDirtyRing->txRingLen); in ENET_StartTxFrame()
2540 if (txDirtyRing->txGenIdx == txDirtyRing->txConsumIdx) in ENET_StartTxFrame()
2542 txDirtyRing->isFull = true; in ENET_StartTxFrame()