| /hal_nxp-latest/mcux/mcux-sdk/components/srtm/services/ |
| D | srtm_i2c_codec_adapter.c | 24 uint32_t srate; member 43 uint32_t srate) in SRTM_I2CCodecAdapter_SetParam() argument 46 …G_MESSAGE(SRTM_DEBUG_VERBOSE_INFO, "%s: %d. fmt %d, srate %d\r\n", __func__, index, format, srate); in SRTM_I2CCodecAdapter_SetParam() 55 if (handle->srate != srate || handle->format != format) in SRTM_I2CCodecAdapter_SetParam() 84 (void)CODEC_SetFormat(handle->driver, handle->config.mclk, srate, bitWidth); in SRTM_I2CCodecAdapter_SetParam() 85 handle->srate = srate; in SRTM_I2CCodecAdapter_SetParam() 146 handle->srate = 0; in SRTM_I2CCodecAdapter_Create()
|
| D | srtm_sai_sdma_adapter.c | 72 uint32_t srate; member 841 uint32_t srate) in SRTM_SaiSdmaAdapter_ReconfigSAI() argument 855 srate = srate / 2U; in SRTM_SaiSdmaAdapter_ReconfigSAI() 858 …if (((rtm->format != format) || (rtm->srate != srate)) && (cfg->extendConfig.audioDevConf != NULL)) in SRTM_SaiSdmaAdapter_ReconfigSAI() 860 …lk = cfg->extendConfig.audioDevConf((srtm_audio_format_type_t)format, srate); in SRTM_SaiSdmaAdapter_ReconfigSAI() 946 … SAI_TxSetBitClockRate(handle->sai, cfg->mclkConfig.mclkHz, paramRtm->srate, bitWidth, channels); in SRTM_SaiSdmaAdapter_SetFormat() 954 … SAI_RxSetBitClockRate(handle->sai, cfg->mclkConfig.mclkHz, paramRtm->srate, bitWidth, channels); in SRTM_SaiSdmaAdapter_SetFormat() 1052 if (thisRtm->srate == 0U) in SRTM_SaiSdmaAdapter_Start() 1114 …guardPeroids = (uint32_t)(((uint64_t)thisRtm->srate * thisRtm->bitWidth * channelNum * (*guardTime… in SRTM_SaiSdmaAdapter_Start() 1337 …r_t adapter, srtm_audio_dir_t dir, uint8_t index, uint8_t format, uint8_t channels, uint32_t srate) in SRTM_SaiSdmaAdapter_SetParam() argument [all …]
|
| D | srtm_audio_service.h | 104 uint32_t srate); 124 …_status_t (*setParam)(srtm_codec_adapter_t adapter, uint8_t index, uint8_t format, uint32_t srate); 145 uint32_t srate; member
|
| D | srtm_sai_edma_adapter.c | 67 uint32_t srate; member 715 SAI_TxSetBitClockRate(handle->sai, handle->txConfig.mclk, handle->txRtm.srate, bitWidth, in SRTM_SaiEdmaAdapter_SetConfig() 732 SAI_RxSetBitClockRate(handle->sai, handle->rxConfig.mclk, handle->rxRtm.srate, bitWidth, in SRTM_SaiEdmaAdapter_SetConfig() 822 if (thisRtm->srate == 0U) in SRTM_SaiEdmaAdapter_Start() 868 otherRtm->srate = thisRtm->srate; in SRTM_SaiEdmaAdapter_Start() 880 …(uint32_t)(((uint64_t)thisRtm->srate * (uint32_t)thisRtm->bitWidth * thisRtm->channels * (*guardTi… in SRTM_SaiEdmaAdapter_Start() 1100 …r_t adapter, srtm_audio_dir_t dir, uint8_t index, uint8_t format, uint8_t channels, uint32_t srate) in SRTM_SaiEdmaAdapter_SetParam() argument 1110 index, format, channels, srate); in SRTM_SaiEdmaAdapter_SetParam() 1129 rtm->srate = srate; in SRTM_SaiEdmaAdapter_SetParam()
|
| D | srtm_pdm_edma_adapter.c | 75 uint32_t srate; member 800 (void)PDM_SetSampleRateConfig(handle->pdm, handle->rxConfig.pdmSrcClk, rtm->srate); in SRTM_PdmEdmaAdapter_SetConfig() 895 if (thisRtm->srate == 0U) in SRTM_PdmEdmaAdapter_Start() 1055 …r_t adapter, srtm_audio_dir_t dir, uint8_t index, uint8_t format, uint8_t channels, uint32_t srate) in SRTM_PdmEdmaAdapter_SetParam() argument 1066 index, format, channels, srate); in SRTM_PdmEdmaAdapter_SetParam() 1086 …if (((rtm->format != format) || (rtm->srate != srate)) && (cfg->extendConfig.audioDevConf != NULL)) in SRTM_PdmEdmaAdapter_SetParam() 1088 …ndle->rxConfig.pdmSrcClk = cfg->extendConfig.audioDevConf((srtm_audio_format_type_t)format, srate); in SRTM_PdmEdmaAdapter_SetParam() 1104 rtm->srate = srate; in SRTM_PdmEdmaAdapter_SetParam()
|
| D | srtm_pdm_sdma_adapter.c | 69 uint32_t srate; member 714 (void)PDM_SetSampleRateConfig(handle->pdm, handle->rxConfig.pdmSrcClk, rtm->srate); in SRTM_PdmSdmaAdapter_SetConfig() 797 if (thisRtm->srate == 0U) in SRTM_PdmSdmaAdapter_Start() 938 …r_t adapter, srtm_audio_dir_t dir, uint8_t index, uint8_t format, uint8_t channels, uint32_t srate) in SRTM_PdmSdmaAdapter_SetParam() argument 949 index, format, channels, srate); in SRTM_PdmSdmaAdapter_SetParam() 969 …if (((rtm->format != format) || (rtm->srate != srate)) && (cfg->extendConfig.audioDevConf != NULL)) in SRTM_PdmSdmaAdapter_SetParam() 971 …ndle->rxConfig.pdmSrcClk = cfg->extendConfig.audioDevConf((srtm_audio_format_type_t)format, srate); in SRTM_PdmSdmaAdapter_SetParam() 987 rtm->srate = srate; in SRTM_PdmSdmaAdapter_SetParam()
|
| D | srtm_audio_service.c | 377 audioReq->srate); in SRTM_AudioService_Request() 380 … codec->setParam(codec, iface->index, audioReq->format, audioReq->srate) : in SRTM_AudioService_Request() 516 audioReq->srate); in SRTM_AudioService_Request() 519 … codec->setParam(codec, iface->index, audioReq->format, audioReq->srate) : in SRTM_AudioService_Request()
|
| D | srtm_wm8524_adapter.c | 40 uint32_t srate) in SRTM_CodecAdapter_SetParam() argument
|
| D | srtm_sai_sdma_adapter.h | 43 typedef uint32_t (*aud_conf_dev)(srtm_audio_format_type_t format, uint32_t srate);
|
| D | srtm_pdm_sdma_adapter.h | 43 typedef uint32_t (*pdm_dev_conf)(srtm_audio_format_type_t format, uint32_t srate);
|
| D | srtm_pdm_edma_adapter.h | 52 typedef uint32_t (*pdm_dev_conf)(srtm_audio_format_type_t format, uint32_t srate);
|