Home
last modified time | relevance | path

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

/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/flexcomm/i2s/
Dfsl_i2s.c826 uint8_t queueDriverIndex = handle->queueDriver; in I2S_TxHandleIRQ() local
827 uint32_t dataAddr = (uint32_t)handle->i2sQueue[queueDriverIndex].data; in I2S_TxHandleIRQ()
828 uint32_t dataSize = handle->i2sQueue[queueDriverIndex].dataSize; in I2S_TxHandleIRQ()
946 handle->i2sQueue[queueDriverIndex].dataSize = 0U; in I2S_TxHandleIRQ()
948 handle->queueDriver = (queueDriverIndex + 1U) % I2S_NUM_BUFFERS; in I2S_TxHandleIRQ()
966 handle->i2sQueue[queueDriverIndex].dataSize = dataSize; in I2S_TxHandleIRQ()
967 handle->i2sQueue[queueDriverIndex].data = (uint8_t *)dataAddr; in I2S_TxHandleIRQ()
1035 uint8_t queueDriverIndex = handle->queueDriver; in I2S_RxHandleIRQ() local
1036 uint32_t dataAddr = (uint32_t)handle->i2sQueue[queueDriverIndex].data; in I2S_RxHandleIRQ()
1037 uint32_t dataSize = handle->i2sQueue[queueDriverIndex].dataSize; in I2S_RxHandleIRQ()
[all …]
Dfsl_i2s_dma.c799 uint8_t queueDriverIndex = i2sHandle->queueDriver; in I2S_DMACallback() local
801 uint32_t queueDataAddr = (uint32_t)i2sHandle->i2sQueue[queueDriverIndex].data; in I2S_DMACallback()
812 i2sHandle->i2sQueue[queueDriverIndex].dataSize -= enqueueBytes; in I2S_DMACallback()
813 …i2sHandle->i2sQueue[queueDriverIndex].data = (uint8_t *)(queueDataAddr + enqu… in I2S_DMACallback()
819 if (i2sHandle->i2sQueue[queueDriverIndex].dataSize == 0U) in I2S_DMACallback()
822 i2sHandle->i2sQueue[queueDriverIndex].data = NULL; in I2S_DMACallback()
823 i2sHandle->queueDriver = (queueDriverIndex + 1U) % I2S_NUM_BUFFERS; in I2S_DMACallback()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/asrc/
Dfsl_asrc_edma.c84 uint32_t queueDriverIndex = asrcOutHandle->queueDriver; in ASRC_OutEDMACallback() local
88 asrcOutHandle->asrcQueue[queueDriverIndex] = NULL; in ASRC_OutEDMACallback()
89 …asrcOutHandle->queueDriver = (uint8_t)((queueDriverIndex + 1U) % ASRC_XFER_OUT_QUE… in ASRC_OutEDMACallback()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/easrc/
Dfsl_asrc_sdma.c136 uint32_t queueDriverIndex = asrcHandle->outDMAHandle.queueDriver; in ASRC_OutSDMACallback() local
140 asrcHandle->outDMAHandle.asrcQueue[queueDriverIndex] = NULL; in ASRC_OutSDMACallback()
141 …asrcHandle->outDMAHandle.queueDriver = (uint8_t)(queueDriverIndex + 1U) % ASRC_XFE… in ASRC_OutSDMACallback()
/hal_nxp-3.7.0/mcux/mcux-sdk/drivers/sai/
Dfsl_sai.c1888 uint32_t queueDriverIndex = handle->queueDriver; in SAI_TransferGetSendCount() local
1896 … *count = (handle->transferSize[queueDriverIndex] - handle->saiQueue[queueDriverIndex].dataSize); in SAI_TransferGetSendCount()
1916 uint32_t queueDriverIndex = handle->queueDriver; in SAI_TransferGetReceiveCount() local
1924 … *count = (handle->transferSize[queueDriverIndex] - handle->saiQueue[queueDriverIndex].dataSize); in SAI_TransferGetReceiveCount()