Home
last modified time | relevance | path

Searched refs:spdifHandle (Results 1 – 1 of 1) sorted by relevance

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/
Dfsl_spdif_edma.c92 spdif_edma_handle_t *spdifHandle = privHandle->handle; in SPDIF_TxEDMACallback() local
95 …(void)memset(&spdifHandle->spdifQueue[spdifHandle->queueDriver], 0, sizeof(spdif_edma_transfer_t)); in SPDIF_TxEDMACallback()
96 spdifHandle->queueDriver = (spdifHandle->queueDriver + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TxEDMACallback()
97 if (spdifHandle->callback != NULL) in SPDIF_TxEDMACallback()
99 …(spdifHandle->callback)(privHandle->base, spdifHandle, kStatus_SPDIF_TxIdle, spdifHandle->userData… in SPDIF_TxEDMACallback()
103 if (spdifHandle->spdifQueue[spdifHandle->queueDriver].rightData == NULL) in SPDIF_TxEDMACallback()
105 SPDIF_TransferAbortSendEDMA(privHandle->base, spdifHandle); in SPDIF_TxEDMACallback()
112 spdif_edma_handle_t *spdifHandle = privHandle->handle; in SPDIF_RxEDMACallback() local
115 …(void)memset(&spdifHandle->spdifQueue[spdifHandle->queueDriver], 0, sizeof(spdif_edma_transfer_t)); in SPDIF_RxEDMACallback()
116 spdifHandle->queueDriver = (spdifHandle->queueDriver + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_RxEDMACallback()
[all …]