Lines Matching refs:context
119 ASRC_Type *base, asrc_context_t context, uint32_t *outAddr, uint32_t outWidth, uint32_t size) in ASRC_ReadFIFORemainedSampleSDMA() argument
127 (void)ASRC_ReadFIFORemainedSample(base, context, addr, outWidth, 1U); in ASRC_ReadFIFORemainedSampleSDMA()
150 privHandle->base, asrcHandle->context, asrcHandle->outDMAHandle.nonAlignAddr, in ASRC_OutSDMACallback()
187 asrc_context_t context, in ASRC_TransferInCreateHandleSDMA() argument
206 handle->context = context; in ASRC_TransferInCreateHandleSDMA()
209 s_sdmaPrivateHandle[instance][context].base = base; in ASRC_TransferInCreateHandleSDMA()
210 s_sdmaPrivateHandle[instance][context].handle = handle; in ASRC_TransferInCreateHandleSDMA()
214 SDMA_SetCallback(dmaHandle, ASRC_InSDMACallback, &s_sdmaPrivateHandle[instance][context]); in ASRC_TransferInCreateHandleSDMA()
237 asrc_context_t context, in ASRC_TransferOutCreateHandleSDMA() argument
257 handle->context = context; in ASRC_TransferOutCreateHandleSDMA()
259 s_sdmaPrivateHandle[instance][context].base = base; in ASRC_TransferOutCreateHandleSDMA()
260 s_sdmaPrivateHandle[instance][context].handle = handle; in ASRC_TransferOutCreateHandleSDMA()
263 SDMA_SetCallback(dmaHandle, ASRC_OutSDMACallback, &s_sdmaPrivateHandle[instance][context]); in ASRC_TransferOutCreateHandleSDMA()
281 if (ASRC_SetContextConfig(base, handle->context, asrcConfig) != kStatus_Success) in ASRC_TransferSetContextConfigSDMA()
317 uint32_t asrcOutAddr = ASRC_GetReadContextFifoAddr(base, handle->context); in ASRC_TransferSubmitOutM2MSDMA()
416 ASRC_EnableContextOutDMA(base, handle->context, true); in ASRC_TransferSubmitOutM2MSDMA()
439 uint32_t asrcOutAddr = ASRC_GetReadContextFifoAddr(base, handle->context); in ASRC_TransferOutSDMA()
493 ASRC_EnableContextOutDMA(base, handle->context, true); in ASRC_TransferOutSDMA()
520 uint32_t asrcInAddr = ASRC_GetWriteContextFifoAddr(base, handle->context); in ASRC_TransferInSDMA()
583 ASRC_EnableContextInDMA(base, handle->context, true); in ASRC_TransferInSDMA()
586 ASRC_EnableContextRun(base, handle->context, true); in ASRC_TransferInSDMA()
661 ASRC_EnableContextRunStop(base, handle->context, true); in ASRC_TransferAbortInSDMA()
685 ASRC_EnableContextOutDMA(base, handle->context, false); in ASRC_TransferAbortOutSDMA()
687 ASRC_EnableContextRun(base, handle->context, false); in ASRC_TransferAbortOutSDMA()
688 ASRC_EnableContextRunStop(base, handle->context, false); in ASRC_TransferAbortOutSDMA()