Searched refs:tx_index (Results 1 – 2 of 2) sorted by relevance
326 eth_mac->tx_index = 0U; in XMC_ETH_MAC_InitTxDescriptors()399 if (eth_mac->tx_desc[eth_mac->tx_index].status & ETH_MAC_DMA_TDES0_OWN) in XMC_ETH_MAC_SendFrame()416 dst = (uint8_t *)eth_mac->tx_desc[eth_mac->tx_index].buffer1; in XMC_ETH_MAC_SendFrame()417 eth_mac->tx_desc[eth_mac->tx_index].length = len; in XMC_ETH_MAC_SendFrame()422 eth_mac->tx_desc[eth_mac->tx_index].length += len; in XMC_ETH_MAC_SendFrame()435 ctrl = eth_mac->tx_desc[eth_mac->tx_index].status | ETH_MAC_DMA_TDES0_CIC; in XMC_ETH_MAC_SendFrame()447 eth_mac->tx_ts_index = eth_mac->tx_index; in XMC_ETH_MAC_SendFrame()449 eth_mac->tx_desc[eth_mac->tx_index].status = ctrl | ETH_MAC_DMA_TDES0_OWN; in XMC_ETH_MAC_SendFrame()451 eth_mac->tx_index++; in XMC_ETH_MAC_SendFrame()452 if (eth_mac->tx_index == eth_mac->num_tx_buf) in XMC_ETH_MAC_SendFrame()[all …]
387 uint8_t tx_index; /**< Transmit descriptor index */ member1333 return ((eth_mac->tx_desc[eth_mac->tx_index].status & ETH_MAC_DMA_TDES0_OWN) != 0U); in XMC_ETH_MAC_IsTxDescriptorOwnedByDma()1475 return (uint8_t *)(eth_mac->tx_desc[eth_mac->tx_index].buffer1); in XMC_ETH_MAC_GetTxBuffer()1500 eth_mac->tx_desc[eth_mac->tx_index].length = size; in XMC_ETH_MAC_SetTxBufferSize()