Home
last modified time | relevance | path

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

/hal_nxp-3.5.0/mcux/mcux-sdk/drivers/flexio/i2s/
Dfsl_flexio_i2s_dma.c62 flexio_i2s_dma_handle_t *flexio_i2sHandle = privHandle->handle; in FLEXIO_I2S_TxDMACallback() local
65 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_TxDMACallback()
66flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_TxDMACallback()
67 if (flexio_i2sHandle->callback != NULL) in FLEXIO_I2S_TxDMACallback()
69 …(flexio_i2sHandle->callback)(privHandle->base, flexio_i2sHandle, kStatus_Success, flexio_i2sHandle in FLEXIO_I2S_TxDMACallback()
73 if (flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver].data == NULL) in FLEXIO_I2S_TxDMACallback()
75 FLEXIO_I2S_TransferAbortSendDMA(privHandle->base, flexio_i2sHandle); in FLEXIO_I2S_TxDMACallback()
82 flexio_i2s_dma_handle_t *flexio_i2sHandle = privHandle->handle; in FLEXIO_I2S_RxDMACallback() local
85 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_RxDMACallback()
86flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_RxDMACallback()
[all …]
Dfsl_flexio_i2s_edma.c68 flexio_i2s_edma_handle_t *flexio_i2sHandle = privHandle->handle; in FLEXIO_I2S_TxEDMACallback() local
71 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_TxEDMACallback()
72flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_TxEDMACallback()
73 if (flexio_i2sHandle->callback != NULL) in FLEXIO_I2S_TxEDMACallback()
75 …(flexio_i2sHandle->callback)(privHandle->base, flexio_i2sHandle, kStatus_Success, flexio_i2sHandle in FLEXIO_I2S_TxEDMACallback()
79 if (flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver].data == NULL) in FLEXIO_I2S_TxEDMACallback()
81 FLEXIO_I2S_TransferAbortSendEDMA(privHandle->base, flexio_i2sHandle); in FLEXIO_I2S_TxEDMACallback()
88 flexio_i2s_edma_handle_t *flexio_i2sHandle = privHandle->handle; in FLEXIO_I2S_RxEDMACallback() local
91 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_RxEDMACallback()
92flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_RxEDMACallback()
[all …]