Searched refs:oparams (Results 1 – 1 of 1) sorted by relevance
3328 struct snd_pcm_hw_params_old *oparams) in snd_pcm_hw_convert_from_old_params() argument3333 params->flags = oparams->flags; in snd_pcm_hw_convert_from_old_params()3334 for (i = 0; i < ARRAY_SIZE(oparams->masks); i++) in snd_pcm_hw_convert_from_old_params()3335 params->masks[i].bits[0] = oparams->masks[i]; in snd_pcm_hw_convert_from_old_params()3336 memcpy(params->intervals, oparams->intervals, sizeof(oparams->intervals)); in snd_pcm_hw_convert_from_old_params()3337 params->rmask = __OLD_TO_NEW_MASK(oparams->rmask); in snd_pcm_hw_convert_from_old_params()3338 params->cmask = __OLD_TO_NEW_MASK(oparams->cmask); in snd_pcm_hw_convert_from_old_params()3339 params->info = oparams->info; in snd_pcm_hw_convert_from_old_params()3340 params->msbits = oparams->msbits; in snd_pcm_hw_convert_from_old_params()3341 params->rate_num = oparams->rate_num; in snd_pcm_hw_convert_from_old_params()[all …]