Lines Matching refs:esaiQueue
938 if (handle->esaiQueue[handle->queueUser].data != NULL) in ESAI_TransferSendNonBlocking()
945 handle->esaiQueue[handle->queueUser].data = xfer->data; in ESAI_TransferSendNonBlocking()
946 handle->esaiQueue[handle->queueUser].dataSize = xfer->dataSize; in ESAI_TransferSendNonBlocking()
991 if (handle->esaiQueue[handle->queueUser].data != NULL) in ESAI_TransferReceiveNonBlocking()
998 handle->esaiQueue[handle->queueUser].data = xfer->data; in ESAI_TransferReceiveNonBlocking()
999 handle->esaiQueue[handle->queueUser].dataSize = xfer->dataSize; in ESAI_TransferReceiveNonBlocking()
1035 …*count = (handle->transferSize[handle->queueDriver] - handle->esaiQueue[handle->queueDriver].dataS… in ESAI_TransferGetSendCount()
1062 …*count = (handle->transferSize[handle->queueDriver] - handle->esaiQueue[handle->queueDriver].dataS… in ESAI_TransferGetReceiveCount()
1090 (void)memset(handle->esaiQueue, 0, sizeof(esai_transfer_t) * ESAI_XFER_QUEUE_SIZE); in ESAI_TransferAbortSend()
1117 (void)memset(handle->esaiQueue, 0, sizeof(esai_transfer_t) * ESAI_XFER_QUEUE_SIZE); in ESAI_TransferAbortReceive()
1132 uint8_t *buffer = handle->esaiQueue[handle->queueDriver].data; in ESAI_TransferTxHandleIRQ()
1139 size_t size = MIN((handle->esaiQueue[handle->queueDriver].dataSize), in ESAI_TransferTxHandleIRQ()
1146 handle->esaiQueue[handle->queueDriver].dataSize -= size; in ESAI_TransferTxHandleIRQ()
1147 handle->esaiQueue[handle->queueDriver].data = in ESAI_TransferTxHandleIRQ()
1148 (uint8_t *)((uint32_t)handle->esaiQueue[handle->queueDriver].data + size); in ESAI_TransferTxHandleIRQ()
1152 if (handle->esaiQueue[handle->queueDriver].dataSize == 0U) in ESAI_TransferTxHandleIRQ()
1154 (void)memset(&handle->esaiQueue[handle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_TransferTxHandleIRQ()
1163 if (handle->esaiQueue[handle->queueDriver].data == NULL) in ESAI_TransferTxHandleIRQ()
1183 uint8_t *buffer = handle->esaiQueue[handle->queueDriver].data; in ESAI_TransferRxHandleIRQ()
1190 …size_t size = MIN((handle->esaiQueue[handle->queueDriver].dataSize), (handle->watermark * (uint32_… in ESAI_TransferRxHandleIRQ()
1196 handle->esaiQueue[handle->queueDriver].dataSize -= size; in ESAI_TransferRxHandleIRQ()
1197 handle->esaiQueue[handle->queueDriver].data = in ESAI_TransferRxHandleIRQ()
1198 (uint8_t *)((uint32_t)handle->esaiQueue[handle->queueDriver].data + size); in ESAI_TransferRxHandleIRQ()
1202 if (handle->esaiQueue[handle->queueDriver].dataSize == 0U) in ESAI_TransferRxHandleIRQ()
1204 (void)memset(&handle->esaiQueue[handle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_TransferRxHandleIRQ()
1213 if (handle->esaiQueue[handle->queueDriver].data == NULL) in ESAI_TransferRxHandleIRQ()