Home
last modified time | relevance | path

Searched refs:txDirtyRing (Results 1 – 6 of 6) sorted by relevance

/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/enet/
Dfsl_enet.c466 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()
1872txDirtyRing->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()
[all …]
Dfsl_enet.h707 …enet_tx_dirty_ring_t txDirtyRing[FSL_FEATURE_ENET_QUEUE]; /*!< Ring to store tx frame information.… member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/enet_qos/
Dfsl_enet_qos.c167 static inline bool ENET_QOS_TxDirtyRingAvailable(enet_qos_tx_dirty_ring_t *txDirtyRing);
784 static inline bool ENET_QOS_TxDirtyRingAvailable(enet_qos_tx_dirty_ring_t *txDirtyRing) in ENET_QOS_TxDirtyRingAvailable() argument
786 return !txDirtyRing->isFull; in ENET_QOS_TxDirtyRingAvailable()
954 … enet_qos_tx_dirty_ring_t *txDirtyRing = (enet_qos_tx_dirty_ring_t *)&handle->txDirtyRing[index]; in ENET_QOS_Down() local
961 … enet_qos_frame_info_t *txDirty = &txDirtyRing->txDirtyBase[txDirtyRing->txConsumIdx]; in ENET_QOS_Down()
998 handle->txDirtyRing[index].txGenIdx = 0; in ENET_QOS_Down()
999 handle->txDirtyRing[index].txConsumIdx = 0; in ENET_QOS_Down()
1000 handle->txDirtyRing[index].isFull = false; in ENET_QOS_Down()
1505 handle->txDirtyRing[count].txDirtyBase = buffConfig->txDirtyStartAddr; in ENET_QOS_CreateHandler()
1506 handle->txDirtyRing[count].txRingLen = buffConfig->txRingLen; in ENET_QOS_CreateHandler()
[all …]
Dfsl_enet_qos.h669 …enet_qos_tx_dirty_ring_t txDirtyRing[ENET_QOS_RING_NUM_MAX]; /*!< Transmit dirty buffers addresses… member
/hal_nxp-3.6.0/mcux/mcux-sdk/drivers/lpc_enet/
Dfsl_enet.c899 handle->txDirtyRing[count].txDirtyBase = buffConfig->txDirtyStartAddr; in ENET_CreateHandler()
900 handle->txDirtyRing[count].txRingLen = buffConfig->txRingLen; in ENET_CreateHandler()
901 handle->txDirtyRing[count].txGenIdx = 0; in ENET_CreateHandler()
902 handle->txDirtyRing[count].txConsumIdx = 0; in ENET_CreateHandler()
2065 enet_tx_dirty_ring_t *txDirtyRing = (enet_tx_dirty_ring_t *)&handle->txDirtyRing[channel]; in ENET_ReclaimTxDescriptor() local
2073 txDirty = &txDirtyRing->txDirtyBase[txDirtyRing->txConsumIdx]; in ENET_ReclaimTxDescriptor()
2074txDirtyRing->txConsumIdx = ENET_IncreaseIndex(txDirtyRing->txConsumIdx, txDirtyRing->txRingLen); in ENET_ReclaimTxDescriptor()
2134 assert(handle->txDirtyRing[channel].txDirtyBase != NULL); in ENET_SendFrame()
2140 enet_tx_dirty_ring_t *txDirtyRing = (enet_tx_dirty_ring_t *)&handle->txDirtyRing[channel]; in ENET_SendFrame() local
2141 enet_tx_reclaim_info_t *txDirty = &txDirtyRing->txDirtyBase[txDirtyRing->txGenIdx]; in ENET_SendFrame()
[all …]
Dfsl_enet.h504 enet_tx_dirty_ring_t txDirtyRing[ENET_RING_NUM_MAX]; /*!< Transmit dirty buffers addresses. */ member