Lines Matching full:widget

413 	dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name);  in sof_ipc3_widget_setup_comp_host()
456 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
490 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
517 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
519 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
520 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
547 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
593 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
628 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
669 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
711 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
754 dev_dbg(scomp->dev, "loaded PGA %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_pga()
778 struct snd_soc_dapm_widget *widget, in sof_get_control_data() argument
790 for (i = 0; i < widget->num_kcontrols; i++) { in sof_get_control_data()
791 kc = &widget->kcontrol_news[i]; in sof_get_control_data()
793 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
807 dev_err(scomp->dev, "Unknown kcontrol type %u in widget %s\n", in sof_get_control_data()
808 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
813 dev_err(scomp->dev, "No scontrol for widget %s\n", widget->name); in sof_get_control_data()
819 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
862 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local
871 /* allocate struct for widget control data sizes and types */ in sof_process_load()
872 if (widget->num_kcontrols) { in sof_process_load()
873 wdata = kcalloc(widget->num_kcontrols, sizeof(*wdata), GFP_KERNEL); in sof_process_load()
878 ret = sof_get_control_data(scomp, widget, wdata, &ipc_data_size); in sof_process_load()
910 dev_dbg(scomp->dev, "loaded process %s\n", swidget->widget->name); in sof_process_load()
919 for (i = 0; i < widget->num_kcontrols; i++) { in sof_process_load()
1528 swidget->widget->name, comp_dai->type, comp_dai->dai_index); in sof_ipc3_widget_setup_comp_dai()
1539 /* Reserve memory for all hw configs, eventually freed by widget */ in sof_ipc3_widget_setup_comp_dai()
1655 sroute->src_widget->widget->name, in sof_ipc3_route_setup()
1656 sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1662 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1821 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_detect_pcm_params()
1822 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_detect_pcm_params()
1824 dev_err(scomp->dev, "Cannot find PCM for %s\n", swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1862 swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1883 dev_err(scomp->dev, "%s: Failed to trigger %s\n", __func__, swidget->widget->name); in sof_ipc3_keyword_detect_trigger()
1902 dev_dbg(scomp->dev, "received event %d for widget %s\n", in sof_ipc3_keyword_dapm_event()
1905 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_dapm_event()
1906 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_dapm_event()
1909 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1924 dev_err(scomp->dev, "%s: Failed to set pcm params for widget %s\n", in sof_ipc3_keyword_dapm_event()
1925 __func__, swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1932 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
1933 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1945 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
1946 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1951 dev_err(scomp->dev, "%s: Failed to free PCM for widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
1952 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
1971 /* validate widget event type */ in sof_ipc3_widget_bind_event()
1983 return snd_soc_tplg_widget_bind_event(swidget->widget, sof_kwd_events, in sof_ipc3_widget_bind_event()
1989 dev_err(scomp->dev, "Invalid event type %d for widget %s\n", event_type, in sof_ipc3_widget_bind_event()
1990 swidget->widget->name); in sof_ipc3_widget_bind_event()
2001 swidget->widget->name, swidget->comp_id); in sof_ipc3_complete_pipeline()
2045 dev_err(sdev->dev, "failed to free widget %s\n", swidget->widget->name); in sof_ipc3_widget_free()
2060 dev_err(sdev->dev, "No private data for DAI %s\n", swidget->widget->name); in sof_ipc3_dai_config()
2115 * FE DAI hw_params: When invoked during FE DAI hw_params after the DAI widget has in sof_ipc3_dai_config()
2125 * The DAI_CONFIG IPC is sent to the DSP, only after the widget is set up during the FE in sof_ipc3_dai_config()
2139 /* only send the IPC if the widget is set up in the DSP */ in sof_ipc3_dai_config()
2188 dev_err(sdev->dev, "Failed to setup widget %s\n", swidget->widget->name); in sof_ipc3_widget_setup()
2257 ret = sof_route_setup(sdev, sroute->src_widget->widget, in sof_ipc3_set_up_all_pipelines()
2258 sroute->sink_widget->widget); in sof_ipc3_set_up_all_pipelines()
2302 * free all PCMs and their associated DAPM widgets if their connected DAPM widget in sof_tear_down_left_over_pipelines()
2427 dev_err(sdev->dev, "%s: widget %s is still in use: count %d\n", in sof_ipc3_tear_down_all_pipelines()
2428 __func__, swidget->widget->name, swidget->use_count); in sof_ipc3_tear_down_all_pipelines()
2617 .widget = tplg_ipc3_widget_ops,