Searched refs:i_value (Results 1 – 2 of 2) sorted by relevance
438 WORD32 i_value; in xa_pcm_set_config_param() local447 i_value = *(WORD32 *)pv_value; in xa_pcm_set_config_param()455 d->sample_rate = (u32)i_value; in xa_pcm_set_config_param()460 XF_CHK_ERR(i_value == 16 || i_value == 24, XA_PCM_CONFIG_NONFATAL_RANGE); in xa_pcm_set_config_param()461 d->in_pcm_width = (u8)i_value; in xa_pcm_set_config_param()466 XF_CHK_ERR(i_value > 0 && i_value <= 8, XA_PCM_CONFIG_NONFATAL_RANGE); in xa_pcm_set_config_param()467 d->in_channels = (u8)i_value; in xa_pcm_set_config_param()473 XF_CHK_ERR(i_value == 16 || i_value == 24, XA_PCM_CONFIG_NONFATAL_RANGE); in xa_pcm_set_config_param()474 d->out_pcm_width = (u8)i_value; in xa_pcm_set_config_param()480 XF_CHK_ERR(i_value > 0 && i_value <= 8, XA_API_FATAL_INVALID_CMD_TYPE); in xa_pcm_set_config_param()[all …]
299 u32 i_value; in xa_mixer_set_config_param() local308 i_value = (u32) *(WORD32 *)pv_value; in xa_mixer_set_config_param()315 XF_CHK_ERR(i_value == 16, XA_MIXER_CONFIG_NONFATAL_RANGE); in xa_mixer_set_config_param()316 d->pcm_width = (u32)i_value; in xa_mixer_set_config_param()321 XF_CHK_ERR(i_value == 2, XA_MIXER_CONFIG_NONFATAL_RANGE); in xa_mixer_set_config_param()322 d->channels = (u32)i_value; in xa_mixer_set_config_param()327 d->sample_rate = (u32)i_value; in xa_mixer_set_config_param()