Home
last modified time | relevance | path

Searched refs:i2slFsSel (Results 1 – 6 of 6) sorted by relevance

/device/soc/hisilicon/common/platform/i2s/
Di2s_codec_hi35xx.c92 int32_t AudioCodecSetCfgI2slFsSel(uint16_t *pI2slFsSel, enum I2slFsSel i2slFsSel) in AudioCodecSetCfgI2slFsSel() argument
99 switch (i2slFsSel) { in AudioCodecSetCfgI2slFsSel()
117 I2S_PRINT_LOG_ERR("%s: error i2slFsSel [%d]", __func__, i2slFsSel); in AudioCodecSetCfgI2slFsSel()
126 int32_t AudioCodecGetCfgI2slFsSel(uint16_t i2slFsSel, enum I2slFsSel *pEI2slFsSel) in AudioCodecGetCfgI2slFsSel() argument
133 switch (i2slFsSel) { in AudioCodecGetCfgI2slFsSel()
151 I2S_PRINT_LOG_ERR("%s: error i2slFsSel [%d]", __func__, i2slFsSel); in AudioCodecGetCfgI2slFsSel()
169 value |= (i2sCfg->i2slFsSel << I2S1_FS_SEL_SHIFT); in AudioCodecSetI2slFsSel()
245 i2sCfg->i2slFsSel, sampleRate, i2sCfg->writeChannel); in Hi35xxSetAudioCodec()
Di2s_codec_hi35xx.h138 int32_t AudioCodecSetCfgI2slFsSel(uint16_t *pI2slFsSel, enum I2slFsSel i2slFsSel);
139 int32_t AudioCodecGetCfgI2slFsSel(uint16_t i2slFsSel, enum I2slFsSel *pEI2slFsSel);
Di2s_hi35xx.c197 AudioCodecGetCfgI2slFsSel(i2sCfg->i2slFsSel, &cfg->i2slFsSel); in Hi35xxI2sGetCfg()
206 cfg->writeChannel, cfg->i2slFsSel, cfg->mclk, cfg->bclk, cfg->sampleRate, in Hi35xxI2sGetCfg()
224 cfg->writeChannel, cfg->i2slFsSel, cfg->mclk, cfg->bclk, cfg->sampleRate, in Hi35xxI2sSetCfg()
229 if (AudioCodecSetCfgI2slFsSel(&i2sCfg->i2slFsSel, cfg->i2slFsSel) != HDF_SUCCESS) { in Hi35xxI2sSetCfg()
262 CfgSetI2sCrgCfg000(i2sCfg, cfg->i2slFsSel, cfg->sampleRate); in Hi35xxI2sSetCfg()
267 CfgSetI2sCrgCfg008(i2sCfg, cfg->i2slFsSel, cfg->sampleRate); in Hi35xxI2sSetCfg()
Di2s_aiao_hi35xx.c258 void CfgSetI2sCrgCfg000(const struct I2sConfigInfo *i2sCfg, enum I2slFsSel i2slFsSel, enum I2sSampl… in CfgSetI2sCrgCfg000() argument
266 …I2S_PRINT_LOG_DBG("%s:i2slFsSel[0x%d], sampleRate[0x%d], feq [0x%d]", __func__, i2slFsSel, sampleR… in CfgSetI2sCrgCfg000()
268 if (i2slFsSel == I2SL_FS_SEL_256_FS) { in CfgSetI2sCrgCfg000()
270 } else if (i2slFsSel == I2SL_FS_SEL_320_FS) { in CfgSetI2sCrgCfg000()
347 void CfgSetI2sCrgCfg008(const struct I2sConfigInfo *i2sCfg, enum I2slFsSel i2slFsSel, enum I2sSampl… in CfgSetI2sCrgCfg008() argument
355 …I2S_PRINT_LOG_DBG("%s:i2slFsSel[0x%d], sampleRate[0x%d], feq [0x%d]", __func__, i2slFsSel, sampleR… in CfgSetI2sCrgCfg008()
357 if (i2slFsSel == I2SL_FS_SEL_256_FS) { in CfgSetI2sCrgCfg008()
359 } else if (i2slFsSel == I2SL_FS_SEL_320_FS) { in CfgSetI2sCrgCfg008()
Di2s_aiao_hi35xx.h226 void CfgSetI2sCrgCfg000(const struct I2sConfigInfo *i2sCfg, enum I2slFsSel i2slFsSel, enum I2sSampl…
229 void CfgSetI2sCrgCfg008(const struct I2sConfigInfo *i2sCfg, enum I2slFsSel i2slFsSel, enum I2sSampl…
Di2s_hi35xx.h126 uint16_t i2slFsSel; member