Home
last modified time | relevance | path

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

12345678910>>...12

/kernel/linux/linux-5.10/sound/soc/pxa/
Dspitz.c42 static void spitz_ext_control(struct snd_soc_dapm_context *dapm) in spitz_ext_control() argument
44 snd_soc_dapm_mutex_lock(dapm); in spitz_ext_control()
47 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
49 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control()
55 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control()
56 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic Jack"); in spitz_ext_control()
57 snd_soc_dapm_disable_pin_unlocked(dapm, "Line Jack"); in spitz_ext_control()
58 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in spitz_ext_control()
64 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in spitz_ext_control()
65 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control()
[all …]
Dcorgi.c44 static void corgi_ext_control(struct snd_soc_dapm_context *dapm) in corgi_ext_control() argument
46 snd_soc_dapm_mutex_lock(dapm); in corgi_ext_control()
54 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic Jack"); in corgi_ext_control()
55 snd_soc_dapm_disable_pin_unlocked(dapm, "Line Jack"); in corgi_ext_control()
56 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in corgi_ext_control()
57 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in corgi_ext_control()
63 snd_soc_dapm_enable_pin_unlocked(dapm, "Mic Jack"); in corgi_ext_control()
64 snd_soc_dapm_disable_pin_unlocked(dapm, "Line Jack"); in corgi_ext_control()
65 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in corgi_ext_control()
66 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in corgi_ext_control()
[all …]
Dtosa.c39 static void tosa_ext_control(struct snd_soc_dapm_context *dapm) in tosa_ext_control() argument
42 snd_soc_dapm_mutex_lock(dapm); in tosa_ext_control()
47 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control()
48 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control()
49 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control()
52 snd_soc_dapm_enable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control()
53 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control()
54 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control()
57 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control()
58 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control()
[all …]
Dmagician.c39 static void magician_ext_control(struct snd_soc_dapm_context *dapm) in magician_ext_control() argument
42 snd_soc_dapm_mutex_lock(dapm); in magician_ext_control()
45 snd_soc_dapm_enable_pin_unlocked(dapm, "Speaker"); in magician_ext_control()
47 snd_soc_dapm_disable_pin_unlocked(dapm, "Speaker"); in magician_ext_control()
49 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in magician_ext_control()
51 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in magician_ext_control()
55 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Mic"); in magician_ext_control()
56 snd_soc_dapm_enable_pin_unlocked(dapm, "Call Mic"); in magician_ext_control()
59 snd_soc_dapm_disable_pin_unlocked(dapm, "Call Mic"); in magician_ext_control()
60 snd_soc_dapm_enable_pin_unlocked(dapm, "Headset Mic"); in magician_ext_control()
[all …]
Dpoodle.c41 static void poodle_ext_control(struct snd_soc_dapm_context *dapm) in poodle_ext_control() argument
50 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in poodle_ext_control()
56 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in poodle_ext_control()
61 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in poodle_ext_control()
63 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in poodle_ext_control()
66 snd_soc_dapm_sync(dapm); in poodle_ext_control()
74 poodle_ext_control(&rtd->card->dapm); in poodle_startup()
149 poodle_ext_control(&card->dapm); in poodle_set_jack()
169 poodle_ext_control(&card->dapm); in poodle_set_spk()
/kernel/linux/linux-5.10/sound/soc/
Dsoc-dapm.c42 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++;
51 static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm,
58 snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm,
62 snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm,
65 static unsigned int soc_dapm_read(struct snd_soc_dapm_context *dapm, int reg);
150 static void dapm_assert_locked(struct snd_soc_dapm_context *dapm) in dapm_assert_locked() argument
152 if (dapm->card && dapm->card->instantiated) in dapm_assert_locked()
153 lockdep_assert_held(&dapm->card->dapm_mutex); in dapm_assert_locked()
190 dapm_assert_locked(w->dapm); in dapm_mark_dirty()
193 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty()
[all …]
Dsoc-component.c141 struct snd_soc_dapm_context *dapm = in snd_soc_component_enable_pin() local
143 return snd_soc_dapm_enable_pin(dapm, pin); in snd_soc_component_enable_pin()
150 struct snd_soc_dapm_context *dapm = in snd_soc_component_enable_pin_unlocked() local
152 return snd_soc_dapm_enable_pin_unlocked(dapm, pin); in snd_soc_component_enable_pin_unlocked()
159 struct snd_soc_dapm_context *dapm = in snd_soc_component_disable_pin() local
161 return snd_soc_dapm_disable_pin(dapm, pin); in snd_soc_component_disable_pin()
168 struct snd_soc_dapm_context *dapm = in snd_soc_component_disable_pin_unlocked() local
170 return snd_soc_dapm_disable_pin_unlocked(dapm, pin); in snd_soc_component_disable_pin_unlocked()
177 struct snd_soc_dapm_context *dapm = in snd_soc_component_nc_pin() local
179 return snd_soc_dapm_nc_pin(dapm, pin); in snd_soc_component_nc_pin()
[all …]
/kernel/linux/linux-5.10/sound/soc/ti/
Dams-delta.c104 struct snd_soc_dapm_context *dapm = &card->dapm; in ams_delta_set_audio_mode() local
116 snd_soc_dapm_mutex_lock(dapm); in ams_delta_set_audio_mode()
124 if (pin != snd_soc_dapm_get_pin_status(dapm, "Mouthpiece")) { in ams_delta_set_audio_mode()
127 snd_soc_dapm_enable_pin_unlocked(dapm, "Mouthpiece"); in ams_delta_set_audio_mode()
129 snd_soc_dapm_disable_pin_unlocked(dapm, "Mouthpiece"); in ams_delta_set_audio_mode()
132 if (pin != snd_soc_dapm_get_pin_status(dapm, "Earpiece")) { in ams_delta_set_audio_mode()
135 snd_soc_dapm_enable_pin_unlocked(dapm, "Earpiece"); in ams_delta_set_audio_mode()
137 snd_soc_dapm_disable_pin_unlocked(dapm, "Earpiece"); in ams_delta_set_audio_mode()
140 if (pin != snd_soc_dapm_get_pin_status(dapm, "Microphone")) { in ams_delta_set_audio_mode()
143 snd_soc_dapm_enable_pin_unlocked(dapm, "Microphone"); in ams_delta_set_audio_mode()
[all …]
Domap3pandora.c77 dev_err(w->dapm->dev, "Failed to power DAC: %d\n", ret); in omap3pandora_dac_event()
143 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in omap3pandora_out_init() local
146 snd_soc_dapm_nc_pin(dapm, "EARPIECE"); in omap3pandora_out_init()
147 snd_soc_dapm_nc_pin(dapm, "PREDRIVEL"); in omap3pandora_out_init()
148 snd_soc_dapm_nc_pin(dapm, "PREDRIVER"); in omap3pandora_out_init()
149 snd_soc_dapm_nc_pin(dapm, "HSOL"); in omap3pandora_out_init()
150 snd_soc_dapm_nc_pin(dapm, "HSOR"); in omap3pandora_out_init()
151 snd_soc_dapm_nc_pin(dapm, "CARKITL"); in omap3pandora_out_init()
152 snd_soc_dapm_nc_pin(dapm, "CARKITR"); in omap3pandora_out_init()
153 snd_soc_dapm_nc_pin(dapm, "HFL"); in omap3pandora_out_init()
[all …]
Domap-twl4030.c139 static inline void twl4030_disconnect_pin(struct snd_soc_dapm_context *dapm, in twl4030_disconnect_pin() argument
143 snd_soc_dapm_disable_pin(dapm, pin); in twl4030_disconnect_pin()
149 struct snd_soc_dapm_context *dapm = &card->dapm; in omap_twl4030_init() local
180 twl4030_disconnect_pin(dapm, pdata->has_ear, "Earpiece Spk"); in omap_twl4030_init()
181 twl4030_disconnect_pin(dapm, pdata->has_hf, "Handsfree Spk"); in omap_twl4030_init()
182 twl4030_disconnect_pin(dapm, pdata->has_hs, "Headset Stereophone"); in omap_twl4030_init()
183 twl4030_disconnect_pin(dapm, pdata->has_predriv, "Ext Spk"); in omap_twl4030_init()
184 twl4030_disconnect_pin(dapm, pdata->has_carkit, "Carkit Spk"); in omap_twl4030_init()
186 twl4030_disconnect_pin(dapm, pdata->has_mainmic, "Main Mic"); in omap_twl4030_init()
187 twl4030_disconnect_pin(dapm, pdata->has_submic, "Sub Mic"); in omap_twl4030_init()
[all …]
Dn810.c42 static void n810_ext_control(struct snd_soc_dapm_context *dapm) in n810_ext_control() argument
58 snd_soc_dapm_mutex_lock(dapm); in n810_ext_control()
61 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control()
63 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control()
66 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in n810_ext_control()
68 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in n810_ext_control()
70 snd_soc_dapm_enable_pin_unlocked(dapm, "HS Mic"); in n810_ext_control()
72 snd_soc_dapm_disable_pin_unlocked(dapm, "HS Mic"); in n810_ext_control()
75 snd_soc_dapm_enable_pin_unlocked(dapm, "DMic"); in n810_ext_control()
77 snd_soc_dapm_disable_pin_unlocked(dapm, "DMic"); in n810_ext_control()
[all …]
Drx51.c45 static void rx51_ext_control(struct snd_soc_dapm_context *dapm) in rx51_ext_control() argument
47 struct snd_soc_card *card = dapm->card; in rx51_ext_control()
64 snd_soc_dapm_mutex_lock(dapm); in rx51_ext_control()
67 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control()
69 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control()
71 snd_soc_dapm_enable_pin_unlocked(dapm, "DMic"); in rx51_ext_control()
73 snd_soc_dapm_disable_pin_unlocked(dapm, "DMic"); in rx51_ext_control()
75 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in rx51_ext_control()
77 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in rx51_ext_control()
79 snd_soc_dapm_enable_pin_unlocked(dapm, "HS Mic"); in rx51_ext_control()
[all …]
/kernel/linux/linux-5.10/sound/soc/samsung/
Dsmdk_wm8994.c82 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smdk_wm8994_init_paiftx() local
85 snd_soc_dapm_nc_pin(dapm, "HPOUT2P"); in smdk_wm8994_init_paiftx()
86 snd_soc_dapm_nc_pin(dapm, "HPOUT2N"); in smdk_wm8994_init_paiftx()
87 snd_soc_dapm_nc_pin(dapm, "SPKOUTLN"); in smdk_wm8994_init_paiftx()
88 snd_soc_dapm_nc_pin(dapm, "SPKOUTLP"); in smdk_wm8994_init_paiftx()
89 snd_soc_dapm_nc_pin(dapm, "SPKOUTRP"); in smdk_wm8994_init_paiftx()
90 snd_soc_dapm_nc_pin(dapm, "SPKOUTRN"); in smdk_wm8994_init_paiftx()
91 snd_soc_dapm_nc_pin(dapm, "LINEOUT1N"); in smdk_wm8994_init_paiftx()
92 snd_soc_dapm_nc_pin(dapm, "LINEOUT1P"); in smdk_wm8994_init_paiftx()
93 snd_soc_dapm_nc_pin(dapm, "LINEOUT2N"); in smdk_wm8994_init_paiftx()
[all …]
Dspeyside.c20 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level() argument
30 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level()
56 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level_post() argument
66 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post()
71 if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post()
93 card->dapm.bias_level = level; in speyside_set_bias_level_post()
173 snd_soc_dapm_ignore_suspend(&card->dapm, "Headphone"); in speyside_late_probe()
174 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); in speyside_late_probe()
175 snd_soc_dapm_ignore_suspend(&card->dapm, "Main AMIC"); in speyside_late_probe()
176 snd_soc_dapm_ignore_suspend(&card->dapm, "Main DMIC"); in speyside_late_probe()
[all …]
Dneo1973_wm8753.c249 snd_soc_dapm_disable_pin(&card->dapm, "GSM Line Out"); in neo1973_wm8753_init()
250 snd_soc_dapm_disable_pin(&card->dapm, "GSM Line In"); in neo1973_wm8753_init()
251 snd_soc_dapm_disable_pin(&card->dapm, "Headset Mic"); in neo1973_wm8753_init()
252 snd_soc_dapm_disable_pin(&card->dapm, "Handset Mic"); in neo1973_wm8753_init()
253 snd_soc_dapm_disable_pin(&card->dapm, "Stereo Out"); in neo1973_wm8753_init()
254 snd_soc_dapm_disable_pin(&card->dapm, "Handset Spk"); in neo1973_wm8753_init()
257 snd_soc_dapm_ignore_suspend(&card->dapm, "GSM Line Out"); in neo1973_wm8753_init()
258 snd_soc_dapm_ignore_suspend(&card->dapm, "GSM Line In"); in neo1973_wm8753_init()
259 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); in neo1973_wm8753_init()
260 snd_soc_dapm_ignore_suspend(&card->dapm, "Handset Mic"); in neo1973_wm8753_init()
[all …]
Dsmartq_wm8987.c132 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smartq_wm8987_init() local
136 snd_soc_dapm_nc_pin(dapm, "LINPUT1"); in smartq_wm8987_init()
137 snd_soc_dapm_nc_pin(dapm, "RINPUT1"); in smartq_wm8987_init()
138 snd_soc_dapm_nc_pin(dapm, "OUT3"); in smartq_wm8987_init()
139 snd_soc_dapm_nc_pin(dapm, "ROUT1"); in smartq_wm8987_init()
/kernel/linux/linux-5.10/sound/soc/ux500/
Dmop500_ab8500.c362 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in mop500_ab8500_machine_init() local
411 ret = snd_soc_dapm_disable_pin(dapm, "Earpiece"); in mop500_ab8500_machine_init()
412 ret |= snd_soc_dapm_disable_pin(dapm, "Speaker Left"); in mop500_ab8500_machine_init()
413 ret |= snd_soc_dapm_disable_pin(dapm, "Speaker Right"); in mop500_ab8500_machine_init()
414 ret |= snd_soc_dapm_disable_pin(dapm, "LineOut Left"); in mop500_ab8500_machine_init()
415 ret |= snd_soc_dapm_disable_pin(dapm, "LineOut Right"); in mop500_ab8500_machine_init()
416 ret |= snd_soc_dapm_disable_pin(dapm, "Vibra 1"); in mop500_ab8500_machine_init()
417 ret |= snd_soc_dapm_disable_pin(dapm, "Vibra 2"); in mop500_ab8500_machine_init()
418 ret |= snd_soc_dapm_disable_pin(dapm, "Mic 1"); in mop500_ab8500_machine_init()
419 ret |= snd_soc_dapm_disable_pin(dapm, "Mic 2"); in mop500_ab8500_machine_init()
[all …]
/kernel/linux/linux-5.10/drivers/staging/greybus/
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()
122 list_for_each_entry_safe(w, next_w, &dapm->card->widgets, in gbaudio_dapm_free_controls()
124 if (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()
/kernel/linux/linux-5.10/sound/soc/atmel/
Dtse850-pcm5142.c63 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux1() local
64 struct snd_soc_card *card = dapm->card; in tse850_get_mux1()
75 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux1() local
76 struct snd_soc_card *card = dapm->card; in tse850_put_mux1()
93 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux2() local
94 struct snd_soc_card *card = dapm->card; in tse850_get_mux2()
105 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux2() local
106 struct snd_soc_card *card = dapm->card; in tse850_put_mux2()
123 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mix() local
124 struct snd_soc_card *card = dapm->card; in tse850_get_mix()
[all …]
/kernel/linux/linux-5.10/sound/soc/intel/boards/
Dsof_sdw_max98373.c44 ret = snd_soc_dapm_new_controls(&card->dapm, mx8373_widgets, in spk_init()
51 ret = snd_soc_dapm_add_routes(&card->dapm, max_98373_dapm_routes, 2); in spk_init()
116 struct snd_soc_dapm_context *dapm = &card->dapm; in sof_sdw_mx8373_late_probe() local
119 snd_soc_dapm_disable_pin(dapm, "Left Spk"); in sof_sdw_mx8373_late_probe()
120 snd_soc_dapm_disable_pin(dapm, "Right Spk"); in sof_sdw_mx8373_late_probe()
121 return snd_soc_dapm_sync(dapm); in sof_sdw_mx8373_late_probe()
Dsof_maxim_common.c75 struct snd_soc_dapm_context *dapm = in max98373_trigger() local
86 ret = snd_soc_dapm_enable_pin(dapm, pin_name); in max98373_trigger()
88 snd_soc_dapm_sync(dapm); in max98373_trigger()
93 ret = snd_soc_dapm_disable_pin(dapm, pin_name); in max98373_trigger()
95 snd_soc_dapm_sync(dapm); in max98373_trigger()
115 ret = snd_soc_dapm_add_routes(&card->dapm, max_98373_dapm_routes, in max98373_spk_codec_init()
Dbdw-rt5677.c30 struct snd_soc_dapm_context *dapm = w->dapm; in bdw_rt5677_event_hp() local
31 struct snd_soc_card *card = dapm->card; in bdw_rt5677_event_hp()
231 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in bdw_rt5677_init() local
282 snd_soc_dapm_force_enable_pin(dapm, "MICBIAS1"); in bdw_rt5677_init()
369 struct snd_soc_dapm_context *dapm; in bdw_rt5677_suspend_pre() local
372 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_suspend_pre()
373 snd_soc_dapm_disable_pin(dapm, "MICBIAS1"); in bdw_rt5677_suspend_pre()
381 struct snd_soc_dapm_context *dapm; in bdw_rt5677_resume_post() local
384 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_resume_post()
385 snd_soc_dapm_force_enable_pin(dapm, "MICBIAS1"); in bdw_rt5677_resume_post()
/kernel/linux/linux-5.10/sound/soc/sunxi/
Dsun8i-codec-analog.c347 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in sun8i_headphone_amp_event()
394 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_headphone() local
406 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_headphone_widgets, in sun8i_codec_add_headphone()
413 ret = snd_soc_dapm_add_routes(dapm, sun8i_codec_headphone_routes, in sun8i_codec_add_headphone()
432 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_mbias() local
436 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_mbias_widgets, in sun8i_codec_add_mbias()
453 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_hmic() local
457 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_hmic_widgets, in sun8i_codec_add_hmic()
490 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_linein() local
502 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_linein_widgets, in sun8i_codec_add_linein()
[all …]
/kernel/linux/linux-5.10/include/sound/
Dsoc-dapm.h421 int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm,
425 struct snd_soc_dapm_context *dapm,
428 struct snd_soc_dapm_context *dapm,
430 int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm,
441 void snd_soc_dapm_free(struct snd_soc_dapm_context *dapm);
442 void snd_soc_dapm_init(struct snd_soc_dapm_context *dapm,
445 int snd_soc_dapm_add_routes(struct snd_soc_dapm_context *dapm,
447 int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
449 int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
452 void snd_soc_dapm_reset_cache(struct snd_soc_dapm_context *dapm);
[all …]
/kernel/linux/linux-5.10/drivers/input/misc/
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()

12345678910>>...12