Home
last modified time | relevance | path

Searched refs:dapm (Results 1 – 6 of 6) sorted by relevance

/drivers/staging/greybus/
A Daudio_helper.c24 if (w->dapm != dai_w->dapm) in gbaudio_dapm_link_dai_widget()
60 struct snd_soc_dapm_context *dapm) in gbaudio_dapm_link_component_dai_widgets() argument
66 if (dai_w->dapm != dapm) in gbaudio_dapm_link_component_dai_widgets()
112 int gbaudio_dapm_free_controls(struct snd_soc_dapm_context *dapm, in gbaudio_dapm_free_controls() argument
119 mutex_lock(&dapm->card->dapm_mutex); in gbaudio_dapm_free_controls()
123 list_for_each_entry(tmp_w, &dapm->card->widgets, list) { in gbaudio_dapm_free_controls()
124 if (tmp_w->dapm == dapm && in gbaudio_dapm_free_controls()
131 dev_err(dapm->dev, "%s: widget not found\n", in gbaudio_dapm_free_controls()
139 mutex_unlock(&dapm->card->dapm_mutex); in gbaudio_dapm_free_controls()
A Daudio_helper.h10 struct snd_soc_dapm_context *dapm);
11 int gbaudio_dapm_free_controls(struct snd_soc_dapm_context *dapm,
A Daudio_topology.c383 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_get()
396 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_get()
432 struct device *codec_dev = widget->dapm->dev; in gbcodec_mixer_dapm_ctl_put()
446 dev_warn(widget->dapm->dev, in gbcodec_mixer_dapm_ctl_put()
468 snd_soc_dapm_mixer_update_power(widget->dapm, kcontrol, in gbcodec_mixer_dapm_ctl_put()
715 struct device *codec_dev = widget->dapm->dev; in gbcodec_enum_dapm_ctl_get()
762 struct device *codec_dev = widget->dapm->dev; in gbcodec_enum_dapm_ctl_put()
835 snd_soc_dapm_mux_update_power(widget->dapm, kcontrol, in gbcodec_enum_dapm_ctl_put()
927 struct device *codec_dev = w->dapm->dev; in gbaudio_widget_event()
A Daudio_codec.c836 snd_soc_dapm_new_controls(&comp->dapm, module->dapm_widgets, in gbaudio_register_module()
842 snd_soc_dapm_add_routes(&comp->dapm, module->dapm_routes, in gbaudio_register_module()
847 gbaudio_dapm_link_component_dai_widgets(comp->card, &comp->dapm); in gbaudio_register_module()
971 snd_soc_dapm_del_routes(&comp->dapm, module->dapm_routes, in gbaudio_unregister_module()
984 gbaudio_dapm_free_controls(&comp->dapm, module->dapm_widgets, in gbaudio_unregister_module()
/drivers/regulator/
A Darizona-micsupp.c36 struct snd_soc_dapm_context **dapm; member
50 struct snd_soc_dapm_context *dapm = *micsupp->dapm; in arizona_micsupp_check_cp() local
63 if (dapm) { in arizona_micsupp_check_cp()
64 component = snd_soc_dapm_to_component(dapm); in arizona_micsupp_check_cp()
73 snd_soc_dapm_sync(dapm); in arizona_micsupp_check_cp()
318 micsupp->dapm = &arizona->dapm; in arizona_micsupp_probe()
354 micsupp->dapm = &madera->dapm; in madera_micsupp_probe()
/drivers/input/misc/
A Darizona-haptics.c38 snd_soc_dapm_to_component(arizona->dapm); in arizona_haptics_work()
41 if (!haptics->arizona->dapm) { in arizona_haptics_work()
75 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work()
90 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work()
114 if (!arizona->dapm) { in arizona_haptics_play()
146 if (haptics->arizona->dapm) { in arizona_haptics_close()
147 component = snd_soc_dapm_to_component(haptics->arizona->dapm); in arizona_haptics_close()

Completed in 14 milliseconds