Home
last modified time | relevance | path

Searched refs:swidget (Results 1 – 13 of 13) sorted by relevance

/linux-6.15/sound/soc/sof/
H A Dsof-audio.c52 if (!swidget->private) in sof_widget_free_unlocked()
109 if (swidget->spipe && swidget->dynamic_pipeline_widget && in sof_widget_free_unlocked()
144 if (!swidget->private) in sof_widget_setup_unlocked()
161 if (!swidget->spipe || !swidget->spipe->pipe_widget) { in sof_widget_setup_unlocked()
236 swidget->use_count--; in sof_widget_setup_unlocked()
418 if (!swidget || !swidget->prepared || swidget->use_count > 0) in sof_unprepare_widgets_in_path()
488 swidget && swidget->prepared && swidget->use_count == 0) { in sof_prepare_widgets_in_path()
557 if (swidget) { in sof_set_up_widgets_in_path()
596 if (swidget) in sof_set_up_widgets_in_path()
889 return swidget; in snd_sof_find_swidget()
[all …]
H A Dipc4-topology.c468 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info()
890 swidget->num_tuples, sizeof(*swidget), 1); in sof_ipc4_widget_setup_comp_pipeline()
897 swidget->widget->name, swidget->pipeline_id, in sof_ipc4_widget_setup_comp_pipeline()
1835 swidget->widget->name, swidget->id, in sof_ipc4_prepare_copier_module()
1910 swidget->widget->name, swidget->id, in sof_ipc4_prepare_copier_module()
1950 swidget->widget->name, swidget->id); in sof_ipc4_prepare_copier_module()
1964 swidget->id, swidget->widget->name); in sof_ipc4_prepare_copier_module()
2752 swidget->widget->name, swidget->instance_id); in sof_ipc4_widget_setup()
2862 swidget->instance_id, swidget->core); in sof_ipc4_widget_setup()
2865 swidget->widget->name, swidget->pipeline_id, in sof_ipc4_widget_setup()
[all …]
H A Dipc3-topology.c410 host = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_host()
504 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_mixer()
543 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
558 swidget->num_tuples, sizeof(*swidget), 1); in sof_ipc3_widget_setup_comp_pipeline()
628 src = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_src()
772 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_pga()
928 swidget->tuples, swidget->num_tuples, in sof_process_load()
1595 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_dai()
1988 if (!swidget) in sof_ipc3_keyword_dapm_event()
2092 swidget->widget->name, swidget->comp_id); in sof_ipc3_complete_pipeline()
[all …]
H A Dtopology.c1260 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens()
1270 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens()
1415 swidget = kzalloc(sizeof(*swidget), GFP_KERNEL); in sof_widget_ready()
1416 if (!swidget) in sof_widget_ready()
1450 swidget->widget->name, swidget->num_input_pins, swidget->num_output_pins); in sof_widget_ready()
1477 swidget->comp_id, w->name, swidget->id, index, in sof_widget_ready()
1478 swidget->num_input_pins, swidget->num_output_pins, in sof_widget_ready()
1637 if (!swidget) in sof_widget_unload()
1696 widget_ops[swidget->id].ipc_free(swidget); in sof_widget_unload()
2232 ret = widget_ops[swidget->id].ipc_setup(swidget); in sof_complete()
[all …]
H A Dipc4-control.c23 struct snd_sof_widget *swidget; in sof_ipc4_set_get_kcontrol_data() local
41 mutex_lock(&swidget->setup_mutex); in sof_ipc4_set_get_kcontrol_data()
50 if (!swidget->use_count) in sof_ipc4_set_get_kcontrol_data()
80 mutex_unlock(&swidget->setup_mutex); in sof_ipc4_set_get_kcontrol_data()
150 struct snd_sof_widget *swidget; in sof_ipc4_volume_put() local
206 struct snd_sof_widget *swidget, in sof_ipc4_set_generic_control_data() argument
293 struct snd_sof_widget *swidget; in sof_ipc4_switch_put() local
352 struct snd_sof_widget *swidget; in sof_ipc4_enum_put() local
672 struct snd_sof_widget *swidget; in sof_ipc4_control_update() local
705 if (!swidget) { in sof_ipc4_control_update()
[all …]
H A Dipc3-control.c22 struct snd_sof_widget *swidget; in sof_ipc3_set_get_kcontrol_data() local
28 if (swidget->comp_id == scontrol->comp_id) { in sof_ipc3_set_get_kcontrol_data()
41 mutex_lock(&swidget->setup_mutex); in sof_ipc3_set_get_kcontrol_data()
43 lockdep_assert_held(&swidget->setup_mutex); in sof_ipc3_set_get_kcontrol_data()
50 if (!swidget->use_count) in sof_ipc3_set_get_kcontrol_data()
122 mutex_unlock(&swidget->setup_mutex); in sof_ipc3_set_get_kcontrol_data()
555 struct snd_sof_widget *swidget; in sof_ipc3_control_update() local
572 if (swidget->comp_id == cdata->comp_id) { in sof_ipc3_control_update()
598 widget = swidget->widget; in sof_ipc3_control_update()
663 struct snd_sof_widget *swidget) in sof_ipc3_widget_kcontrol_setup() argument
[all …]
H A Dsof-audio.h182 int (*ipc_setup)(struct snd_sof_widget *swidget);
183 void (*ipc_free)(struct snd_sof_widget *swidget);
186 int (*bind_event)(struct snd_soc_component *scomp, struct snd_sof_widget *swidget,
188 int (*ipc_prepare)(struct snd_sof_widget *swidget,
192 void (*ipc_unprepare)(struct snd_sof_widget *swidget);
228 int (*pipeline_complete)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
229 int (*widget_setup)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
230 int (*widget_free)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
231 int (*dai_config)(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget,
653 int sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
[all …]
H A Dipc4-pcm.c680 struct snd_sof_widget *swidget = w->dobj.private; in sof_ipc4_pcm_dai_link_fixup() local
681 struct snd_sof_widget *pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_pcm_dai_link_fixup()
829 struct snd_sof_widget *swidget = widget->dobj.private; in sof_ipc4_build_time_info() local
831 if (!swidget) in sof_ipc4_build_time_info()
834 if (WIDGET_IS_AIF(swidget->widget->id)) { in sof_ipc4_build_time_info()
835 host_copier = swidget->private; in sof_ipc4_build_time_info()
836 } else if (WIDGET_IS_DAI(swidget->widget->id)) { in sof_ipc4_build_time_info()
837 dai = swidget->private; in sof_ipc4_build_time_info()
/linux-6.15/include/trace/events/
H A Dsof.h19 TP_PROTO(struct snd_sof_widget *swidget),
20 TP_ARGS(swidget),
22 __string(name, swidget->widget->name)
27 __entry->use_count = swidget->use_count;
33 TP_PROTO(struct snd_sof_widget *swidget),
34 TP_ARGS(swidget)
38 TP_PROTO(struct snd_sof_widget *swidget),
39 TP_ARGS(swidget)
/linux-6.15/sound/soc/sof/intel/
H A Dhda-dai-ops.c131 struct snd_sof_widget *swidget; in hda_ipc4_get_hext_stream() local
135 swidget = w->dobj.private; in hda_ipc4_get_hext_stream()
136 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_get_hext_stream()
302 struct snd_sof_widget *swidget; in hda_ipc4_pre_trigger() local
307 swidget = w->dobj.private; in hda_ipc4_pre_trigger()
308 pipe_widget = swidget->spipe->pipe_widget; in hda_ipc4_pre_trigger()
379 struct snd_sof_widget *swidget; in hda_ipc4_post_trigger() local
384 swidget = w->dobj.private; in hda_ipc4_post_trigger()
408 swidget->spipe->started_count++; in hda_ipc4_post_trigger()
423 swidget->spipe->started_count = 0; in hda_ipc4_post_trigger()
[all …]
H A Dhda-dai.c35 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_config() local
40 if (!swidget) in hda_dai_config()
73 struct snd_sof_widget *swidget = w->dobj.private; in hda_dai_get_ops() local
79 if (!swidget) { in hda_dai_get_ops()
85 return hda_select_dai_widget_ops(sdev, swidget); in hda_dai_get_ops()
87 sdai = swidget->private; in hda_dai_get_ops()
92 hda_select_dai_widget_ops(sdev, swidget); in hda_dai_get_ops()
356 struct snd_sof_dai *sdai = swidget->private; in widget_to_copier()
661 struct snd_sof_widget *swidget; in hda_dai_suspend() local
670 swidget = w->dobj.private; in hda_dai_suspend()
[all …]
H A Dhda.h1042 hda_select_dai_widget_ops(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget);
1048 struct snd_sof_widget *swidget = w->dobj.private; in widget_to_sdev() local
1049 struct snd_soc_component *component = swidget->scomp; in widget_to_sdev()
H A Dhda.c85 struct snd_sof_widget *swidget = w->dobj.private; in sdw_params_free() local
86 struct snd_sof_dai *dai = swidget->private; in sdw_params_free()