Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/
Dfsl_spdif_edma.c134 int8_t currentTcd; in SPDIF_SubmitTransfer() local
148 currentTcd = handle->tail; in SPDIF_SubmitTransfer()
151 nextTcd = currentTcd + 0x01; in SPDIF_SubmitTransfer()
160 previousTcd = (currentTcd != 0x00) ? (currentTcd - 0x01) : (handle->tcdSize - 0x01); in SPDIF_SubmitTransfer()
162 EDMA_TcdReset(&handle->tcdPool[currentTcd]); in SPDIF_SubmitTransfer()
163 EDMA_TcdSetTransferConfig(&handle->tcdPool[currentTcd], config, NULL); in SPDIF_SubmitTransfer()
165 EDMA_TcdSetChannelLink(&handle->tcdPool[currentTcd], kEDMA_MinorLink, rightChannel); in SPDIF_SubmitTransfer()
166 EDMA_TcdSetChannelLink(&handle->tcdPool[currentTcd], kEDMA_MajorLink, rightChannel); in SPDIF_SubmitTransfer()
168 handle->tcdPool[currentTcd].CSR |= DMA_CSR_INTMAJOR_MASK; in SPDIF_SubmitTransfer()
171 …handle->tcdPool[currentTcd].DLAST_SGA = MEMORY_ConvertMemoryMapAddress((uint32_t)&handle->tcdPool[… in SPDIF_SubmitTransfer()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/dma3/
Dfsl_edma.c1114 int8_t currentTcd; in EDMA_SubmitTransfer() local
1127 currentTcd = handle->tail; in EDMA_SubmitTransfer()
1130 nextTcd = currentTcd + 1; in EDMA_SubmitTransfer()
1139 previousTcd = currentTcd != 0 ? currentTcd - 1 : handle->tcdSize - 1; in EDMA_SubmitTransfer()
1141 EDMA_TcdReset(&handle->tcdPool[currentTcd]); in EDMA_SubmitTransfer()
1143 EDMA_TcdSetTransferConfig(&handle->tcdPool[currentTcd], config, NULL); in EDMA_SubmitTransfer()
1145 handle->tcdPool[currentTcd].CSR |= DMA_TCD_CSR_INTMAJOR_MASK; in EDMA_SubmitTransfer()
1153 handle->tcdPool[currentTcd].DLAST_SGA = temp; in EDMA_SubmitTransfer()
1156 if (currentTcd != previousTcd) in EDMA_SubmitTransfer()
1172 … temp = MEMORY_ConvertMemoryMapAddress((uint32_t)&handle->tcdPool[currentTcd], kMEMORY_Local2DMA); in EDMA_SubmitTransfer()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/edma/
Dfsl_edma.c1148 int8_t currentTcd; in EDMA_SubmitTransfer() local
1164 currentTcd = handle->tail; in EDMA_SubmitTransfer()
1167 nextTcd = currentTcd + 1; in EDMA_SubmitTransfer()
1176 previousTcd = currentTcd != 0 ? currentTcd - 1 : (handle->tcdSize - 1); in EDMA_SubmitTransfer()
1178 EDMA_TcdReset(&handle->tcdPool[currentTcd]); in EDMA_SubmitTransfer()
1179 EDMA_TcdSetTransferConfig(&handle->tcdPool[currentTcd], config, NULL); in EDMA_SubmitTransfer()
1181 handle->tcdPool[currentTcd].CSR |= DMA_CSR_INTMAJOR_MASK; in EDMA_SubmitTransfer()
1184 handle->tcdPool[currentTcd].DLAST_SGA = in EDMA_SubmitTransfer()
1187 handle->tcdPool[currentTcd].DLAST_SGA = (uint32_t)&handle->tcdPool[nextTcd]; in EDMA_SubmitTransfer()
1190 if (currentTcd != previousTcd) in EDMA_SubmitTransfer()
[all …]