Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/pdm/
Dfsl_pdm_sdma.h48 sdma_buffer_descriptor_t bdPool[PDM_XFER_QUEUE_SIZE]; /*!< BD pool for SDMA transfer. */
49 …pdm_transfer_t pdmQueue[PDM_XFER_QUEUE_SIZE]; /*!< Transfer queue storing queued transfer.…
50 size_t transferSize[PDM_XFER_QUEUE_SIZE]; /*!< Data bytes need to transfer */
Dfsl_pdm_sdma.c54 pdmHandle->queueDriver = (pdmHandle->queueDriver + 1U) % PDM_XFER_QUEUE_SIZE; in PDM_SDMACallback()
109 SDMA_InstallBDMemory(dmaHandle, handle->bdPool, PDM_XFER_QUEUE_SIZE); in PDM_TransferCreateHandleSDMA()
191 if (handle->queueUser == PDM_XFER_QUEUE_SIZE - 1U) in PDM_TransferReceiveSDMA()
204 handle->queueUser = (handle->queueUser + 1U) % PDM_XFER_QUEUE_SIZE; in PDM_TransferReceiveSDMA()
Dfsl_pdm.h29 #define PDM_XFER_QUEUE_SIZE (4U) macro
378 pdm_transfer_t pdmQueue[PDM_XFER_QUEUE_SIZE]; /*!< Transfer queue storing queued transfer */
379 size_t transferSize[PDM_XFER_QUEUE_SIZE]; /*!< Data bytes need to transfer */
Dfsl_pdm.c556 handle->queueUser = (handle->queueUser + 1U) % PDM_XFER_QUEUE_SIZE; in PDM_TransferReceiveNonBlocking()
587 (void)memset(handle->pdmQueue, 0, sizeof(pdm_transfer_t) * PDM_XFER_QUEUE_SIZE); in PDM_TransferAbortReceive()
660 … handle->queueDriver = (handle->queueDriver + 1U) % PDM_XFER_QUEUE_SIZE; in PDM_TransferHandleIRQ()