/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/spdif/ |
D | fsl_spdif.c | 548 uint8_t queueDriver = handle->queueDriver; in SPDIF_TransferGetSendCount() local 556 *count = (handle->transferSize[queueDriver] - handle->spdifQueue[queueDriver].dataSize); in SPDIF_TransferGetSendCount() 576 uint8_t queueDriver = handle->queueDriver; in SPDIF_TransferGetReceiveCount() local 584 *count = (handle->transferSize[queueDriver] - handle->spdifQueue[queueDriver].dataSize); in SPDIF_TransferGetReceiveCount() 610 handle->queueDriver = 0; in SPDIF_TransferAbortSend() 636 handle->queueDriver = 0; 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() [all …]
|
D | fsl_spdif_edma.c | 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() 103 if (spdifHandle->spdifQueue[spdifHandle->queueDriver].rightData == NULL) in SPDIF_TxEDMACallback() 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() 123 if (spdifHandle->spdifQueue[spdifHandle->queueDriver].rightData == NULL) in SPDIF_RxEDMACallback() 524 handle->queueDriver = 0U; in SPDIF_TransferAbortSendEDMA() 551 handle->queueDriver = 0U; in SPDIF_TransferAbortReceiveEDMA() 578 *count = (handle->transferSize[handle->queueDriver] - in SPDIF_TransferGetSendCountEDMA() 607 *count = (handle->transferSize[handle->queueDriver] - in SPDIF_TransferGetReceiveCountEDMA()
|
D | fsl_spdif_edma.h | 58 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer data and siz… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexio/i2s/ |
D | fsl_flexio_i2s.c | 727 handle->queueDriver = 0; in FLEXIO_I2S_TransferAbortSend() 750 handle->queueDriver = 0; in FLEXIO_I2S_TransferAbortReceive() 768 uint8_t queueDriver = handle->queueDriver; in FLEXIO_I2S_TransferGetSendCount() local 776 *count = (handle->transferSize[queueDriver] - handle->queue[queueDriver].dataSize); in FLEXIO_I2S_TransferGetSendCount() 796 uint8_t queueDriver = handle->queueDriver; in FLEXIO_I2S_TransferGetReceiveCount() local 804 *count = (handle->transferSize[queueDriver] - handle->queue[queueDriver].dataSize); in FLEXIO_I2S_TransferGetReceiveCount() 822 uint8_t *buffer = handle->queue[handle->queueDriver].data; in FLEXIO_I2S_TransferTxHandleIRQ() 832 (handle->queue[handle->queueDriver].data != NULL)) in FLEXIO_I2S_TransferTxHandleIRQ() 837 handle->queue[handle->queueDriver].dataSize -= dataSize; in FLEXIO_I2S_TransferTxHandleIRQ() 838 handle->queue[handle->queueDriver].data = in FLEXIO_I2S_TransferTxHandleIRQ() [all …]
|
D | fsl_flexio_i2s_dma.c | 65 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_TxDMACallback() 66 … flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_TxDMACallback() 73 if (flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver].data == NULL) in FLEXIO_I2S_TxDMACallback() 85 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_RxDMACallback() 86 … flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_RxDMACallback() 93 if (flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver].data == NULL) in FLEXIO_I2S_RxDMACallback() 389 *count = handle->transferSize[handle->queueDriver] - in FLEXIO_I2S_TransferGetSendCountDMA() 417 *count = handle->transferSize[handle->queueDriver] - in FLEXIO_I2S_TransferGetReceiveCountDMA()
|
D | fsl_flexio_i2s_edma.c | 71 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_TxEDMACallback() 72 … flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_TxEDMACallback() 79 if (flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver].data == NULL) in FLEXIO_I2S_TxEDMACallback() 91 …(void)memset(&flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver], 0, sizeof(flexio_i2s_transfe… in FLEXIO_I2S_RxEDMACallback() 92 … flexio_i2sHandle->queueDriver = (flexio_i2sHandle->queueDriver + 1U) % FLEXIO_I2S_XFER_QUEUE_SIZE; in FLEXIO_I2S_RxEDMACallback() 99 if (flexio_i2sHandle->queue[flexio_i2sHandle->queueDriver].data == NULL) in FLEXIO_I2S_RxEDMACallback() 410 *count = handle->transferSize[handle->queueDriver] - in FLEXIO_I2S_TransferGetSendCountEDMA() 439 *count = handle->transferSize[handle->queueDriver] - in FLEXIO_I2S_TransferGetReceiveCountEDMA()
|
D | fsl_flexio_i2s_dma.h | 48 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer… member
|
D | fsl_flexio_i2s_edma.h | 50 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sai/ |
D | fsl_sai_edma.c | 103 if (saiHandle->queueDriver + tcds > (uint32_t)SAI_XFER_QUEUE_SIZE) in SAI_TxEDMACallback() 105 (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, in SAI_TxEDMACallback() 106 … sizeof(sai_transfer_t) * ((uint32_t)SAI_XFER_QUEUE_SIZE - saiHandle->queueDriver)); in SAI_TxEDMACallback() 108 … sizeof(sai_transfer_t) * (saiHandle->queueDriver + tcds - (uint32_t)SAI_XFER_QUEUE_SIZE)); in SAI_TxEDMACallback() 112 … (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, sizeof(sai_transfer_t) * tcds); in SAI_TxEDMACallback() 114 …saiHandle->queueDriver = (uint8_t)((saiHandle->queueDriver + tcds) % (uint32_t)SAI_XFER_QUEUE_SIZE… in SAI_TxEDMACallback() 117 if (saiHandle->saiQueue[saiHandle->queueDriver].data == NULL) in SAI_TxEDMACallback() 141 if (saiHandle->queueDriver + tcds > (uint32_t)SAI_XFER_QUEUE_SIZE) in SAI_RxEDMACallback() 143 (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, in SAI_RxEDMACallback() 144 … sizeof(sai_transfer_t) * ((uint32_t)SAI_XFER_QUEUE_SIZE - saiHandle->queueDriver)); in SAI_RxEDMACallback() [all …]
|
D | fsl_sai_sdma.c | 95 (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TxSDMACallback() 96 saiHandle->queueDriver = (saiHandle->queueDriver + 1U) % SAI_XFER_QUEUE_SIZE; in SAI_TxSDMACallback() 105 if (saiHandle->saiQueue[saiHandle->queueDriver].data == NULL) in SAI_TxSDMACallback() 122 (void)memset(&saiHandle->saiQueue[saiHandle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_RxSDMACallback() 123 saiHandle->queueDriver = (saiHandle->queueDriver + 1U) % SAI_XFER_QUEUE_SIZE; in SAI_RxSDMACallback() 130 if (saiHandle->saiQueue[saiHandle->queueDriver].data == NULL) in SAI_RxSDMACallback() 552 (void)memset(&handle->saiQueue[handle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TransferAbortSendSDMA() 553 handle->queueDriver = (handle->queueDriver + 1U) % (uint8_t)SAI_XFER_QUEUE_SIZE; in SAI_TransferAbortSendSDMA() 578 handle->queueDriver = 0U; in SAI_TransferTerminateSendSDMA() 611 (void)memset(&handle->saiQueue[handle->queueDriver], 0, sizeof(sai_transfer_t)); in SAI_TransferAbortReceiveSDMA() [all …]
|
D | fsl_sai.c | 1888 uint32_t queueDriverIndex = handle->queueDriver; in SAI_TransferGetSendCount() 1916 uint32_t queueDriverIndex = handle->queueDriver; in SAI_TransferGetReceiveCount() 1956 handle->queueDriver = 0; in SAI_TransferAbortSend() 1986 handle->queueDriver = 0; in SAI_TransferAbortReceive() 2011 handle->queueDriver = 0U; in SAI_TransferTerminateSend() 2035 handle->queueDriver = 0U; in SAI_TransferTerminateReceive() 2048 uint8_t *buffer = handle->saiQueue[handle->queueDriver].data; in SAI_TransferTxHandleIRQ() 2072 size_t size = MIN((handle->saiQueue[handle->queueDriver].dataSize), in SAI_TransferTxHandleIRQ() 2080 handle->saiQueue[handle->queueDriver].dataSize -= size; in SAI_TransferTxHandleIRQ() 2081 handle->saiQueue[handle->queueDriver].data = (uint8_t *)((uintptr_t)buffer + size); in SAI_TransferTxHandleIRQ() [all …]
|
D | fsl_sai_sdma.h | 52 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer da… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/asrc/ |
D | fsl_asrc.c | 858 *count = handle->out.transferSamples[handle->out.queueDriver]; in ASRC_TransferGetConvertedCount() 882 handle->in.queueDriver = 0; in ASRC_TransferAbortConvert() 884 handle->out.queueDriver = 0; in ASRC_TransferAbortConvert() 945 if (handle->out.transferSamples[handle->out.queueDriver] != 0U) in ASRC_TransferHandleIRQ() 948 … (uint32_t *)(uint32_t)handle->out.asrcQueue[handle->out.queueDriver], in ASRC_TransferHandleIRQ() 950 handle->out.transferSamples[handle->out.queueDriver] -= handle->out.fifoThreshold; in ASRC_TransferHandleIRQ() 951 handle->out.asrcQueue[handle->out.queueDriver] = in ASRC_TransferHandleIRQ() 952 (uint8_t *)((uint32_t)handle->out.asrcQueue[handle->out.queueDriver] + in ASRC_TransferHandleIRQ() 960 uint32_t size = MIN((handle->in.transferSamples[handle->in.queueDriver]), in ASRC_TransferHandleIRQ() 964 … (uint32_t *)(uint32_t)handle->in.asrcQueue[handle->in.queueDriver], size, in ASRC_TransferHandleIRQ() [all …]
|
D | fsl_asrc_edma.c | 63 asrcInHandle->asrcQueue[asrcInHandle->queueDriver] = NULL; in ASRC_InEDMACallback() 64 …asrcInHandle->queueDriver = (asrcInHandle->queueDriver + 1U) % ASRC_XFER_… in ASRC_InEDMACallback() 67 if (asrcInHandle->asrcQueue[asrcInHandle->queueDriver] == NULL) in ASRC_InEDMACallback() 84 uint32_t queueDriverIndex = asrcOutHandle->queueDriver; in ASRC_OutEDMACallback() 89 …asrcOutHandle->queueDriver = (uint8_t)((queueDriverIndex + 1U) % ASRC_XFER_OUT_QUE… in ASRC_OutEDMACallback() 92 if (asrcOutHandle->asrcQueue[asrcOutHandle->queueDriver] == NULL) in ASRC_OutEDMACallback() 384 handle->in.asrcQueue[handle->in.queueDriver] = NULL; in ASRC_TransferInAbortEDMA() 385 …handle->in.queueDriver = (handle->in.queueDriver + 1U) % ASRC_XFER_QUEUE_SIZ… in ASRC_TransferInAbortEDMA() 408 handle->out.asrcQueue[handle->out.queueDriver] = NULL; in ASRC_TransferOutAbortEDMA() 409 …handle->out.queueDriver = (handle->out.queueDriver + 1U) % ASRC_XFER_QUEUE_… in ASRC_TransferOutAbortEDMA() [all …]
|
D | fsl_asrc_edma.h | 55 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer data and s… member 73 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer data and… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/esai/ |
D | fsl_esai.c | 1035 …*count = (handle->transferSize[handle->queueDriver] - handle->esaiQueue[handle->queueDriver].dataS… in ESAI_TransferGetSendCount() 1062 …*count = (handle->transferSize[handle->queueDriver] - handle->esaiQueue[handle->queueDriver].dataS… in ESAI_TransferGetReceiveCount() 1091 handle->queueDriver = 0; in ESAI_TransferAbortSend() 1118 handle->queueDriver = 0; in ESAI_TransferAbortReceive() 1132 uint8_t *buffer = handle->esaiQueue[handle->queueDriver].data; in ESAI_TransferTxHandleIRQ() 1139 size_t size = MIN((handle->esaiQueue[handle->queueDriver].dataSize), in ESAI_TransferTxHandleIRQ() 1146 handle->esaiQueue[handle->queueDriver].dataSize -= size; in ESAI_TransferTxHandleIRQ() 1147 handle->esaiQueue[handle->queueDriver].data = in ESAI_TransferTxHandleIRQ() 1148 (uint8_t *)((uint32_t)handle->esaiQueue[handle->queueDriver].data + size); in ESAI_TransferTxHandleIRQ() 1152 if (handle->esaiQueue[handle->queueDriver].dataSize == 0U) in ESAI_TransferTxHandleIRQ() [all …]
|
D | fsl_esai_edma.c | 71 (void)memset(&esaiHandle->esaiQueue[esaiHandle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_TxEDMACallback() 72 esaiHandle->queueDriver = (esaiHandle->queueDriver + 1U) % ESAI_XFER_QUEUE_SIZE; in ESAI_TxEDMACallback() 79 if (esaiHandle->esaiQueue[esaiHandle->queueDriver].data == NULL) in ESAI_TxEDMACallback() 91 (void)memset(&esaiHandle->esaiQueue[esaiHandle->queueDriver], 0, sizeof(esai_transfer_t)); in ESAI_RxEDMACallback() 92 esaiHandle->queueDriver = (esaiHandle->queueDriver + 1U) % ESAI_XFER_QUEUE_SIZE; in ESAI_RxEDMACallback() 99 if (esaiHandle->esaiQueue[esaiHandle->queueDriver].data == NULL) in ESAI_RxEDMACallback() 433 *count = (handle->transferSize[handle->queueDriver] - in ESAI_TransferGetSendCountEDMA() 462 *count = (handle->transferSize[handle->queueDriver] - in ESAI_TransferGetReceiveCountEDMA()
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/pdm/ |
D | fsl_pdm.c | 594 handle->queueDriver = 0; in PDM_TransferAbortReceive() 650 uint8_t size = (uint8_t)MIN((handle->pdmQueue[handle->queueDriver].dataSize), in PDM_TransferHandleIRQ() 654 (uint8_t *)(uint32_t)handle->pdmQueue[handle->queueDriver].data, in PDM_TransferHandleIRQ() 658 handle->pdmQueue[handle->queueDriver].dataSize -= size; in PDM_TransferHandleIRQ() 659 … handle->pdmQueue[handle->queueDriver].data = &(handle->pdmQueue[handle->queueDriver].data[size]); in PDM_TransferHandleIRQ() 663 if (handle->pdmQueue[handle->queueDriver].dataSize == 0U) in PDM_TransferHandleIRQ() 665 handle->pdmQueue[handle->queueDriver].data = NULL; in PDM_TransferHandleIRQ() 666 … handle->queueDriver = (handle->queueDriver + 1U) % PDM_XFER_QUEUE_SIZE; in PDM_TransferHandleIRQ() 674 if (handle->pdmQueue[handle->queueDriver].data == NULL) in PDM_TransferHandleIRQ()
|
D | fsl_pdm_sdma.c | 53 (void)memset(&pdmHandle->pdmQueue[pdmHandle->queueDriver], 0, sizeof(pdm_transfer_t)); in PDM_SDMACallback() 54 pdmHandle->queueDriver = (pdmHandle->queueDriver + 1U) % PDM_XFER_QUEUE_SIZE; in PDM_SDMACallback() 61 if (pdmHandle->pdmQueue[pdmHandle->queueDriver].data == NULL) in PDM_SDMACallback() 263 handle->queueDriver = 0U; in PDM_TransferTerminateReceiveSDMA()
|
D | fsl_pdm_sdma.h | 52 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer da… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/i2s/ |
D | fsl_i2s.c | 637 handle->queueDriver = 0U; in I2S_TxTransferAbort() 742 handle->queueDriver = 0U; in I2S_RxTransferAbort() 826 uint8_t queueDriverIndex = handle->queueDriver; in I2S_TxHandleIRQ() 948 handle->queueDriver = (queueDriverIndex + 1U) % I2S_NUM_BUFFERS; in I2S_TxHandleIRQ() 957 if (handle->i2sQueue[handle->queueDriver].dataSize == 0U) in I2S_TxHandleIRQ() 1035 uint8_t queueDriverIndex = handle->queueDriver; in I2S_RxHandleIRQ() 1156 handle->queueDriver = (queueDriverIndex + 1U) % I2S_NUM_BUFFERS; in I2S_RxHandleIRQ() 1164 if (handle->i2sQueue[handle->queueDriver].dataSize == 0U) in I2S_RxHandleIRQ()
|
D | fsl_i2s_dma.c | 307 handle->queueDriver = 0U; in I2S_TransferAbortDMA() 799 uint8_t queueDriverIndex = i2sHandle->queueDriver; in I2S_DMACallback() 823 i2sHandle->queueDriver = (queueDriverIndex + 1U) % I2S_NUM_BUFFERS; in I2S_DMACallback() 834 if (i2sHandle->i2sQueue[i2sHandle->queueDriver].dataSize == 0U) in I2S_DMACallback()
|
D | fsl_i2s_dma.h | 58 …volatile uint8_t queueDriver; /*!< Queue index of buffer actually used by the… member
|
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/easrc/ |
D | fsl_asrc_sdma.c | 101 asrcHandle->inDMAHandle.asrcQueue[asrcHandle->inDMAHandle.queueDriver] = NULL; in ASRC_InSDMACallback() 103 …asrcHandle->inDMAHandle.queueDriver = (asrcHandle->inDMAHandle.queueDriver + 1U) % ASRC_XFER_IN_QU… in ASRC_InSDMACallback() 105 if (asrcHandle->inDMAHandle.asrcQueue[asrcHandle->inDMAHandle.queueDriver] == NULL) in ASRC_InSDMACallback() 136 uint32_t queueDriverIndex = asrcHandle->outDMAHandle.queueDriver; in ASRC_OutSDMACallback() 141 …asrcHandle->outDMAHandle.queueDriver = (uint8_t)(queueDriverIndex + 1U) % ASRC_XFE… in ASRC_OutSDMACallback() 144 if (asrcHandle->outDMAHandle.asrcQueue[asrcHandle->outDMAHandle.queueDriver] == NULL) in ASRC_OutSDMACallback()
|
D | fsl_asrc_sdma.h | 69 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfe… member 88 …volatile uint8_t queueDriver; /*!< Index for driver to get the transfer data and… member
|