Lines Matching refs:spdifQueue
454 if (handle->spdifQueue[handle->queueUser].data != NULL) in SPDIF_TransferSendNonBlocking()
461 handle->spdifQueue[handle->queueUser].data = xfer->data; in SPDIF_TransferSendNonBlocking()
462 handle->spdifQueue[handle->queueUser].dataSize = xfer->dataSize; in SPDIF_TransferSendNonBlocking()
499 if (handle->spdifQueue[handle->queueUser].data != NULL) in SPDIF_TransferReceiveNonBlocking()
506 handle->spdifQueue[handle->queueUser].data = xfer->data; in SPDIF_TransferReceiveNonBlocking()
507 handle->spdifQueue[handle->queueUser].dataSize = xfer->dataSize; in SPDIF_TransferReceiveNonBlocking()
508 handle->spdifQueue[handle->queueUser].udata = xfer->udata; in SPDIF_TransferReceiveNonBlocking()
509 handle->spdifQueue[handle->queueUser].qdata = xfer->qdata; in SPDIF_TransferReceiveNonBlocking()
556 *count = (handle->transferSize[queueDriver] - handle->spdifQueue[queueDriver].dataSize); in SPDIF_TransferGetSendCount()
584 *count = (handle->transferSize[queueDriver] - handle->spdifQueue[queueDriver].dataSize); in SPDIF_TransferGetReceiveCount()
609 (void)memset(handle->spdifQueue, 0, sizeof(spdif_transfer_t) * SPDIF_XFER_QUEUE_SIZE); in SPDIF_TransferAbortSend()
635 (void)memset(handle->spdifQueue, 0, sizeof(spdif_transfer_t) * SPDIF_XFER_QUEUE_SIZE); in SPDIF_TransferAbortReceive()
650 uint8_t *buffer = handle->spdifQueue[handle->queueDriver].data; in SPDIF_TransferTxHandleIRQ()
681 handle->spdifQueue[handle->queueDriver].dataSize -= (uint32_t)dataSize * 6U; in SPDIF_TransferTxHandleIRQ()
682 handle->spdifQueue[handle->queueDriver].data += dataSize * 6U; in SPDIF_TransferTxHandleIRQ()
685 if (handle->spdifQueue[handle->queueDriver].dataSize == 0U) in SPDIF_TransferTxHandleIRQ()
687 (void)memset(&handle->spdifQueue[handle->queueDriver], 0, sizeof(spdif_transfer_t)); in SPDIF_TransferTxHandleIRQ()
696 if (handle->spdifQueue[handle->queueDriver].data == NULL) in SPDIF_TransferTxHandleIRQ()
762 buffer = handle->spdifQueue[handle->queueDriver].qdata; in SPDIF_TransferRxHandleIRQ()
776 buffer = handle->spdifQueue[handle->queueDriver].udata; in SPDIF_TransferRxHandleIRQ()
791 buffer = handle->spdifQueue[handle->queueDriver].data; in SPDIF_TransferRxHandleIRQ()
812 handle->spdifQueue[handle->queueDriver].dataSize -= (uint32_t)dataSize * 6U; in SPDIF_TransferRxHandleIRQ()
813 handle->spdifQueue[handle->queueDriver].data += dataSize * 6U; in SPDIF_TransferRxHandleIRQ()
816 if (handle->spdifQueue[handle->queueDriver].dataSize == 0x00U) in SPDIF_TransferRxHandleIRQ()
818 (void)memset(&handle->spdifQueue[handle->queueDriver], 0, sizeof(spdif_transfer_t)); in SPDIF_TransferRxHandleIRQ()
827 if (handle->spdifQueue[handle->queueDriver].data == NULL) in SPDIF_TransferRxHandleIRQ()