Home
last modified time | relevance | path

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

/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()
374 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.c1421 struct snd_soc_dapm_widget template, *widget; in soc_tplg_dapm_widget_create() local
1474 goto widget; in soc_tplg_dapm_widget_create()
1545 widget: in soc_tplg_dapm_widget_create()
1553 widget = snd_soc_dapm_new_control(dapm, &template); in soc_tplg_dapm_widget_create()
1555 widget = snd_soc_dapm_new_control_unlocked(dapm, &template); in soc_tplg_dapm_widget_create()
1556 if (IS_ERR(widget)) { in soc_tplg_dapm_widget_create()
1557 ret = PTR_ERR(widget); in soc_tplg_dapm_widget_create()
1561 widget->dobj.type = SND_SOC_DOBJ_WIDGET; in soc_tplg_dapm_widget_create()
1562 widget->dobj.widget.kcontrol_type = kcontrol_type; in soc_tplg_dapm_widget_create()
1563 widget->dobj.ops = tplg->ops; in soc_tplg_dapm_widget_create()
[all …]
Dsoc-pcm.c1315 struct snd_soc_dapm_widget *widget, int stream) in dpcm_get_be() argument
1322 dev_dbg(card->dev, "ASoC: find BE for widget %s\n", widget->name); in dpcm_get_be()
1338 if (w == widget) in dpcm_get_be()
1348 struct snd_soc_dapm_widget *widget) in widget_in_list() argument
1354 if (widget == w) in widget_in_list()
1360 static bool dpcm_end_walk_at_be(struct snd_soc_dapm_widget *widget, in dpcm_end_walk_at_be() argument
1363 struct snd_soc_card *card = widget->dapm->card; in dpcm_end_walk_at_be()
1373 rtd = dpcm_get_be(card, widget, stream); in dpcm_end_walk_at_be()
1420 struct snd_soc_dapm_widget *widget = snd_soc_dai_get_widget(dai, stream); in dpcm_be_is_active() local
1426 if (widget && widget_in_list(list, widget)) in dpcm_be_is_active()
[all …]
/sound/soc/sof/
Dtopology.c71 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in ipc_pcm_params()
74 swidget->widget->name); in ipc_pcm_params()
112 swidget->widget->name); in ipc_pcm_params()
136 swidget->widget->name); in ipc_trigger()
159 spcm = snd_sof_find_spcm_name(scomp, swidget->widget->sname); in sof_keyword_dapm_event()
162 swidget->widget->name); in sof_keyword_dapm_event()
179 swidget->widget->name); in sof_keyword_dapm_event()
188 swidget->widget->name); in sof_keyword_dapm_event()
201 swidget->widget->name); in sof_keyword_dapm_event()
208 swidget->widget->name); in sof_keyword_dapm_event()
[all …]
Dsof-audio.c233 swidget->widget->id, swidget->comp_id); in sof_restore_pipelines()
392 if (strcmp(name, swidget->widget->name) == 0) in snd_sof_find_swidget()
414 if (!strcmp(pcm_name, swidget->widget->sname) && in snd_sof_find_swidget_sname()
Dsof-audio.h89 struct snd_soc_dapm_widget *widget; member
/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.c1823 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_get() local
1826 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_get()
1830 wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_get()
1837 struct snd_soc_dapm_widget *widget = in wsa_macro_rx_mux_put() local
1840 snd_soc_dapm_to_component(widget->dapm); in wsa_macro_rx_mux_put()
1848 aif_rst = wsa->rx_port_value[widget->shift]; in wsa_macro_rx_mux_put()
1859 wsa->rx_port_value[widget->shift] = rx_port_value; in wsa_macro_rx_mux_put()
1861 bit_input = widget->shift; in wsa_macro_rx_mux_put()
1884 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in wsa_macro_rx_mux_put()
1964 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in wsa_macro_vi_feed_mixer_get() local
[all …]
Dlpass-va-macro.c475 struct snd_soc_dapm_widget *widget = in va_macro_put_dec_enum() local
478 snd_soc_dapm_to_component(widget->dapm); in va_macro_put_dec_enum()
515 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_get() local
518 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_get()
521 u32 dai_id = widget->shift; in va_macro_tx_mixer_get()
536 struct snd_soc_dapm_widget *widget = in va_macro_tx_mixer_put() local
539 snd_soc_dapm_to_component(widget->dapm); in va_macro_tx_mixer_put()
543 u32 dai_id = widget->shift; in va_macro_tx_mixer_put()
556 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, enable, update); in va_macro_tx_mixer_put()
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-tx-macro.c737 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_put_dec_enum() local
738 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_put_dec_enum()
800 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_get() local
801 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_get()
803 u32 dai_id = widget->shift; in tx_macro_tx_mixer_get()
818 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in tx_macro_tx_mixer_put() local
819 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in tx_macro_tx_mixer_put()
822 u32 dai_id = widget->shift; in tx_macro_tx_mixer_put()
842 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.c1503 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in rx_macro_int_dem_inp_mux_put() local
1504 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in rx_macro_int_dem_inp_mux_put()
2275 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in rx_macro_mux_get() local
2276 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in rx_macro_mux_get()
2280 rx->rx_port_value[widget->shift]; in rx_macro_mux_get()
2287 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kcontrol); in rx_macro_mux_put() local
2288 struct snd_soc_component *component = snd_soc_dapm_to_component(widget->dapm); in rx_macro_mux_put()
2295 aif_rst = rx->rx_port_value[widget->shift]; in rx_macro_mux_put()
2306 rx->rx_port_value[widget->shift] = rx_port_value; in rx_macro_mux_put()
2311 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" }, \
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" }, \
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" }, \
Dwm2200.c1255 #define WM2200_MIXER_ROUTES(widget, name) \ argument
1256 { widget, NULL, name " Mixer" }, \
Dwcd9335.c1340 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc); in slim_tx_mixer_put() local
1341 struct wcd9335_codec *wcd = dev_get_drvdata(widget->dapm->dev); in slim_tx_mixer_put()
1346 int dai_id = widget->shift; in slim_tx_mixer_put()
1368 snd_soc_dapm_mixer_update_power(widget->dapm, kc, enable, update); in slim_tx_mixer_put()
Dhdac_hdmi.c962 struct snd_soc_dapm_widget *widget, in hdac_hdmi_create_pin_port_muxs() argument
1022 return hdac_hdmi_fill_widget_info(&hdev->dev, widget, in hdac_hdmi_create_pin_port_muxs()
Dwm5100.c492 #define WM5100_MIXER_ROUTES(widget, name) \ argument
493 { widget, NULL, name " Mixer" }, \
Dwcd934x.c3847 struct snd_soc_dapm_widget *widget = snd_soc_dapm_kcontrol_widget(kc); in slim_tx_mixer_put() local
3848 struct wcd934x_codec *wcd = dev_get_drvdata(widget->dapm->dev); in slim_tx_mixer_put()
3854 int dai_id = widget->shift; in slim_tx_mixer_put()
3884 snd_soc_dapm_mixer_update_power(widget->dapm, kc, enable, update); in slim_tx_mixer_put()
/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()