Lines Matching refs:private

197 			struct sof_dai_private_data *private = dai->private;  in ssp_dai_config_pcm_params_match()  local
199 config = &private->dai_config[i]; in ssp_dai_config_pcm_params_match()
218 struct sof_dai_private_data *private; in sof_ipc3_pcm_dai_link_fixup() local
227 private = dai->private; in sof_ipc3_pcm_dai_link_fixup()
228 if (!private) { in sof_ipc3_pcm_dai_link_fixup()
237 switch (private->comp_dai->config.frame_fmt) { in sof_ipc3_pcm_dai_link_fixup()
253 switch (private->dai_config->type) { 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()
260 channels->min = private->dai_config[dai->current_config].ssp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
261 channels->max = private->dai_config[dai->current_config].ssp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
270 if (private->comp_dai->config.frame_fmt == SOF_IPC_FRAME_S24_4LE) { in sof_ipc3_pcm_dai_link_fixup()
272 private->comp_dai->config.frame_fmt, in sof_ipc3_pcm_dai_link_fixup()
273 private->dai_config->type); in sof_ipc3_pcm_dai_link_fixup()
293 channels->min = private->dai_config->alh.channels; in sof_ipc3_pcm_dai_link_fixup()
294 channels->max = private->dai_config->alh.channels; 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()
299 channels->min = private->dai_config->esai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
300 channels->max = private->dai_config->esai.tdm_slots; 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()
309 channels->min = private->dai_config->afe.channels; in sof_ipc3_pcm_dai_link_fixup()
310 channels->max = private->dai_config->afe.channels; in sof_ipc3_pcm_dai_link_fixup()
314 switch (private->dai_config->afe.format) { 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()
336 channels->min = private->dai_config->sai.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
337 channels->max = private->dai_config->sai.tdm_slots; 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()
346 channels->min = private->dai_config->acpbt.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
347 channels->max = private->dai_config->acpbt.tdm_slots; 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()
358 channels->min = private->dai_config->acpsp.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
359 channels->max = private->dai_config->acpsp.tdm_slots; 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()
370 channels->min = private->dai_config->acphs.tdm_slots; in sof_ipc3_pcm_dai_link_fixup()
371 channels->max = private->dai_config->acphs.tdm_slots; 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()
379 channels->min = private->dai_config->acpdmic.pdm_ch; in sof_ipc3_pcm_dai_link_fixup()
380 channels->max = private->dai_config->acpdmic.pdm_ch; in sof_ipc3_pcm_dai_link_fixup()
388 dev_err(component->dev, "Invalid DAI type %d\n", private->dai_config->type); in sof_ipc3_pcm_dai_link_fixup()