Lines Matching full:widget
424 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
467 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
501 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
528 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
530 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
531 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
558 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
604 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
639 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
680 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
722 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
765 dev_dbg(scomp->dev, "loaded PGA %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_pga()
789 struct snd_soc_dapm_widget *widget, in sof_get_control_data() argument
801 for (i = 0; i < widget->num_kcontrols; i++) { in sof_get_control_data()
802 kc = &widget->kcontrol_news[i]; in sof_get_control_data()
804 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
818 dev_err(scomp->dev, "Unknown kcontrol type %u in widget %s\n", in sof_get_control_data()
819 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
824 dev_err(scomp->dev, "No scontrol for widget %s\n", widget->name); in sof_get_control_data()
830 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
873 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local
882 /* allocate struct for widget control data sizes and types */ in sof_process_load()
883 if (widget->num_kcontrols) { in sof_process_load()
884 wdata = kcalloc(widget->num_kcontrols, sizeof(*wdata), GFP_KERNEL); in sof_process_load()
889 ret = sof_get_control_data(scomp, widget, wdata, &ipc_data_size); in sof_process_load()
921 dev_dbg(scomp->dev, "loaded process %s\n", swidget->widget->name); in sof_process_load()
930 for (i = 0; i < widget->num_kcontrols; i++) { in sof_process_load()
1561 swidget->widget->name, comp_dai->type, comp_dai->dai_index); in sof_ipc3_widget_setup_comp_dai()
1572 /* Reserve memory for all hw configs, eventually freed by widget */ in sof_ipc3_widget_setup_comp_dai()
1691 sroute->src_widget->widget->name, in sof_ipc3_route_setup()
1692 sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1698 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1857 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_detect_pcm_params()
1858 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_detect_pcm_params()
1860 dev_err(scomp->dev, "Cannot find PCM for %s\n", swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1898 swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1919 dev_err(scomp->dev, "%s: Failed to trigger %s\n", __func__, swidget->widget->name); in sof_ipc3_keyword_detect_trigger()
1938 dev_dbg(scomp->dev, "received event %d for widget %s\n", in sof_ipc3_keyword_dapm_event()
1941 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_dapm_event()
1942 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_dapm_event()
1945 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1960 dev_err(scomp->dev, "%s: Failed to set pcm params for widget %s\n", in sof_ipc3_keyword_dapm_event()
1961 __func__, swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1968 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
1969 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1981 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
1982 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1987 dev_err(scomp->dev, "%s: Failed to free PCM for widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
1988 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2007 /* validate widget event type */ in sof_ipc3_widget_bind_event()
2019 return snd_soc_tplg_widget_bind_event(swidget->widget, sof_kwd_events, in sof_ipc3_widget_bind_event()
2025 dev_err(scomp->dev, "Invalid event type %d for widget %s\n", event_type, in sof_ipc3_widget_bind_event()
2026 swidget->widget->name); in sof_ipc3_widget_bind_event()
2037 swidget->widget->name, swidget->comp_id); in sof_ipc3_complete_pipeline()
2081 dev_err(sdev->dev, "failed to free widget %s\n", swidget->widget->name); in sof_ipc3_widget_free()
2096 dev_err(sdev->dev, "No private data for DAI %s\n", swidget->widget->name); in sof_ipc3_dai_config()
2143 * FE DAI hw_params: When invoked during FE DAI hw_params after the DAI widget has in sof_ipc3_dai_config()
2153 * The DAI_CONFIG IPC is sent to the DSP, only after the widget is set up during the FE in sof_ipc3_dai_config()
2167 /* only send the IPC if the widget is set up in the DSP */ in sof_ipc3_dai_config()
2216 dev_err(sdev->dev, "Failed to setup widget %s\n", swidget->widget->name); in sof_ipc3_widget_setup()
2285 ret = sof_route_setup(sdev, sroute->src_widget->widget, in sof_ipc3_set_up_all_pipelines()
2286 sroute->sink_widget->widget); in sof_ipc3_set_up_all_pipelines()
2330 * free all PCMs and their associated DAPM widgets if their connected DAPM widget in sof_tear_down_left_over_pipelines()
2455 dev_err(sdev->dev, "%s: widget %s is still in use: count %d\n", in sof_ipc3_tear_down_all_pipelines()
2456 __func__, swidget->widget->name, swidget->use_count); in sof_ipc3_tear_down_all_pipelines()
2645 .widget = tplg_ipc3_widget_ops,