Lines Matching refs:out
83 asrc_out_edma_handle_t *asrcOutHandle = &(privHandle->handle->out); in ASRC_OutEDMACallback()
177 (void)memset(&handle->out, 0, sizeof(asrc_out_edma_handle_t)); in ASRC_TransferOutCreateHandleEDMA()
179 handle->out.outDmaHandle = outDmaHandle; in ASRC_TransferOutCreateHandleEDMA()
184 handle->out.state = kStatus_ASRCIdle; in ASRC_TransferOutCreateHandleEDMA()
186 handle->out.peripheralConfig = periphConfig; in ASRC_TransferOutCreateHandleEDMA()
192 …EDMA_InstallTCDMemory(outDmaHandle, (edma_tcd_t *)(STCD_ADDR(handle->out.tcd)), ASRC_XFER_OUT_QUEU… in ASRC_TransferOutCreateHandleEDMA()
222 …handle->out.fifoThreshold = (asrcConfig->outFifoThreshold) * (uint32_t)asrcConfig->audioDataChanne… in ASRC_TransferSetChannelPairConfigEDMA()
223 …(void)ASRC_MapSamplesWidth(base, handle->channelPair, &handle->in.sampleWidth, &handle->out.sample… in ASRC_TransferSetChannelPairConfigEDMA()
246 return outputSize - outputSize % handle->out.fifoThreshold; in ASRC_GetOutSamplesSizeEDMA()
261 if (handle->out.asrcQueue[handle->out.queueUser] != NULL) in ASRC_TransferOutSubmitEDMA()
266 if (handle->out.peripheralConfig != NULL) in ASRC_TransferOutSubmitEDMA()
271 if (handle->out.asrcQueue[handle->out.queueUser] != NULL) in ASRC_TransferOutSubmitEDMA()
276 handle->out.asrcQueue[handle->out.queueUser] = outDataAddr; in ASRC_TransferOutSubmitEDMA()
277 handle->out.transferSize[handle->out.queueUser] = outDataSize; in ASRC_TransferOutSubmitEDMA()
278 …handle->out.queueUser = (handle->out.queueUser + 1U) % ASRC_XFER_OUT_QUE… in ASRC_TransferOutSubmitEDMA()
280 …A_PrepareTransfer(&config, (uint32_t *)outAddr, handle->out.sampleWidth, outDataAddr, handle->out.… in ASRC_TransferOutSubmitEDMA()
281 handle->out.fifoThreshold * handle->out.sampleWidth, outDataSize, type); in ASRC_TransferOutSubmitEDMA()
283 if (handle->out.state != (uint32_t)kStatus_ASRCBusy) in ASRC_TransferOutSubmitEDMA()
285 (void)EDMA_SubmitTransfer(handle->out.outDmaHandle, &config); in ASRC_TransferOutSubmitEDMA()
287 EDMA_StartTransfer(handle->out.outDmaHandle); in ASRC_TransferOutSubmitEDMA()
289 …if ((handle->out.peripheralConfig != NULL) && (handle->out.peripheralConfig->startPeripheral != NU… in ASRC_TransferOutSubmitEDMA()
291 handle->out.peripheralConfig->startPeripheral(true); in ASRC_TransferOutSubmitEDMA()
405 EDMA_AbortTransfer(handle->out.outDmaHandle); in ASRC_TransferOutAbortEDMA()
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()
412 handle->out.state = kStatus_ASRCIdle; in ASRC_TransferOutAbortEDMA()
460 …if ((handle->out.peripheralConfig != NULL) && (handle->out.peripheralConfig->startPeripheral != NU… in ASRC_TransferOutTerminalEDMA()
462 handle->out.peripheralConfig->startPeripheral(false); in ASRC_TransferOutTerminalEDMA()
465 (void)memset(handle->out.tcd, 0, sizeof(handle->out.tcd)); in ASRC_TransferOutTerminalEDMA()
466 (void)memset(handle->out.asrcQueue, 0, sizeof(handle->out.asrcQueue)); in ASRC_TransferOutTerminalEDMA()
467 (void)memset(handle->out.transferSize, 0, sizeof(handle->out.transferSize)); in ASRC_TransferOutTerminalEDMA()
468 handle->out.queueUser = 0U; in ASRC_TransferOutTerminalEDMA()
469 handle->out.queueDriver = 0U; in ASRC_TransferOutTerminalEDMA()