Searched refs:previousTcd (Results 1 – 3 of 3) sorted by relevance
135 int8_t previousTcd; in SPDIF_SubmitTransfer() local160 previousTcd = (currentTcd != 0x00) ? (currentTcd - 0x01) : (handle->tcdSize - 0x01); in SPDIF_SubmitTransfer()176 if (currentTcd != previousTcd) in SPDIF_SubmitTransfer()179 …csr = (handle->tcdPool[previousTcd].CSR | (uint16_t)DMA_CSR_ESG_MASK) & ~(uint16_t)DMA_CSR_DREQ_MA… in SPDIF_SubmitTransfer()180 handle->tcdPool[previousTcd].CSR = csr; in SPDIF_SubmitTransfer()
1115 int8_t previousTcd; in EDMA_SubmitTransfer() local1139 previousTcd = currentTcd != 0 ? currentTcd - 1 : handle->tcdSize - 1; in EDMA_SubmitTransfer()1156 if (currentTcd != previousTcd) in EDMA_SubmitTransfer()1160 …(handle->tcdPool[previousTcd].CSR | (uint16_t)DMA_TCD_CSR_ESG_MASK) & ~(uint16_t)DMA_TCD_CSR_DREQ_… in EDMA_SubmitTransfer()1161 handle->tcdPool[previousTcd].CSR = csr; in EDMA_SubmitTransfer()
1149 int8_t previousTcd; in EDMA_SubmitTransfer() local1176 previousTcd = currentTcd != 0 ? currentTcd - 1 : (handle->tcdSize - 1); in EDMA_SubmitTransfer()1190 if (currentTcd != previousTcd) in EDMA_SubmitTransfer()1193 csr = handle->tcdPool[previousTcd].CSR | ((uint16_t)DMA_CSR_ESG_MASK); in EDMA_SubmitTransfer()1195 handle->tcdPool[previousTcd].CSR = csr; in EDMA_SubmitTransfer()