Lines Matching full:widget
436 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
479 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
513 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
540 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
542 dev_err(scomp->dev, "scheduler %s refers to non existent widget %s\n", in sof_ipc3_widget_setup_comp_pipeline()
543 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
570 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
616 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
651 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
692 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
734 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
777 dev_dbg(scomp->dev, "loaded PGA %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_pga()
801 struct snd_soc_dapm_widget *widget, in sof_get_control_data() argument
813 for (i = 0; i < widget->num_kcontrols; i++) { in sof_get_control_data()
814 kc = &widget->kcontrol_news[i]; in sof_get_control_data()
816 switch (widget->dobj.widget.kcontrol_type[i]) { in sof_get_control_data()
830 dev_err(scomp->dev, "Unknown kcontrol type %u in widget %s\n", in sof_get_control_data()
831 widget->dobj.widget.kcontrol_type[i], widget->name); in sof_get_control_data()
836 dev_err(scomp->dev, "No scontrol for widget %s\n", widget->name); in sof_get_control_data()
842 if (widget->dobj.widget.kcontrol_type[i] == SND_SOC_TPLG_TYPE_BYTES) { in sof_get_control_data()
885 struct snd_soc_dapm_widget *widget = swidget->widget; in sof_process_load() local
894 /* allocate struct for widget control data sizes and types */ in sof_process_load()
895 if (widget->num_kcontrols) { in sof_process_load()
896 wdata = kcalloc(widget->num_kcontrols, sizeof(*wdata), GFP_KERNEL); in sof_process_load()
901 ret = sof_get_control_data(scomp, widget, wdata, &ipc_data_size); in sof_process_load()
933 dev_dbg(scomp->dev, "loaded process %s\n", swidget->widget->name); in sof_process_load()
942 for (i = 0; i < widget->num_kcontrols; i++) { in sof_process_load()
1613 swidget->widget->name, comp_dai->type, comp_dai->dai_index); in sof_ipc3_widget_setup_comp_dai()
1624 /* Reserve memory for all hw configs, eventually freed by widget */ in sof_ipc3_widget_setup_comp_dai()
1746 sroute->src_widget->widget->name, in sof_ipc3_route_setup()
1747 sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1753 sroute->src_widget->widget->name, sroute->sink_widget->widget->name); in sof_ipc3_route_setup()
1912 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_detect_pcm_params()
1913 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_detect_pcm_params()
1915 dev_err(scomp->dev, "Cannot find PCM for %s\n", swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1953 swidget->widget->name); in sof_ipc3_keyword_detect_pcm_params()
1974 dev_err(scomp->dev, "%s: Failed to trigger %s\n", __func__, swidget->widget->name); in sof_ipc3_keyword_detect_trigger()
1993 dev_dbg(scomp->dev, "received event %d for widget %s\n", in sof_ipc3_keyword_dapm_event()
1996 /* get runtime PCM params using widget's stream name */ in sof_ipc3_keyword_dapm_event()
1997 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_ipc3_keyword_dapm_event()
2000 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2015 dev_err(scomp->dev, "%s: Failed to set pcm params for widget %s\n", in sof_ipc3_keyword_dapm_event()
2016 __func__, swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2023 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
2024 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2036 dev_err(scomp->dev, "%s: Failed to trigger widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
2037 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2042 dev_err(scomp->dev, "%s: Failed to free PCM for widget %s\n", __func__, in sof_ipc3_keyword_dapm_event()
2043 swidget->widget->name); in sof_ipc3_keyword_dapm_event()
2062 /* validate widget event type */ in sof_ipc3_widget_bind_event()
2074 return snd_soc_tplg_widget_bind_event(swidget->widget, sof_kwd_events, in sof_ipc3_widget_bind_event()
2080 dev_err(scomp->dev, "Invalid event type %d for widget %s\n", event_type, in sof_ipc3_widget_bind_event()
2081 swidget->widget->name); in sof_ipc3_widget_bind_event()
2092 swidget->widget->name, swidget->comp_id); in sof_ipc3_complete_pipeline()
2136 dev_err(sdev->dev, "failed to free widget %s\n", swidget->widget->name); in sof_ipc3_widget_free()
2151 dev_err(sdev->dev, "No private data for DAI %s\n", swidget->widget->name); in sof_ipc3_dai_config()
2206 * FE DAI hw_params: When invoked during FE DAI hw_params after the DAI widget has in sof_ipc3_dai_config()
2216 * The DAI_CONFIG IPC is sent to the DSP, only after the widget is set up during the FE in sof_ipc3_dai_config()
2230 /* only send the IPC if the widget is set up in the DSP */ in sof_ipc3_dai_config()
2279 dev_err(sdev->dev, "Failed to setup widget %s\n", swidget->widget->name); in sof_ipc3_widget_setup()
2348 ret = sof_route_setup(sdev, sroute->src_widget->widget, in sof_ipc3_set_up_all_pipelines()
2349 sroute->sink_widget->widget); in sof_ipc3_set_up_all_pipelines()
2393 * free all PCMs and their associated DAPM widgets if their connected DAPM widget in sof_tear_down_left_over_pipelines()
2518 dev_err(sdev->dev, "%s: widget %s is still in use: count %d\n", in sof_ipc3_tear_down_all_pipelines()
2519 __func__, swidget->widget->name, swidget->use_count); in sof_ipc3_tear_down_all_pipelines()
2710 .widget = tplg_ipc3_widget_ops,