Searched refs:SPDIF_XFER_QUEUE_SIZE (Results 1 – 4 of 4) sorted by relevance
/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif_edma.h | 52 edma_tcd_t leftTcd[SPDIF_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */ 53 edma_tcd_t rightTcd[SPDIF_XFER_QUEUE_SIZE + 1U]; /*!< TCD pool for eDMA transfer. */ 54 …spdif_edma_transfer_t spdifQueue[SPDIF_XFER_QUEUE_SIZE]; /*!< Transfer queue storing queued transf… 55 …size_t transferSize[SPDIF_XFER_QUEUE_SIZE]; /*!< Data bytes need to transfer, left and right are t…
|
D | fsl_spdif_edma.c | 96 spdifHandle->queueDriver = (spdifHandle->queueDriver + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TxEDMACallback() 116 spdifHandle->queueDriver = (spdifHandle->queueDriver + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_RxEDMACallback() 302 EDMA_InstallTCDMemory(dmaLeftHandle, STCD_ADDR(handle->leftTcd), SPDIF_XFER_QUEUE_SIZE); in SPDIF_TransferTxCreateHandleEDMA() 303 EDMA_InstallTCDMemory(dmaRightHandle, STCD_ADDR(handle->rightTcd), SPDIF_XFER_QUEUE_SIZE); in SPDIF_TransferTxCreateHandleEDMA() 353 EDMA_InstallTCDMemory(dmaLeftHandle, STCD_ADDR(handle->leftTcd), SPDIF_XFER_QUEUE_SIZE); in SPDIF_TransferRxCreateHandleEDMA() 354 EDMA_InstallTCDMemory(dmaRightHandle, STCD_ADDR(handle->rightTcd), SPDIF_XFER_QUEUE_SIZE); in SPDIF_TransferRxCreateHandleEDMA() 402 …dle->queueUser = (handle->queueUser + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TransferSendEDMA() 473 …dle->queueUser = (handle->queueUser + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TransferReceiveEDMA()
|
D | fsl_spdif.c | 463 …ndle->queueUser = (handle->queueUser + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TransferSendNonBlocking() 510 …ndle->queueUser = (handle->queueUser + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TransferReceiveNonBlocking() 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() 688 handle->queueDriver = (handle->queueDriver + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TransferTxHandleIRQ() 819 handle->queueDriver = (handle->queueDriver + 0x01U) % SPDIF_XFER_QUEUE_SIZE; in SPDIF_TransferRxHandleIRQ()
|
D | fsl_spdif.h | 156 #define SPDIF_XFER_QUEUE_SIZE (4U) macro 178 … spdif_transfer_t spdifQueue[SPDIF_XFER_QUEUE_SIZE]; /*!< Transfer queue storing queued transfer */ 179 size_t transferSize[SPDIF_XFER_QUEUE_SIZE]; /*!< Data bytes need to transfer */
|