Home
last modified time | relevance | path

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

/Zephyr-latest/drivers/ethernet/
Deth_xmc4xxx.c36 #define NUM_TX_DMA_DESCRIPTORS CONFIG_ETH_XMC4XXX_NUM_TX_DMA_DESCRIPTORS macro
46 #define MODULO_INC_TX(val) {(val) = (++(val) < NUM_TX_DMA_DESCRIPTORS) ? (val) : 0; }
129 static XMC_ETH_MAC_DMA_DESC_t __aligned(4) tx_dma_desc[NUM_TX_DMA_DESCRIPTORS];
146 for (int i = 0; i < NUM_TX_DMA_DESCRIPTORS - 1; i++) { in eth_xmc4xxx_tx_dma_descriptors_init()
153 tx_dma_desc[NUM_TX_DMA_DESCRIPTORS - 1].status |= ETH_MAC_DMA_TDES0_TER; in eth_xmc4xxx_tx_dma_descriptors_init()
154 tx_dma_desc[NUM_TX_DMA_DESCRIPTORS - 1].buffer2 = (volatile uint32_t)&tx_dma_desc[0]; in eth_xmc4xxx_tx_dma_descriptors_init()
207 for (int i = 0; i < NUM_TX_DMA_DESCRIPTORS; i++) { in eth_xmc4xxx_flush_tx()
243 if (num_frags > NUM_TX_DMA_DESCRIPTORS) { in eth_xmc4xxx_send()
510 num_descriptors = tx_frame->head_index + NUM_TX_DMA_DESCRIPTORS - in eth_xmc4xxx_handle_tx()
810 k_sem_init(&dev_data->tx_desc_sem, NUM_TX_DMA_DESCRIPTORS, in eth_xmc4xxx_init()
[all …]