Lines Matching refs:tcdIndex

682     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()
766 uint32_t tcdIndex = 0U; in SAI_TransferReceiveLoopEDMA() local
775 … if ((tcdIndex >= (uint32_t)SAI_XFER_QUEUE_SIZE) || (xfer->data == NULL) || (xfer->dataSize == 0U)) in SAI_TransferReceiveLoopEDMA()
781 handle->transferSize[tcdIndex] = transfer->dataSize; in SAI_TransferReceiveLoopEDMA()
782 handle->saiQueue[tcdIndex].data = transfer->data; in SAI_TransferReceiveLoopEDMA()
783 handle->saiQueue[tcdIndex].dataSize = transfer->dataSize; in SAI_TransferReceiveLoopEDMA()
792 EDMA_TcdSetTransferConfig(&currentTCD[tcdIndex], &config, &currentTCD[0U]); in SAI_TransferReceiveLoopEDMA()
793 EDMA_TcdEnableInterrupts(&currentTCD[tcdIndex], (uint32_t)kEDMA_MajorInterruptEnable); in SAI_TransferReceiveLoopEDMA()
799 EDMA_TcdSetTransferConfig(&currentTCD[tcdIndex], &config, &currentTCD[tcdIndex + 1U]); in SAI_TransferReceiveLoopEDMA()
800 EDMA_TcdEnableInterrupts(&currentTCD[tcdIndex], (uint32_t)kEDMA_MajorInterruptEnable); in SAI_TransferReceiveLoopEDMA()
803 tcdIndex = tcdIndex + 1U; in SAI_TransferReceiveLoopEDMA()