Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/edma/
Dfsl_edma.c849 edma_tcd_t *tcdRegs; in EDMA_CreateHandle() local
870 tcdRegs = (edma_tcd_t *)(uint32_t)&handle->base->TCD[handle->channel]; in EDMA_CreateHandle()
871 tcdRegs->SADDR = 0; in EDMA_CreateHandle()
872 tcdRegs->SOFF = 0; in EDMA_CreateHandle()
873 tcdRegs->ATTR = 0; in EDMA_CreateHandle()
874 tcdRegs->NBYTES = 0; in EDMA_CreateHandle()
875 tcdRegs->SLAST = 0; in EDMA_CreateHandle()
876 tcdRegs->DADDR = 0; in EDMA_CreateHandle()
877 tcdRegs->DOFF = 0; in EDMA_CreateHandle()
878 tcdRegs->CITER = 0; in EDMA_CreateHandle()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/
Dfsl_spdif_edma.c131 edma_tcd_t *tcdRegs = (edma_tcd_t *)(uint32_t)&handle->base->TCD[handle->channel]; in SPDIF_SubmitTransfer() local
188 …if (tcdRegs->DLAST_SGA == MEMORY_ConvertMemoryMapAddress((uint32_t)&handle->tcdPool[currentTcd], k… in SPDIF_SubmitTransfer()
190 if (tcdRegs->DLAST_SGA == (uint32_t)&handle->tcdPool[currentTcd]) in SPDIF_SubmitTransfer()
194 csr = (tcdRegs->CSR | (uint16_t)DMA_CSR_ESG_MASK) & ~(uint16_t)DMA_CSR_DREQ_MASK; in SPDIF_SubmitTransfer()
196 tcdRegs->CSR = csr; in SPDIF_SubmitTransfer()
207 if ((tcdRegs->CSR & DMA_CSR_ESG_MASK) != 0x00U) in SPDIF_SubmitTransfer()
217 …if (tcdRegs->DLAST_SGA == MEMORY_ConvertMemoryMapAddress((uint32_t)&handle->tcdPool[nextTcd], kMEM… in SPDIF_SubmitTransfer()
219 if (tcdRegs->DLAST_SGA == (uint32_t)&handle->tcdPool[nextTcd]) in SPDIF_SubmitTransfer()
229 else if (tcdRegs->DLAST_SGA != 0x00U) in SPDIF_SubmitTransfer()
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dma3/
Dfsl_edma.c1088 … edma_tcd_t *tcdRegs = (edma_tcd_t *)((uint32_t)&handle->base->CH[handle->channel] + 0x00000020U); in EDMA_SubmitTransfer() local
1176 if (tcdRegs->DLAST_SGA == temp) in EDMA_SubmitTransfer()
1179 … csr = (tcdRegs->CSR | (uint16_t)DMA_TCD_CSR_ESG_MASK) & ~(uint16_t)DMA_TCD_CSR_DREQ_MASK; in EDMA_SubmitTransfer()
1182 tcdRegs->CSR = csr; in EDMA_SubmitTransfer()
1199 if ((tcdRegs->CSR & DMA_TCD_CSR_ESG_MASK) != 0U) in EDMA_SubmitTransfer()
1215 if (tcdRegs->DLAST_SGA == temp) in EDMA_SubmitTransfer()
1225 else if (tcdRegs->DLAST_SGA != 0U) in EDMA_SubmitTransfer()
1274 … edma_tcd_t *tcdRegs = (edma_tcd_t *)((uint32_t)&handle->base->CH[handle->channel] + 0x00000020U); in EDMA_StartTransfer() local
1280 if (tcdRegs->DLAST_SGA != 0U) in EDMA_StartTransfer()
1288 ((tcdRegs->CSR & DMA_TCD_CSR_ESG_MASK) != 0u)) in EDMA_StartTransfer()