Searched refs:tcds_done (Results 1 – 2 of 2) sorted by relevance
1386 int32_t tcds_done; in EDMA_HandleIRQ() local1416 tcds_done = handle->tcdUsed; in EDMA_HandleIRQ()1421 tcds_done = 0; in EDMA_HandleIRQ()1426 tcds_done = (int32_t)new_header - (int32_t)handle->header; in EDMA_HandleIRQ()1427 if (tcds_done < 0) in EDMA_HandleIRQ()1429 tcds_done += handle->tcdSize; in EDMA_HandleIRQ()1444 handle->tcdUsed -= (int8_t)tcds_done; in EDMA_HandleIRQ()1448 (handle->callback)(handle, handle->userData, transfer_done, tcds_done); in EDMA_HandleIRQ()
1420 int32_t tcds_done; in EDMA_HandleIRQ() local1456 tcds_done = handle->tcdUsed; in EDMA_HandleIRQ()1461 tcds_done = 0; in EDMA_HandleIRQ()1466 tcds_done = (int32_t)new_header - (int32_t)handle->header; in EDMA_HandleIRQ()1467 if (tcds_done < 0) in EDMA_HandleIRQ()1469 tcds_done += handle->tcdSize; in EDMA_HandleIRQ()1484 handle->tcdUsed -= (int8_t)tcds_done; in EDMA_HandleIRQ()1488 (handle->callback)(handle, handle->userData, transfer_done, tcds_done); in EDMA_HandleIRQ()