Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai_edma.c682 uint32_t tcdIndex = 0U; in SAI_TransferSendLoopEDMA() local
691 …if ((transfer->data == NULL) || (transfer->dataSize == 0U) || (tcdIndex >= (uint32_t)SAI_XFER_QUEU… in SAI_TransferSendLoopEDMA()
697 handle->transferSize[tcdIndex] = transfer->dataSize; in SAI_TransferSendLoopEDMA()
698 handle->saiQueue[tcdIndex].data = transfer->data; in SAI_TransferSendLoopEDMA()
699 handle->saiQueue[tcdIndex].dataSize = transfer->dataSize; in SAI_TransferSendLoopEDMA()
708 EDMA_TcdSetTransferConfig(&currentTCD[tcdIndex], &config, &currentTCD[0U]); in SAI_TransferSendLoopEDMA()
709 EDMA_TcdEnableInterrupts(&currentTCD[tcdIndex], (uint32_t)kEDMA_MajorInterruptEnable); in SAI_TransferSendLoopEDMA()
715 EDMA_TcdSetTransferConfig(&currentTCD[tcdIndex], &config, &currentTCD[tcdIndex + 1U]); in SAI_TransferSendLoopEDMA()
716 EDMA_TcdEnableInterrupts(&currentTCD[tcdIndex], (uint32_t)kEDMA_MajorInterruptEnable); in SAI_TransferSendLoopEDMA()
719 tcdIndex = tcdIndex + 1U; in SAI_TransferSendLoopEDMA()
[all …]
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm_edma.c285 uint32_t nextTcdIndex = 0U, tcdIndex = handle->tcdUser, destOffset = FSL_FEATURE_PDM_FIFO_WIDTH; in PDM_TransferReceiveEDMA() local
377 …tallTCD(handle->dmaHandle->base, handle->dmaHandle->channel, (edma_tcd_t *)&handle->tcd[tcdIndex]); in PDM_TransferReceiveEDMA()