Home
last modified time | relevance | path

Searched refs:widget (Results 1 – 25 of 30) sorted by relevance

12

/sound/soc/sof/
Dsof-audio.c17 static void sof_reset_route_setup_status(struct snd_sof_dev *sdev, struct snd_sof_widget *widget) in sof_reset_route_setup_status() argument
23 if (sroute->src_widget == widget || sroute->sink_widget == widget) { in sof_reset_route_setup_status()
60 swidget->core, swidget->widget->name); in sof_widget_free()
77 dev_dbg(sdev->dev, "widget %s freed\n", swidget->widget->name); in sof_widget_free()
108 swidget->widget->name); in sof_widget_setup()
122 swidget->widget->name); in sof_widget_setup()
151 dev_dbg(sdev->dev, "widget %s setup complete\n", swidget->widget->name); in sof_widget_setup()
226 struct snd_soc_dapm_widget *widget; in sof_setup_pipeline_connections() local
238 for_each_dapm_widgets(list, i, widget) { in sof_setup_pipeline_connections()
239 if (!widget->dobj.private) in sof_setup_pipeline_connections()
[all …]
Dipc4-topology.c232 dev_dbg(scomp->dev, "Get input audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
259 dev_dbg(scomp->dev, "Get output audio formats for %s\n", swidget->widget->name); in sof_ipc4_get_audio_fmt()
310 swidget->widget->name, &swidget->uuid); in sof_ipc4_widget_set_module_info()
355 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_pcm()
374 swidget->widget->name); in sof_ipc4_widget_setup_pcm()
392 dev_dbg(scomp->dev, "host copier '%s' node_type %u\n", swidget->widget->name, node_type); in sof_ipc4_widget_setup_pcm()
456 dev_dbg(scomp->dev, "Updating IPC structure for %s\n", swidget->widget->name); in sof_ipc4_widget_setup_comp_dai()
475 swidget->widget->name); in sof_ipc4_widget_setup_comp_dai()
499 dev_dbg(scomp->dev, "dai %s node_type %u dai_type %u dai_index %d\n", swidget->widget->name, in sof_ipc4_widget_setup_comp_dai()
518 if (w->widget->sname && in sof_ipc4_widget_setup_comp_dai()
[all …]
Dipc3-topology.c399 dev_dbg(scomp->dev, "loaded host %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_host()
442 swidget->widget->name, tone->frequency, tone->amplitude); in sof_ipc3_widget_setup_comp_tone()
476 dev_dbg(scomp->dev, "loaded mixer %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mixer()
502 comp_swidget = snd_sof_find_swidget(scomp, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
505 swidget->widget->name, swidget->widget->sname); in sof_ipc3_widget_setup_comp_pipeline()
532 swidget->widget->name, pipeline->period, pipeline->priority, in sof_ipc3_widget_setup_comp_pipeline()
577 swidget->widget->name, buffer->size, buffer->caps); in sof_ipc3_widget_setup_comp_buffer()
612 swidget->widget->name, src->source_rate, src->sink_rate); in sof_ipc3_widget_setup_comp_src()
653 swidget->widget->name, asrc->source_rate, asrc->sink_rate, in sof_ipc3_widget_setup_comp_asrc()
695 dev_dbg(scomp->dev, "loaded mux %s\n", swidget->widget->name); in sof_ipc3_widget_setup_comp_mux()
[all …]
Dipc3-control.c531 struct snd_soc_dapm_widget *widget; in sof_ipc3_control_update() local
576 widget = swidget->widget; in sof_ipc3_control_update()
577 for (i = 0; i < widget->num_kcontrols; i++) { in sof_ipc3_control_update()
579 if (widget->dobj.widget.kcontrol_type[i] == type && in sof_ipc3_control_update()
580 widget->kcontrol_news[i].index == cdata->index) { in sof_ipc3_control_update()
581 kc = widget->kcontrols[i]; in sof_ipc3_control_update()
654 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
671 scontrol->comp_id, swidget->widget->name); in sof_ipc3_widget_kcontrol_setup()
Dtopology.c1171 dev_err(scomp->dev, "No token list for widget %s\n", swidget->widget->name); in sof_widget_parse_tokens()
1190 object_token_list[i], swidget->widget->name); in sof_widget_parse_tokens()
1205 swidget->widget->name); in sof_widget_parse_tokens()
1219 swidget->widget->name); in sof_widget_parse_tokens()
1248 token_list[object_token_list[i]].name, swidget->widget->name, ret); in sof_widget_parse_tokens()
1266 const struct sof_ipc_tplg_widget_ops *widget_ops = ipc_tplg_ops->widget; in sof_widget_ready()
1278 swidget->widget = w; in sof_widget_ready()
1380 swidget->widget->name); in sof_widget_ready()
1416 const struct sof_ipc_tplg_widget_ops *widget_ops = ipc_tplg_ops->widget; in sof_widget_unload()
1418 struct snd_soc_dapm_widget *widget; in sof_widget_unload() local
[all …]
Dipc4-pcm.c42 struct snd_soc_dapm_widget *widget; in sof_ipc4_trigger_pipelines() local
55 for_each_dapm_widgets(list, num_widgets, widget) { in sof_ipc4_trigger_pipelines()
56 swidget = widget->dobj.private; in sof_ipc4_trigger_pipelines()
Dsof-audio.h174 const struct sof_ipc_tplg_widget_ops *widget; member
380 struct snd_soc_dapm_widget *widget; member
Dipc.c192 if (!ops->tplg || !ops->tplg->widget || !ops->tplg->control) { in snd_sof_ipc_init()
Dipc4-control.c182 __func__, scontrol->comp_id, swidget->widget->name); in sof_ipc4_widget_kcontrol_setup()
/sound/soc/
Dsoc-dapm.c42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; argument
59 const struct snd_soc_dapm_widget *widget);
63 const struct snd_soc_dapm_widget *widget);
347 struct snd_soc_dapm_widget *widget; member
352 static int dapm_kcontrol_data_alloc(struct snd_soc_dapm_widget *widget, in dapm_kcontrol_data_alloc() argument
367 switch (widget->id) { in dapm_kcontrol_data_alloc()
377 dev_warn(widget->dapm->dev, in dapm_kcontrol_data_alloc()
402 data->widget = in dapm_kcontrol_data_alloc()
403 snd_soc_dapm_new_control_unlocked(widget->dapm, in dapm_kcontrol_data_alloc()
406 if (IS_ERR(data->widget)) { in dapm_kcontrol_data_alloc()
[all …]
Dsoc-topology.c1346 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1399 goto widget; in soc_tplg_dapm_widget_create()
1468 widget: in soc_tplg_dapm_widget_create()
1476 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1478 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1479 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1480 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1484 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1485 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
1486 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create()
[all …]
Dsoc-pcm.c1295 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be() argument
1302 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be()
1318 if (w == widget) in dpcm_get_be()
1328 struct snd_soc_dapm_widget *widget) in widget_in_list() argument
1334 if (widget == w) in widget_in_list()
1340 bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, enum snd_soc_dapm_direction dir) in dpcm_end_walk_at_be() argument
1342 struct snd_soc_card *card = widget->dapm->card; in dpcm_end_walk_at_be()
1352 rtd = dpcm_get_be(card, widget, stream); in dpcm_end_walk_at_be()
1400 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(dai, stream); in dpcm_be_is_active() local
1406 if (widget && widget_in_list(list, widget)) in dpcm_be_is_active()
[all …]
/sound/soc/codecs/
Darizona.h209 #define ARIZONA_MUX_ROUTES(widget, name) \ argument
210 { widget, NULL, name " Input" }, \
213 #define ARIZONA_MIXER_ROUTES(widget, name) \ argument
214 { widget, NULL, name " Mixer" }, \
Dlpass-wsa-macro.c1827 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_get() local
1830 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get()
1834 wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_get()
1841 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_put() local
1844 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put()
1852 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put()
1863 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put()
1865 bit_input = widget->shift; in wsa_macro_rx_mux_put()
1888 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in wsa_macro_rx_mux_put()
1968 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in wsa_macro_vi_feed_mixer_get() local
[all …]
Dmadera.h256 #define MADERA_MUX_ROUTES(widget, name) \ argument
257 { widget, NULL, name " Input 1" }, \
260 #define MADERA_MIXER_ROUTES(widget, name) \ argument
261 { widget, NULL, name " Mixer" }, \
Dlpass-va-macro.c508 struct snd_soc_dapm_widget *widget = in va_macro_put_dec_enum() local
511 snd_soc_dapm_to_component(widget->dapm); in va_macro_put_dec_enum()
548 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_get() local
551 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_get()
554 u32 dai_id = widget->shift; in va_macro_tx_mixer_get()
569 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_put() local
572 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_put()
576 u32 dai_id = widget->shift; in va_macro_tx_mixer_put()
589 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in va_macro_tx_mixer_put()
Dlpass-tx-macro.c739 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_put_dec_enum() local
740 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum()
802 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_get() local
803 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_get()
805 u32 dai_id = widget->shift; in tx_macro_tx_mixer_get()
820 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_put() local
821 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_put()
824 u32 dai_id = widget->shift; in tx_macro_tx_mixer_put()
844 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in tx_macro_tx_mixer_put()
Darizona-jack.c213 const char *widget = arizona_extcon_get_micbias(info); in arizona_extcon_pulse_micbias() local
218 ret = snd_soc_component_force_enable_pin(component, widget); in arizona_extcon_pulse_micbias()
220 dev_warn(arizona->dev, "Failed to enable %s: %d\n", widget, ret); in arizona_extcon_pulse_micbias()
225 ret = snd_soc_component_disable_pin(component, widget); in arizona_extcon_pulse_micbias()
227 dev_warn(arizona->dev, "Failed to disable %s: %d\n", widget, ret); in arizona_extcon_pulse_micbias()
288 const char *widget = arizona_extcon_get_micbias(info); in arizona_stop_mic() local
300 ret = snd_soc_component_disable_pin(component, widget); in arizona_stop_mic()
302 dev_warn(arizona->dev, "Failed to disable %s: %d\n", widget, ret); in arizona_stop_mic()
Dlpass-rx-macro.c1505 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in rx_macro_int_dem_inp_mux_put() local
1506 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in rx_macro_int_dem_inp_mux_put()
2277 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in rx_macro_mux_get() local
2278 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in rx_macro_mux_get()
2282 rx->rx_port_value[widget->shift]; in rx_macro_mux_get()
2289 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in rx_macro_mux_put() local
2290 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in rx_macro_mux_put()
2297 aif_rst = rx->rx_port_value[widget->shift]; in rx_macro_mux_put()
2308 rx->rx_port_value[widget->shift] = rx_port_value; in rx_macro_mux_put()
2313 clear_bit(widget->shift, in rx_macro_mux_put()
[all …]
Dwm5110.c606 #define WM5110_RXANC_INPUT_ROUTES(widget, name) \ argument
607 { widget, NULL, name " NG Mux" }, \
628 #define WM5110_RXANC_OUTPUT_ROUTES(widget, name) \ argument
629 { widget, NULL, name " ANC Source" }, \
Dcs47l90.c151 #define CS47L90_RXANC_INPUT_ROUTES(widget, name) \ argument
152 { widget, NULL, name " NG Mux" }, \
175 #define CS47L90_RXANC_OUTPUT_ROUTES(widget, name) \ argument
176 { widget, NULL, name " ANC Source" }, \
Dcs47l85.c158 #define CS47L85_RXANC_INPUT_ROUTES(widget, name) \ argument
159 { widget, NULL, name " NG Mux" }, \
184 #define CS47L85_RXANC_OUTPUT_ROUTES(widget, name) \ argument
185 { widget, NULL, name " ANC Source" }, \
/sound/soc/pxa/
Dmioa701_wm9713.c68 static int rear_amp_event(struct snd_soc_dapm_widget *widget, in rear_amp_event() argument
71 struct snd_soc_card *card = widget->dapm->card; in rear_amp_event()
/sound/soc/qcom/qdsp6/
Dtopology.c198 mod->widget = w; in audioreach_tplg_alloc_module()
869 if (!strcmp(name, module->widget->name)) in audioreach_find_widget()
Daudioreach.h669 struct snd_soc_dapm_widget *widget; member

12