Lines Matching refs:txDesc
1952 void ENET_SetupTxDescriptor(enet_tx_bd_struct_t *txDesc, in ENET_SetupTxDescriptor() argument
1987 txDesc->tdes0 = (uint32_t)(uint32_t *)buffer1; in ENET_SetupTxDescriptor()
1988 txDesc->tdes1 = (uint32_t)(uint32_t *)buffer2; in ENET_SetupTxDescriptor()
1989 txDesc->tdes2 = control; in ENET_SetupTxDescriptor()
1994 txDesc->tdes3 = control; in ENET_SetupTxDescriptor()
2011 static void ENET_ConfigTxDescriptor(enet_tx_bd_struct_t *txDesc, enet_tx_bd_config_struct_t *config) in ENET_ConfigTxDescriptor() argument
2039 txDesc->tdes0 = (uint32_t)(uint32_t *)config->buffer1; in ENET_ConfigTxDescriptor()
2040 txDesc->tdes1 = (uint32_t)(uint32_t *)config->buffer2; in ENET_ConfigTxDescriptor()
2041 txDesc->tdes2 = control; in ENET_ConfigTxDescriptor()
2046 txDesc->tdes3 = control; in ENET_ConfigTxDescriptor()
2064 enet_tx_bd_struct_t *txDesc = txBdRing->txBdBase + txBdRing->txConsumIdx; in ENET_ReclaimTxDescriptor() local
2069 while ((txBdRing->txDescUsed > 0U) && ((txDesc->tdes3 & ENET_TXDESCRIP_RD_OWN_MASK) == 0U)) in ENET_ReclaimTxDescriptor()
2071 if ((txDesc->tdes3 & ENET_TXDESCRIP_RD_LD_MASK) != 0U) in ENET_ReclaimTxDescriptor()
2080 if ((txDesc->tdes3 & ENET_TXDESCRIP_WB_TTSS_MASK) != 0U) in ENET_ReclaimTxDescriptor()
2083 nanosecond = txDesc->tdes0; in ENET_ReclaimTxDescriptor()
2093 txDirty->timeStamp.second = txDesc->tdes1; in ENET_ReclaimTxDescriptor()
2110 txDesc = txBdRing->txBdBase + txBdRing->txConsumIdx; in ENET_ReclaimTxDescriptor()
2145 enet_tx_bd_struct_t *txDesc; in ENET_SendFrame() local
2185 txDesc = &txBdRing->txBdBase[txBdRing->txGenIdx]; in ENET_SendFrame()
2222 ENET_ConfigTxDescriptor(txDesc, &txDescConfig); in ENET_SendFrame()
2234 txDesc = (txBdRing->txGenIdx == 0U) ? (&txBdRing->txBdBase[txBdRing->txRingLen]) : in ENET_SendFrame()
2236 base->DMA_CH[channel].DMA_CHX_TXDESC_TAIL_PTR = (uint32_t)txDesc & ~ENET_ADDR_ALIGNMENT; in ENET_SendFrame()