Lines Matching full:widget

433 	dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name);  in sof_ipc3_widget_setup_comp_host()
476 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
510 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
537 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
539 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
540 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
567 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
613 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
648 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
689 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
731 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
774 dev_dbg(scomp->dev, "loaded PGA %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_pga()
798 struct snd_soc_dapm_widget *widget, in sof_get_control_data() argument
810 for (i = 0; i < widget->num_kcontrols; i++) { in sof_get_control_data()
811 kc = &widget->kcontrol_news[i]; in sof_get_control_data()
813 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
827 dev_err(scomp->dev, "Unknown kcontrol type %u in widget %s\n", in sof_get_control_data()
828 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
833 dev_err(scomp->dev, "No scontrol for widget %s\n", widget->name); in sof_get_control_data()
839 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
882 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local
891 /* allocate struct for widget control data sizes and types */ in sof_process_load()
892 if (widget->num_kcontrols) { in sof_process_load()
893 wdata = kcalloc(widget->num_kcontrols, sizeof(*wdata), GFP_KERNEL); in sof_process_load()
898 ret = sof_get_control_data(scomp, widget, wdata, &ipc_data_size); in sof_process_load()
930 dev_dbg(scomp->dev, "loaded process %s\n", swidget->widget->name); in sof_process_load()
939 for (i = 0; i < widget->num_kcontrols; i++) { in sof_process_load()
1598 swidget->widget->name, comp_dai->type, comp_dai->dai_index); in sof_ipc3_widget_setup_comp_dai()
1609 /* Reserve memory for all hw configs, eventually freed by widget */ in sof_ipc3_widget_setup_comp_dai()
1731 sroute->src_widget->widget->name, in sof_ipc3_route_setup()
1732 sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1738 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1897 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_detect_pcm_params()
1898 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_detect_pcm_params()
1900 dev_err(scomp->dev, "Cannot find PCM for %s\n", swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1938 swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1959 dev_err(scomp->dev, "%s: Failed to trigger %s\n", __func__, swidget->widget->name); in sof_ipc3_keyword_detect_trigger()
1978 dev_dbg(scomp->dev, "received event %d for widget %s\n", in sof_ipc3_keyword_dapm_event()
1981 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_dapm_event()
1982 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_dapm_event()
1985 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2000 dev_err(scomp->dev, "%s: Failed to set pcm params for widget %s\n", in sof_ipc3_keyword_dapm_event()
2001 __func__, swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2008 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
2009 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2021 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
2022 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2027 dev_err(scomp->dev, "%s: Failed to free PCM for widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
2028 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2047 /* validate widget event type */ in sof_ipc3_widget_bind_event()
2059 return snd_soc_tplg_widget_bind_event(swidget->widget, sof_kwd_events, in sof_ipc3_widget_bind_event()
2065 dev_err(scomp->dev, "Invalid event type %d for widget %s\n", event_type, in sof_ipc3_widget_bind_event()
2066 swidget->widget->name); in sof_ipc3_widget_bind_event()
2077 swidget->widget->name, swidget->comp_id); in sof_ipc3_complete_pipeline()
2121 dev_err(sdev->dev, "failed to free widget %s\n", swidget->widget->name); in sof_ipc3_widget_free()
2136 dev_err(sdev->dev, "No private data for DAI %s\n", swidget->widget->name); in sof_ipc3_dai_config()
2183 * FE DAI hw_params: When invoked during FE DAI hw_params after the DAI widget has in sof_ipc3_dai_config()
2193 * The DAI_CONFIG IPC is sent to the DSP, only after the widget is set up during the FE in sof_ipc3_dai_config()
2207 /* only send the IPC if the widget is set up in the DSP */ in sof_ipc3_dai_config()
2256 dev_err(sdev->dev, "Failed to setup widget %s\n", swidget->widget->name); in sof_ipc3_widget_setup()
2325 ret = sof_route_setup(sdev, sroute->src_widget->widget, in sof_ipc3_set_up_all_pipelines()
2326 sroute->sink_widget->widget); in sof_ipc3_set_up_all_pipelines()
2370 * free all PCMs and their associated DAPM widgets if their connected DAPM widget in sof_tear_down_left_over_pipelines()
2495 dev_err(sdev->dev, "%s: widget %s is still in use: count %d\n", in sof_ipc3_tear_down_all_pipelines()
2496 __func__, swidget->widget->name, swidget->use_count); in sof_ipc3_tear_down_all_pipelines()
2687 .widget = tplg_ipc3_widget_ops,