Lines Matching refs:queueDriver

103         if (saiHandle->queueDriver + tcds > (uint32_t)SAI_XFER_QUEUE_SIZE)  in SAI_TxEDMACallback()
105 (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, in SAI_TxEDMACallback()
106 … sizeof(sai_transfer_t) * ((uint32_t)SAI_XFER_QUEUE_SIZE - saiHandle->queueDriver)); in SAI_TxEDMACallback()
108 … sizeof(sai_transfer_t) * (saiHandle->queueDriver + tcds - (uint32_t)SAI_XFER_QUEUE_SIZE)); in SAI_TxEDMACallback()
112 … (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, sizeof(sai_transfer_t) * tcds); in SAI_TxEDMACallback()
114 …saiHandle->queueDriver = (uint8_t)((saiHandle->queueDriver + tcds) % (uint32_t)SAI_XFER_QUEUE_SIZE… in SAI_TxEDMACallback()
117 if (saiHandle->saiQueue[saiHandle->queueDriver].data == NULL) in SAI_TxEDMACallback()
141 if (saiHandle->queueDriver + tcds > (uint32_t)SAI_XFER_QUEUE_SIZE) in SAI_RxEDMACallback()
143 (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, in SAI_RxEDMACallback()
144 … sizeof(sai_transfer_t) * ((uint32_t)SAI_XFER_QUEUE_SIZE - saiHandle->queueDriver)); in SAI_RxEDMACallback()
146 … sizeof(sai_transfer_t) * (saiHandle->queueDriver + tcds - (uint32_t)SAI_XFER_QUEUE_SIZE)); in SAI_RxEDMACallback()
150 … (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, sizeof(sai_transfer_t) * tcds); in SAI_RxEDMACallback()
152 …saiHandle->queueDriver = (uint8_t)((saiHandle->queueDriver + tcds) % (uint32_t)SAI_XFER_QUEUE_SIZE… in SAI_RxEDMACallback()
155 if (saiHandle->saiQueue[saiHandle->queueDriver].data == NULL) in SAI_RxEDMACallback()
834 (void)memset(&handle->saiQueue[handle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TransferAbortSendEDMA()
835 handle->queueDriver = (handle->queueDriver + 1U) % (uint8_t)SAI_XFER_QUEUE_SIZE; in SAI_TransferAbortSendEDMA()
874 (void)memset(&handle->saiQueue[handle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TransferAbortReceiveEDMA()
875 handle->queueDriver = (handle->queueDriver + 1U) % (uint8_t)SAI_XFER_QUEUE_SIZE; in SAI_TransferAbortReceiveEDMA()
903 handle->queueDriver = 0U; in SAI_TransferTerminateSendEDMA()
928 handle->queueDriver = 0U; in SAI_TransferTerminateReceiveEDMA()
952 *count = (handle->transferSize[handle->queueDriver] - in SAI_TransferGetSendCountEDMA()
981 *count = (handle->transferSize[handle->queueDriver] - in SAI_TransferGetReceiveCountEDMA()