Lines Matching refs:tcd
137 #define EDMA_TCD_SADDR(tcd, flag) ((tcd)->SADDR) argument
138 #define EDMA_TCD_DADDR(tcd, flag) ((tcd)->DADDR) argument
139 #define EDMA_TCD_BITER(tcd, flag) ((tcd)->BITER) argument
140 #define EDMA_TCD_CITER(tcd, flag) ((tcd)->CITER) argument
141 #define EDMA_TCD_CSR(tcd, flag) ((tcd)->CSR) argument
142 #define EDMA_TCD_DLAST_SGA(tcd, flag) ((tcd)->DLAST_SGA) argument
297 edma_tcd_t *tcd = NULL; in dma_mcux_edma_configure() local
433 tcd = &(DEV_CFG(dev)->tcdpool[channel] in dma_mcux_edma_configure()
436 EDMA_TCD_SADDR(tcd, kEDMA_EDMA4Flag) = block_config->source_address; in dma_mcux_edma_configure()
437 EDMA_TCD_DADDR(tcd, kEDMA_EDMA4Flag) = block_config->dest_address; in dma_mcux_edma_configure()
438 EDMA_TCD_BITER(tcd, kEDMA_EDMA4Flag) = in dma_mcux_edma_configure()
440 EDMA_TCD_CITER(tcd, kEDMA_EDMA4Flag) = in dma_mcux_edma_configure()
444 EDMA_TCD_CSR(tcd, kEDMA_EDMA4Flag) |= DMA_CSR_DREQ(1U); in dma_mcux_edma_configure()
446 EDMA_TCD_CSR(tcd, kEDMA_EDMA4Flag) &= ~DMA_CSR_DREQ(1U); in dma_mcux_edma_configure()
613 edma_tcd_t *tcd = NULL; in dma_mcux_edma_reload() local
644 tcd = &(DEV_CFG(dev)->tcdpool[channel][data->transfer_settings.write_idx]); in dma_mcux_edma_reload()
647 EDMA_TCD_SADDR(tcd, kEDMA_EDMA4Flag) = src; in dma_mcux_edma_reload()
648 EDMA_TCD_DADDR(tcd, kEDMA_EDMA4Flag) = dst; in dma_mcux_edma_reload()
649 EDMA_TCD_BITER(tcd, kEDMA_EDMA4Flag) = size; in dma_mcux_edma_reload()
650 EDMA_TCD_CITER(tcd, kEDMA_EDMA4Flag) = size; in dma_mcux_edma_reload()
652 EDMA_TCD_CSR(tcd, kEDMA_EDMA4Flag) |= DMA_CSR_DREQ(1U); in dma_mcux_edma_reload()
653 sw_id = EDMA_TCD_DLAST_SGA(tcd, kEDMA_EDMA4Flag); in dma_mcux_edma_reload()
687 hw_id == (uint32_t)tcd) { in dma_mcux_edma_reload()