Home
last modified time | relevance | path

Searched refs:available_fmt (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/sound/soc/sof/
Dipc4-topology.c256 struct sof_ipc4_available_audio_format *available_fmt, in sof_ipc4_get_audio_fmt() argument
263 ret = sof_update_ipc_object(scomp, available_fmt, in sof_ipc4_get_audio_fmt()
265 swidget->num_tuples, sizeof(*available_fmt), 1); in sof_ipc4_get_audio_fmt()
271 if (!available_fmt->num_input_formats && !available_fmt->num_output_formats) { in sof_ipc4_get_audio_fmt()
278 available_fmt->num_input_formats, available_fmt->num_output_formats); in sof_ipc4_get_audio_fmt()
292 if (available_fmt->num_input_formats) { in sof_ipc4_get_audio_fmt()
293 in_format = kcalloc(available_fmt->num_input_formats, in sof_ipc4_get_audio_fmt()
297 available_fmt->input_pin_fmts = in_format; in sof_ipc4_get_audio_fmt()
302 available_fmt->num_input_formats); in sof_ipc4_get_audio_fmt()
310 available_fmt->num_input_formats); in sof_ipc4_get_audio_fmt()
[all …]
Dipc4-topology.h311 struct sof_ipc4_available_audio_format available_fmt; member
400 struct sof_ipc4_available_audio_format available_fmt; member
412 struct sof_ipc4_available_audio_format available_fmt; member
434 struct sof_ipc4_available_audio_format available_fmt; member
471 struct sof_ipc4_available_audio_format available_fmt; member
Dipc4-pcm.c597 struct sof_ipc4_pin_format *pin_fmts = ipc4_copier->available_fmt.input_pin_fmts; in sof_ipc4_pcm_dai_link_fixup_rate()
599 int num_input_formats = ipc4_copier->available_fmt.num_input_formats; in sof_ipc4_pcm_dai_link_fixup_rate()
674 struct sof_ipc4_available_audio_format *available_fmt = in sof_ipc4_pcm_dai_link_fixup() local
675 &ipc4_copier->available_fmt; in sof_ipc4_pcm_dai_link_fixup()
686 available_fmt->output_pin_fmts, in sof_ipc4_pcm_dai_link_fixup()
687 available_fmt->num_output_formats)) { in sof_ipc4_pcm_dai_link_fixup()
688 ipc4_fmt = &available_fmt->output_pin_fmts->audio_fmt; in sof_ipc4_pcm_dai_link_fixup()
693 available_fmt->input_pin_fmts, in sof_ipc4_pcm_dai_link_fixup()
694 available_fmt->num_input_formats)) { in sof_ipc4_pcm_dai_link_fixup()
695 ipc4_fmt = &available_fmt->input_pin_fmts->audio_fmt; in sof_ipc4_pcm_dai_link_fixup()