| /linux/sound/soc/sof/ |
| A D | sof-audio.c | 52 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() 938 return swidget; in snd_sof_find_swidget() [all …]
|
| A D | ipc4-topology.c | 184 return swidget; in sof_ipc4_find_swidget_by_ids() 372 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info() 789 swidget->num_tuples, sizeof(*swidget), 1); in sof_ipc4_widget_setup_comp_pipeline() 796 swidget->widget->name, swidget->pipeline_id, in sof_ipc4_widget_setup_comp_pipeline() 836 swidget->tuples, swidget->num_tuples, sizeof(gain->data), 1); in sof_ipc4_widget_setup_comp_pga() 1847 swidget->id, swidget->widget->name); in sof_ipc4_prepare_copier_module() 2607 swidget->widget->name, swidget->instance_id); in sof_ipc4_widget_setup() 2716 swidget->widget->name, swidget->pipeline_id, module_id, in sof_ipc4_widget_setup() 2717 swidget->instance_id, swidget->core); in sof_ipc4_widget_setup() 2720 swidget->widget->name, swidget->pipeline_id, in sof_ipc4_widget_setup() [all …]
|
| A D | ipc3-topology.c | 407 host = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_host() 501 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_mixer() 540 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline() 555 swidget->num_tuples, sizeof(*swidget), 1); in sof_ipc3_widget_setup_comp_pipeline() 625 src = sof_comp_alloc(swidget, &ipc_size, swidget->pipeline_id); in sof_ipc3_widget_setup_comp_src() 769 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_pga() 925 swidget->tuples, swidget->num_tuples, in sof_process_load() 1592 swidget->tuples, swidget->num_tuples, in sof_ipc3_widget_setup_comp_dai() 1973 if (!swidget) in sof_ipc3_keyword_dapm_event() 2077 swidget->widget->name, swidget->comp_id); in sof_ipc3_complete_pipeline() [all …]
|
| A D | topology.c | 1246 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens() 1256 swidget->tuples, swidget->num_tuples); in sof_widget_parse_tokens() 1401 swidget = kzalloc(sizeof(*swidget), GFP_KERNEL); in sof_widget_ready() 1402 if (!swidget) in sof_widget_ready() 1436 swidget->widget->name, swidget->num_input_pins, swidget->num_output_pins); in sof_widget_ready() 1463 swidget->comp_id, w->name, swidget->id, index, in sof_widget_ready() 1464 swidget->num_input_pins, swidget->num_output_pins, in sof_widget_ready() 1623 if (!swidget) in sof_widget_unload() 1682 widget_ops[swidget->id].ipc_free(swidget); in sof_widget_unload() 2218 ret = widget_ops[swidget->id].ipc_setup(swidget); in sof_complete() [all …]
|
| A D | ipc4-control.c | 23 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 663 struct snd_sof_widget *swidget; in sof_ipc4_control_update() local 696 if (!swidget) { in sof_ipc4_control_update() [all …]
|
| A D | ipc3-control.c | 22 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 …]
|
| A D | sof-audio.h | 182 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, 638 int sof_widget_setup(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget); [all …]
|
| A D | ipc4-pcm.c | 676 struct snd_sof_widget *swidget = w->dobj.private; in sof_ipc4_pcm_dai_link_fixup() local 677 struct snd_sof_widget *pipe_widget = swidget->spipe->pipe_widget; in sof_ipc4_pcm_dai_link_fixup() 824 struct snd_sof_widget *swidget = widget->dobj.private; in sof_ipc4_build_time_info() local 826 if (!swidget) in sof_ipc4_build_time_info() 829 if (WIDGET_IS_AIF(swidget->widget->id)) { in sof_ipc4_build_time_info() 830 host_copier = swidget->private; in sof_ipc4_build_time_info() 831 } else if (WIDGET_IS_DAI(swidget->widget->id)) { in sof_ipc4_build_time_info() 832 dai = swidget->private; in sof_ipc4_build_time_info()
|
| /linux/include/trace/events/ |
| A D | sof.h | 19 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/sound/soc/sof/intel/ |
| A D | hda-dai-ops.c | 131 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 …]
|
| A D | hda-dai.c | 35 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() 342 struct snd_sof_dai *sdai = swidget->private; in widget_to_copier() 635 struct snd_sof_widget *swidget; in hda_dai_suspend() local 644 swidget = w->dobj.private; in hda_dai_suspend() [all …]
|
| A D | hda.h | 1028 hda_select_dai_widget_ops(struct snd_sof_dev *sdev, struct snd_sof_widget *swidget); 1036 struct snd_sof_widget *swidget = w->dobj.private; in widget_to_sdev() local 1037 struct snd_soc_component *component = swidget->scomp; in widget_to_sdev()
|
| A D | hda.c | 80 struct snd_sof_widget *swidget = w->dobj.private; in sdw_params_free() local 81 struct snd_sof_dai *dai = swidget->private; in sdw_params_free()
|