Lines Matching full:rate
72 pcm.params.rate = params_rate(params); in sof_ipc3_pcm_hw_params()
215 struct snd_interval *rate = hw_param_interval(params, SNDRV_PCM_HW_PARAM_RATE); in sof_ipc3_pcm_dai_link_fixup() local
252 /* read rate and channels from topology */ in sof_ipc3_pcm_dai_link_fixup()
258 rate->min = private->dai_config[dai->current_config].ssp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
259 rate->max = private->dai_config[dai->current_config].ssp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
263 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
297 rate->min = private->dai_config->esai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
298 rate->max = private->dai_config->esai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
302 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
307 rate->min = private->dai_config->afe.rate; in sof_ipc3_pcm_dai_link_fixup()
308 rate->max = private->dai_config->afe.rate; in sof_ipc3_pcm_dai_link_fixup()
329 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
334 rate->min = private->dai_config->sai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
335 rate->max = private->dai_config->sai.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
339 dev_dbg(component->dev, "rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
344 rate->min = private->dai_config->acpbt.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
345 rate->max = private->dai_config->acpbt.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
350 "AMD_BT rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
356 rate->min = private->dai_config->acpsp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
357 rate->max = private->dai_config->acpsp.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
362 "AMD_SP rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
368 rate->min = private->dai_config->acphs.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
369 rate->max = private->dai_config->acphs.fsync_rate; in sof_ipc3_pcm_dai_link_fixup()
374 "AMD_HS channel_max: %d rate_max: %d\n", channels->max, rate->max); in sof_ipc3_pcm_dai_link_fixup()
377 rate->min = private->dai_config->acpdmic.pdm_rate; in sof_ipc3_pcm_dai_link_fixup()
378 rate->max = private->dai_config->acpdmic.pdm_rate; in sof_ipc3_pcm_dai_link_fixup()
383 "AMD_DMIC rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
388 rate->min = private->dai_config->micfil.pdm_rate; in sof_ipc3_pcm_dai_link_fixup()
389 rate->max = private->dai_config->micfil.pdm_rate; in sof_ipc3_pcm_dai_link_fixup()
394 "MICFIL PDM rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()
413 rate->min = private->dai_config->acp_sdw.rate; in sof_ipc3_pcm_dai_link_fixup()
414 rate->max = private->dai_config->acp_sdw.rate; in sof_ipc3_pcm_dai_link_fixup()
419 "AMD_SDW rate_min: %d rate_max: %d\n", rate->min, rate->max); in sof_ipc3_pcm_dai_link_fixup()