Home
last modified time | relevance | path

Searched refs:rxConfig (Results 1 – 9 of 9) sorted by relevance

/hal_nxp-latest/mcux/mcux-sdk/components/srtm/services/
Dsrtm_sai_edma_adapter.c102 srtm_sai_edma_config_t rxConfig; member
677 EDMA_CreateHandle(&handle->rxDmaHandle, handle->dma, handle->rxConfig.dmaChannel); in SRTM_SaiEdmaAdapter_InitSAI()
724 handle->rxConfig.config.frameSync.frameSyncWidth = bitWidth; in SRTM_SaiEdmaAdapter_SetConfig()
725 handle->rxConfig.config.serialData.dataWord0Length = bitWidth; in SRTM_SaiEdmaAdapter_SetConfig()
726 handle->rxConfig.config.serialData.dataWordLength = bitWidth; in SRTM_SaiEdmaAdapter_SetConfig()
727 handle->rxConfig.config.serialData.dataWordNLength = bitWidth; in SRTM_SaiEdmaAdapter_SetConfig()
728 handle->rxConfig.config.serialData.dataFirstBitShifted = (uint8_t)handle->rxRtm.bitWidth; in SRTM_SaiEdmaAdapter_SetConfig()
730 … SAI_TransferRxSetConfigEDMA(handle->sai, &handle->rxRtm.saiHandle, &handle->rxConfig.config); in SRTM_SaiEdmaAdapter_SetConfig()
732 SAI_RxSetBitClockRate(handle->sai, handle->rxConfig.mclk, handle->rxRtm.srate, bitWidth, in SRTM_SaiEdmaAdapter_SetConfig()
776 …uint32_t *threshold = dir == SRTM_AudioDirTx ? &handle->txConfig.threshold : &handle->rxConfig.thr… in SRTM_SaiEdmaAdapter_Start()
[all …]
Dsrtm_sai_sdma_adapter.c113 srtm_sai_sdma_config_t rxConfig; member
816 …_CreateHandle(&handle->rxDmaHandle, handle->dma, handle->rxConfig.dmaChannel, &handle->rxConfig.rx… in SRTM_SaiSdmaAdapter_InitSAI()
817 handle->rxDmaHandle.priority = handle->rxConfig.ChannelPriority; in SRTM_SaiSdmaAdapter_InitSAI()
819 &handle->rxDmaHandle, handle->rxConfig.eventSource); in SRTM_SaiSdmaAdapter_InitSAI()
846 srtm_sai_sdma_config_t *cfg = dir == SRTM_AudioDirTx ? &handle->txConfig : &handle->rxConfig; in SRTM_SaiSdmaAdapter_ReconfigSAI()
869 srtm_sai_sdma_config_t *cfg = dir == SRTM_AudioDirTx ? &handle->txConfig : &handle->rxConfig; in SRTM_SaiSdmaAdapter_SetFormat()
889 …paramRtm = (sync && (handle->rxConfig.config.syncMode == kSAI_ModeAsync) && handle->rxRtm.paramSet… in SRTM_SaiSdmaAdapter_SetFormat()
965 … srtm_sai_sdma_config_t *thisCfg = dir == SRTM_AudioDirTx ? &handle->txConfig : &handle->rxConfig; in SRTM_SaiSdmaAdapter_Open()
1007 …uint32_t *threshold = dir == SRTM_AudioDirTx ? &handle->txConfig.threshold : &handle->rxConfig.thr… in SRTM_SaiSdmaAdapter_Start()
1008 …uint32_t *guardTime = dir == SRTM_AudioDirTx ? &handle->txConfig.guardTime : &handle->rxConfig.gua… in SRTM_SaiSdmaAdapter_Start()
[all …]
Dsrtm_pdm_sdma_adapter.c110 srtm_pdm_sdma_config_t rxConfig; member
691 PDM_Init(handle->pdm, (const pdm_config_t *)(&handle->rxConfig.config)); in SRTM_PdmSdmaAdapter_InitPDM()
693 …_CreateHandle(&handle->rxDmaHandle, handle->dma, handle->rxConfig.dmaChannel, &handle->rxConfig.rx… in SRTM_PdmSdmaAdapter_InitPDM()
695 handle->rxConfig.channelPriority; /* The priority will be set in SDMA_StartTransfer. */ in SRTM_PdmSdmaAdapter_InitPDM()
698 &handle->rxDmaHandle, handle->rxConfig.eventSource); in SRTM_PdmSdmaAdapter_InitPDM()
711 PDM_SetChannelConfigSDMA(handle->pdm, &rtm->pdmHandle, ch, &handle->rxConfig.channelConfig); in SRTM_PdmSdmaAdapter_SetConfig()
714 (void)PDM_SetSampleRateConfig(handle->pdm, handle->rxConfig.pdmSrcClk, rtm->srate); in SRTM_PdmSdmaAdapter_SetConfig()
778 srtm_pdm_sdma_config_t *thisCfg = &handle->rxConfig; in SRTM_PdmSdmaAdapter_Start()
840 srtm_pdm_sdma_config_t *thisCfg = &handle->rxConfig; in SRTM_PdmSdmaAdapter_End()
942 srtm_pdm_sdma_config_t *cfg = &handle->rxConfig; in SRTM_PdmSdmaAdapter_SetParam()
[all …]
Dsrtm_pdm_edma_adapter.c116 srtm_pdm_edma_config_t rxConfig; member
778 PDM_Init(handle->pdm, (const pdm_config_t *)(&handle->rxConfig.config)); in SRTM_PdmEdmaAdapter_InitPDM()
780 EDMA_CreateHandle(&handle->rxDmaHandle, handle->dma, handle->rxConfig.dmaChannel); in SRTM_PdmEdmaAdapter_InitPDM()
797 …PDM_TransferSetChannelConfigEDMA(handle->pdm, &rtm->pdmHandle, ch, &handle->rxConfig.channelConfig… in SRTM_PdmEdmaAdapter_SetConfig()
800 (void)PDM_SetSampleRateConfig(handle->pdm, handle->rxConfig.pdmSrcClk, rtm->srate); in SRTM_PdmEdmaAdapter_SetConfig()
873 srtm_pdm_edma_config_t *thisCfg = &handle->rxConfig; in SRTM_PdmEdmaAdapter_Start()
957 srtm_pdm_edma_config_t *thisCfg = &handle->rxConfig; in SRTM_PdmEdmaAdapter_End()
1059 srtm_pdm_edma_config_t *cfg = &handle->rxConfig; in SRTM_PdmEdmaAdapter_SetParam()
1088 …handle->rxConfig.pdmSrcClk = cfg->extendConfig.audioDevConf((srtm_audio_format_type_t)format, srat… in SRTM_PdmEdmaAdapter_SetParam()
1168 srtm_pdm_edma_config_t *thisCfg = &handle->rxConfig; in SRTM_PdmEdmaAdapter_Suspend()
[all …]
Dsrtm_sai_edma_adapter.h99 srtm_sai_edma_config_t *rxConfig);
Dsrtm_sai_sdma_adapter.h112 srtm_sai_sdma_config_t *rxConfig);
Dsrtm_pdm_sdma_adapter.h135 …r_t SRTM_PdmSdmaAdapter_Create(PDM_Type *pdm, SDMAARM_Type *dma, srtm_pdm_sdma_config_t *rxConfig);
Dsrtm_pdm_edma_adapter.h153 …pter_t SRTM_PdmEdmaAdapter_Create(PDM_Type *pdm, EDMA_Type *dma, srtm_pdm_edma_config_t *rxConfig);
/hal_nxp-latest/mcux/mcux-sdk/drivers/i3c/
Dfsl_i3c_edma.c868 edma_transfer_config_t rxConfig; in I3C_SlavePrepareRxEDMA() local
880 EDMA_PrepareTransfer(&rxConfig, (void *)rxFifoBase, 1, xfer->rxData, 1, 1, dataSize, in I3C_SlavePrepareRxEDMA()
882 (void)EDMA_SubmitTransfer(handle->rxDmaHandle, &rxConfig); in I3C_SlavePrepareRxEDMA()