Lines Matching refs:saiQueue
2477 if (handle->saiQueue[handle->queueUser].data != NULL) in SAI_TransferSendNonBlocking()
2484 handle->saiQueue[handle->queueUser].data = xfer->data; in SAI_TransferSendNonBlocking()
2485 handle->saiQueue[handle->queueUser].dataSize = xfer->dataSize; in SAI_TransferSendNonBlocking()
2526 if (handle->saiQueue[handle->queueUser].data != NULL) in SAI_TransferReceiveNonBlocking()
2533 handle->saiQueue[handle->queueUser].data = xfer->data; in SAI_TransferReceiveNonBlocking()
2534 handle->saiQueue[handle->queueUser].dataSize = xfer->dataSize; in SAI_TransferReceiveNonBlocking()
2576 … *count = (handle->transferSize[queueDriverIndex] - handle->saiQueue[queueDriverIndex].dataSize); in SAI_TransferGetSendCount()
2604 … *count = (handle->transferSize[queueDriverIndex] - handle->saiQueue[queueDriverIndex].dataSize); in SAI_TransferGetReceiveCount()
2635 (void)memset(handle->saiQueue, 0, sizeof(sai_transfer_t) * (uint8_t)SAI_XFER_QUEUE_SIZE); in SAI_TransferAbortSend()
2665 (void)memset(handle->saiQueue, 0, sizeof(sai_transfer_t) * (uint8_t)SAI_XFER_QUEUE_SIZE); in SAI_TransferAbortReceive()
2687 (void)memset(handle->saiQueue, 0, sizeof(handle->saiQueue)); in SAI_TransferTerminateSend()
2711 (void)memset(handle->saiQueue, 0, sizeof(handle->saiQueue)); in SAI_TransferTerminateReceive()
2728 uint8_t *buffer = handle->saiQueue[handle->queueDriver].data; in SAI_TransferTxHandleIRQ()
2752 size_t size = MIN((handle->saiQueue[handle->queueDriver].dataSize), in SAI_TransferTxHandleIRQ()
2760 handle->saiQueue[handle->queueDriver].dataSize -= size; in SAI_TransferTxHandleIRQ()
2761 handle->saiQueue[handle->queueDriver].data = (uint8_t *)((uintptr_t)buffer + size); in SAI_TransferTxHandleIRQ()
2766 size_t size = MIN((handle->saiQueue[handle->queueDriver].dataSize), dataSize); in SAI_TransferTxHandleIRQ()
2772 handle->saiQueue[handle->queueDriver].dataSize -= size; in SAI_TransferTxHandleIRQ()
2773 handle->saiQueue[handle->queueDriver].data = (uint8_t *)((uintptr_t)buffer + size); in SAI_TransferTxHandleIRQ()
2778 if (handle->saiQueue[handle->queueDriver].dataSize == 0U) in SAI_TransferTxHandleIRQ()
2780 (void)memset(&handle->saiQueue[handle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TransferTxHandleIRQ()
2789 if (handle->saiQueue[handle->queueDriver].data == NULL) in SAI_TransferTxHandleIRQ()
2805 uint8_t *buffer = handle->saiQueue[handle->queueDriver].data; in SAI_TransferRxHandleIRQ()
2829 … size_t size = MIN((handle->saiQueue[handle->queueDriver].dataSize), handle->watermark * dataSize); in SAI_TransferRxHandleIRQ()
2836 handle->saiQueue[handle->queueDriver].dataSize -= size; in SAI_TransferRxHandleIRQ()
2837 handle->saiQueue[handle->queueDriver].data = (uint8_t *)((uintptr_t)buffer + size); in SAI_TransferRxHandleIRQ()
2842 size_t size = MIN((handle->saiQueue[handle->queueDriver].dataSize), dataSize); in SAI_TransferRxHandleIRQ()
2848 handle->saiQueue[handle->queueDriver].dataSize -= size; in SAI_TransferRxHandleIRQ()
2849 handle->saiQueue[handle->queueDriver].data = (uint8_t *)((uintptr_t)buffer + size); in SAI_TransferRxHandleIRQ()
2854 if (handle->saiQueue[handle->queueDriver].dataSize == 0U) in SAI_TransferRxHandleIRQ()
2856 (void)memset(&handle->saiQueue[handle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TransferRxHandleIRQ()
2865 if (handle->saiQueue[handle->queueDriver].data == NULL) in SAI_TransferRxHandleIRQ()