/Linux-v4.19/sound/soc/ |
D | soc-dapm.c | 43 #define DAPM_UPDATE_STAT(widget, val) widget->dapm->card->dapm_stats.val++; 52 static int snd_soc_dapm_add_path(struct snd_soc_dapm_context *dapm, 59 snd_soc_dapm_new_control(struct snd_soc_dapm_context *dapm, 63 snd_soc_dapm_new_control_unlocked(struct snd_soc_dapm_context *dapm, 125 static void dapm_assert_locked(struct snd_soc_dapm_context *dapm) in dapm_assert_locked() argument 127 if (dapm->card && dapm->card->instantiated) in dapm_assert_locked() 128 lockdep_assert_held(&dapm->card->dapm_mutex); in dapm_assert_locked() 164 dapm_assert_locked(w->dapm); in dapm_mark_dirty() 167 dev_vdbg(w->dapm->dev, "Marking %s dirty due to %s\n", in dapm_mark_dirty() 169 list_add_tail(&w->dirty, &w->dapm->card->dapm_dirty); in dapm_mark_dirty() [all …]
|
D | soc-utils.c | 58 struct snd_soc_dapm_context *dapm = in snd_soc_component_enable_pin() local 64 return snd_soc_dapm_enable_pin(dapm, pin); in snd_soc_component_enable_pin() 70 ret = snd_soc_dapm_enable_pin(dapm, full_name); in snd_soc_component_enable_pin() 80 struct snd_soc_dapm_context *dapm = in snd_soc_component_enable_pin_unlocked() local 86 return snd_soc_dapm_enable_pin_unlocked(dapm, pin); in snd_soc_component_enable_pin_unlocked() 92 ret = snd_soc_dapm_enable_pin_unlocked(dapm, full_name); in snd_soc_component_enable_pin_unlocked() 102 struct snd_soc_dapm_context *dapm = in snd_soc_component_disable_pin() local 108 return snd_soc_dapm_disable_pin(dapm, pin); in snd_soc_component_disable_pin() 114 ret = snd_soc_dapm_disable_pin(dapm, full_name); in snd_soc_component_disable_pin() 124 struct snd_soc_dapm_context *dapm = in snd_soc_component_disable_pin_unlocked() local [all …]
|
/Linux-v4.19/sound/soc/pxa/ |
D | spitz.c | 47 static void spitz_ext_control(struct snd_soc_dapm_context *dapm) in spitz_ext_control() argument 49 snd_soc_dapm_mutex_lock(dapm); in spitz_ext_control() 52 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control() 54 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in spitz_ext_control() 60 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() 61 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic Jack"); in spitz_ext_control() 62 snd_soc_dapm_disable_pin_unlocked(dapm, "Line Jack"); in spitz_ext_control() 63 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in spitz_ext_control() 69 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in spitz_ext_control() 70 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in spitz_ext_control() [all …]
|
D | corgi.c | 48 static void corgi_ext_control(struct snd_soc_dapm_context *dapm) in corgi_ext_control() argument 50 snd_soc_dapm_mutex_lock(dapm); in corgi_ext_control() 58 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic Jack"); in corgi_ext_control() 59 snd_soc_dapm_disable_pin_unlocked(dapm, "Line Jack"); in corgi_ext_control() 60 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in corgi_ext_control() 61 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in corgi_ext_control() 67 snd_soc_dapm_enable_pin_unlocked(dapm, "Mic Jack"); in corgi_ext_control() 68 snd_soc_dapm_disable_pin_unlocked(dapm, "Line Jack"); in corgi_ext_control() 69 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in corgi_ext_control() 70 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in corgi_ext_control() [all …]
|
D | tosa.c | 44 static void tosa_ext_control(struct snd_soc_dapm_context *dapm) in tosa_ext_control() argument 47 snd_soc_dapm_mutex_lock(dapm); in tosa_ext_control() 52 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control() 53 snd_soc_dapm_enable_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_enable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control() 58 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control() 59 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Jack"); in tosa_ext_control() 62 snd_soc_dapm_disable_pin_unlocked(dapm, "Mic (Internal)"); in tosa_ext_control() 63 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in tosa_ext_control() [all …]
|
D | magician.c | 44 static void magician_ext_control(struct snd_soc_dapm_context *dapm) in magician_ext_control() argument 47 snd_soc_dapm_mutex_lock(dapm); in magician_ext_control() 50 snd_soc_dapm_enable_pin_unlocked(dapm, "Speaker"); in magician_ext_control() 52 snd_soc_dapm_disable_pin_unlocked(dapm, "Speaker"); in magician_ext_control() 54 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in magician_ext_control() 56 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in magician_ext_control() 60 snd_soc_dapm_disable_pin_unlocked(dapm, "Headset Mic"); in magician_ext_control() 61 snd_soc_dapm_enable_pin_unlocked(dapm, "Call Mic"); in magician_ext_control() 64 snd_soc_dapm_disable_pin_unlocked(dapm, "Call Mic"); in magician_ext_control() 65 snd_soc_dapm_enable_pin_unlocked(dapm, "Headset Mic"); in magician_ext_control() [all …]
|
D | poodle.c | 46 static void poodle_ext_control(struct snd_soc_dapm_context *dapm) in poodle_ext_control() argument 55 snd_soc_dapm_enable_pin(dapm, "Headphone Jack"); in poodle_ext_control() 61 snd_soc_dapm_disable_pin(dapm, "Headphone Jack"); in poodle_ext_control() 66 snd_soc_dapm_enable_pin(dapm, "Ext Spk"); in poodle_ext_control() 68 snd_soc_dapm_disable_pin(dapm, "Ext Spk"); in poodle_ext_control() 71 snd_soc_dapm_sync(dapm); in poodle_ext_control() 79 poodle_ext_control(&rtd->card->dapm); in poodle_startup() 154 poodle_ext_control(&card->dapm); in poodle_set_jack() 174 poodle_ext_control(&card->dapm); in poodle_set_spk()
|
/Linux-v4.19/sound/soc/omap/ |
D | ams-delta.c | 101 struct snd_soc_dapm_context *dapm = &card->dapm; in ams_delta_set_audio_mode() local 113 snd_soc_dapm_mutex_lock(dapm); in ams_delta_set_audio_mode() 121 if (pin != snd_soc_dapm_get_pin_status(dapm, "Mouthpiece")) { in ams_delta_set_audio_mode() 124 snd_soc_dapm_enable_pin_unlocked(dapm, "Mouthpiece"); in ams_delta_set_audio_mode() 126 snd_soc_dapm_disable_pin_unlocked(dapm, "Mouthpiece"); in ams_delta_set_audio_mode() 129 if (pin != snd_soc_dapm_get_pin_status(dapm, "Earpiece")) { in ams_delta_set_audio_mode() 132 snd_soc_dapm_enable_pin_unlocked(dapm, "Earpiece"); in ams_delta_set_audio_mode() 134 snd_soc_dapm_disable_pin_unlocked(dapm, "Earpiece"); in ams_delta_set_audio_mode() 137 if (pin != snd_soc_dapm_get_pin_status(dapm, "Microphone")) { in ams_delta_set_audio_mode() 140 snd_soc_dapm_enable_pin_unlocked(dapm, "Microphone"); in ams_delta_set_audio_mode() [all …]
|
D | omap3pandora.c | 91 dev_err(w->dapm->dev, "Failed to power DAC: %d\n", ret); in omap3pandora_dac_event() 157 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in omap3pandora_out_init() local 160 snd_soc_dapm_nc_pin(dapm, "EARPIECE"); in omap3pandora_out_init() 161 snd_soc_dapm_nc_pin(dapm, "PREDRIVEL"); in omap3pandora_out_init() 162 snd_soc_dapm_nc_pin(dapm, "PREDRIVER"); in omap3pandora_out_init() 163 snd_soc_dapm_nc_pin(dapm, "HSOL"); in omap3pandora_out_init() 164 snd_soc_dapm_nc_pin(dapm, "HSOR"); in omap3pandora_out_init() 165 snd_soc_dapm_nc_pin(dapm, "CARKITL"); in omap3pandora_out_init() 166 snd_soc_dapm_nc_pin(dapm, "CARKITR"); in omap3pandora_out_init() 167 snd_soc_dapm_nc_pin(dapm, "HFL"); in omap3pandora_out_init() [all …]
|
D | omap-twl4030.c | 153 static inline void twl4030_disconnect_pin(struct snd_soc_dapm_context *dapm, in twl4030_disconnect_pin() argument 157 snd_soc_dapm_disable_pin(dapm, pin); in twl4030_disconnect_pin() 163 struct snd_soc_dapm_context *dapm = &card->dapm; in omap_twl4030_init() local 194 twl4030_disconnect_pin(dapm, pdata->has_ear, "Earpiece Spk"); in omap_twl4030_init() 195 twl4030_disconnect_pin(dapm, pdata->has_hf, "Handsfree Spk"); in omap_twl4030_init() 196 twl4030_disconnect_pin(dapm, pdata->has_hs, "Headset Stereophone"); in omap_twl4030_init() 197 twl4030_disconnect_pin(dapm, pdata->has_predriv, "Ext Spk"); in omap_twl4030_init() 198 twl4030_disconnect_pin(dapm, pdata->has_carkit, "Carkit Spk"); in omap_twl4030_init() 200 twl4030_disconnect_pin(dapm, pdata->has_mainmic, "Main Mic"); in omap_twl4030_init() 201 twl4030_disconnect_pin(dapm, pdata->has_submic, "Sub Mic"); in omap_twl4030_init() [all …]
|
D | n810.c | 56 static void n810_ext_control(struct snd_soc_dapm_context *dapm) in n810_ext_control() argument 71 snd_soc_dapm_mutex_lock(dapm); in n810_ext_control() 74 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control() 76 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in n810_ext_control() 79 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in n810_ext_control() 81 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in n810_ext_control() 83 snd_soc_dapm_enable_pin_unlocked(dapm, "HS Mic"); in n810_ext_control() 85 snd_soc_dapm_disable_pin_unlocked(dapm, "HS Mic"); in n810_ext_control() 88 snd_soc_dapm_enable_pin_unlocked(dapm, "DMic"); in n810_ext_control() 90 snd_soc_dapm_disable_pin_unlocked(dapm, "DMic"); in n810_ext_control() [all …]
|
D | rx51.c | 59 static void rx51_ext_control(struct snd_soc_dapm_context *dapm) in rx51_ext_control() argument 61 struct snd_soc_card *card = dapm->card; in rx51_ext_control() 77 snd_soc_dapm_mutex_lock(dapm); in rx51_ext_control() 80 snd_soc_dapm_enable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control() 82 snd_soc_dapm_disable_pin_unlocked(dapm, "Ext Spk"); in rx51_ext_control() 84 snd_soc_dapm_enable_pin_unlocked(dapm, "DMic"); in rx51_ext_control() 86 snd_soc_dapm_disable_pin_unlocked(dapm, "DMic"); in rx51_ext_control() 88 snd_soc_dapm_enable_pin_unlocked(dapm, "Headphone Jack"); in rx51_ext_control() 90 snd_soc_dapm_disable_pin_unlocked(dapm, "Headphone Jack"); in rx51_ext_control() 92 snd_soc_dapm_enable_pin_unlocked(dapm, "HS Mic"); in rx51_ext_control() [all …]
|
/Linux-v4.19/sound/soc/samsung/ |
D | smdk_wm8994.c | 89 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smdk_wm8994_init_paiftx() local 92 snd_soc_dapm_nc_pin(dapm, "HPOUT2P"); in smdk_wm8994_init_paiftx() 93 snd_soc_dapm_nc_pin(dapm, "HPOUT2N"); in smdk_wm8994_init_paiftx() 94 snd_soc_dapm_nc_pin(dapm, "SPKOUTLN"); in smdk_wm8994_init_paiftx() 95 snd_soc_dapm_nc_pin(dapm, "SPKOUTLP"); in smdk_wm8994_init_paiftx() 96 snd_soc_dapm_nc_pin(dapm, "SPKOUTRP"); in smdk_wm8994_init_paiftx() 97 snd_soc_dapm_nc_pin(dapm, "SPKOUTRN"); in smdk_wm8994_init_paiftx() 98 snd_soc_dapm_nc_pin(dapm, "LINEOUT1N"); in smdk_wm8994_init_paiftx() 99 snd_soc_dapm_nc_pin(dapm, "LINEOUT1P"); in smdk_wm8994_init_paiftx() 100 snd_soc_dapm_nc_pin(dapm, "LINEOUT2N"); in smdk_wm8994_init_paiftx() [all …]
|
D | speyside.c | 25 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level() argument 35 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level() 61 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level_post() argument 71 if (dapm->dev != codec_dai->dev) in speyside_set_bias_level_post() 76 if (card->dapm.bias_level == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post() 98 card->dapm.bias_level = level; in speyside_set_bias_level_post() 178 snd_soc_dapm_ignore_suspend(&card->dapm, "Headphone"); in speyside_late_probe() 179 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); in speyside_late_probe() 180 snd_soc_dapm_ignore_suspend(&card->dapm, "Main AMIC"); in speyside_late_probe() 181 snd_soc_dapm_ignore_suspend(&card->dapm, "Main DMIC"); in speyside_late_probe() [all …]
|
D | neo1973_wm8753.c | 256 snd_soc_dapm_disable_pin(&card->dapm, "GSM Line Out"); in neo1973_wm8753_init() 257 snd_soc_dapm_disable_pin(&card->dapm, "GSM Line In"); in neo1973_wm8753_init() 258 snd_soc_dapm_disable_pin(&card->dapm, "Headset Mic"); in neo1973_wm8753_init() 259 snd_soc_dapm_disable_pin(&card->dapm, "Handset Mic"); in neo1973_wm8753_init() 260 snd_soc_dapm_disable_pin(&card->dapm, "Stereo Out"); in neo1973_wm8753_init() 261 snd_soc_dapm_disable_pin(&card->dapm, "Handset Spk"); in neo1973_wm8753_init() 264 snd_soc_dapm_ignore_suspend(&card->dapm, "GSM Line Out"); in neo1973_wm8753_init() 265 snd_soc_dapm_ignore_suspend(&card->dapm, "GSM Line In"); in neo1973_wm8753_init() 266 snd_soc_dapm_ignore_suspend(&card->dapm, "Headset Mic"); in neo1973_wm8753_init() 267 snd_soc_dapm_ignore_suspend(&card->dapm, "Handset Mic"); in neo1973_wm8753_init() [all …]
|
D | smartq_wm8987.c | 139 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in smartq_wm8987_init() local 143 snd_soc_dapm_nc_pin(dapm, "LINPUT1"); in smartq_wm8987_init() 144 snd_soc_dapm_nc_pin(dapm, "RINPUT1"); in smartq_wm8987_init() 145 snd_soc_dapm_nc_pin(dapm, "OUT3"); in smartq_wm8987_init() 146 snd_soc_dapm_nc_pin(dapm, "ROUT1"); in smartq_wm8987_init()
|
/Linux-v4.19/sound/soc/ux500/ |
D | mop500_ab8500.c | 365 struct snd_soc_dapm_context *dapm = &rtd->card->dapm; in mop500_ab8500_machine_init() local 414 ret = snd_soc_dapm_disable_pin(dapm, "Earpiece"); in mop500_ab8500_machine_init() 415 ret |= snd_soc_dapm_disable_pin(dapm, "Speaker Left"); in mop500_ab8500_machine_init() 416 ret |= snd_soc_dapm_disable_pin(dapm, "Speaker Right"); in mop500_ab8500_machine_init() 417 ret |= snd_soc_dapm_disable_pin(dapm, "LineOut Left"); in mop500_ab8500_machine_init() 418 ret |= snd_soc_dapm_disable_pin(dapm, "LineOut Right"); in mop500_ab8500_machine_init() 419 ret |= snd_soc_dapm_disable_pin(dapm, "Vibra 1"); in mop500_ab8500_machine_init() 420 ret |= snd_soc_dapm_disable_pin(dapm, "Vibra 2"); in mop500_ab8500_machine_init() 421 ret |= snd_soc_dapm_disable_pin(dapm, "Mic 1"); in mop500_ab8500_machine_init() 422 ret |= snd_soc_dapm_disable_pin(dapm, "Mic 2"); in mop500_ab8500_machine_init() [all …]
|
/Linux-v4.19/sound/soc/atmel/ |
D | tse850-pcm5142.c | 69 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux1() local 70 struct snd_soc_card *card = dapm->card; in tse850_get_mux1() 81 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux1() local 82 struct snd_soc_card *card = dapm->card; in tse850_put_mux1() 99 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mux2() local 100 struct snd_soc_card *card = dapm->card; in tse850_get_mux2() 111 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_put_mux2() local 112 struct snd_soc_card *card = dapm->card; in tse850_put_mux2() 129 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kctrl); in tse850_get_mix() local 130 struct snd_soc_card *card = dapm->card; in tse850_get_mix() [all …]
|
/Linux-v4.19/sound/soc/intel/boards/ |
D | bdw-rt5677.c | 43 struct snd_soc_dapm_context *dapm = w->dapm; in bdw_rt5677_event_hp() local 44 struct snd_soc_card *card = dapm->card; in bdw_rt5677_event_hp() 206 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in bdw_rt5677_init() local 252 snd_soc_dapm_force_enable_pin(dapm, "MICBIAS1"); in bdw_rt5677_init() 301 struct snd_soc_dapm_context *dapm; in bdw_rt5677_suspend_pre() local 304 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_suspend_pre() 305 snd_soc_dapm_disable_pin(dapm, "MICBIAS1"); in bdw_rt5677_suspend_pre() 313 struct snd_soc_dapm_context *dapm; in bdw_rt5677_resume_post() local 316 dapm = snd_soc_component_get_dapm(bdw_rt5677->component); in bdw_rt5677_resume_post() 317 snd_soc_dapm_force_enable_pin(dapm, "MICBIAS1"); in bdw_rt5677_resume_post()
|
D | cht_bsw_max98090_ti.c | 47 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() local 48 struct snd_soc_card *card = dapm->card; in platform_clock_control() 131 struct snd_soc_dapm_context *dapm = &jack->card->dapm; in cht_ti_jack_event() local 134 snd_soc_dapm_force_enable_pin(dapm, "SHDN"); in cht_ti_jack_event() 135 snd_soc_dapm_force_enable_pin(dapm, "MICBIAS"); in cht_ti_jack_event() 136 snd_soc_dapm_sync(dapm); in cht_ti_jack_event() 138 snd_soc_dapm_disable_pin(dapm, "MICBIAS"); in cht_ti_jack_event() 139 snd_soc_dapm_disable_pin(dapm, "SHDN"); in cht_ti_jack_event() 140 snd_soc_dapm_sync(dapm); in cht_ti_jack_event()
|
/Linux-v4.19/sound/soc/sunxi/ |
D | sun8i-codec-analog.c | 429 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in sun8i_headphone_amp_event() 476 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_headphone() local 488 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_headphone_widgets, in sun8i_codec_add_headphone() 495 ret = snd_soc_dapm_add_routes(dapm, sun8i_codec_headphone_routes, in sun8i_codec_add_headphone() 514 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_mbias() local 518 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_mbias_widgets, in sun8i_codec_add_mbias() 535 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_hmic() local 539 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_hmic_widgets, in sun8i_codec_add_hmic() 572 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); in sun8i_codec_add_linein() local 584 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_linein_widgets, in sun8i_codec_add_linein() [all …]
|
/Linux-v4.19/include/sound/ |
D | soc-dapm.h | 399 int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm, 403 struct snd_soc_dapm_context *dapm, 405 int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm, 418 void snd_soc_dapm_free(struct snd_soc_dapm_context *dapm); 419 int snd_soc_dapm_add_routes(struct snd_soc_dapm_context *dapm, 421 int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm, 423 int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm, 426 void snd_soc_dapm_reset_cache(struct snd_soc_dapm_context *dapm); 434 int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm, 437 int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm, [all …]
|
/Linux-v4.19/drivers/input/misc/ |
D | arizona-haptics.c | 41 snd_soc_dapm_to_component(arizona->dapm); in arizona_haptics_work() 44 if (!haptics->arizona->dapm) { in arizona_haptics_work() 78 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work() 93 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work() 117 if (!arizona->dapm) { in arizona_haptics_play() 149 if (haptics->arizona->dapm) { in arizona_haptics_close() 150 component = snd_soc_dapm_to_component(haptics->arizona->dapm); in arizona_haptics_close()
|
/Linux-v4.19/sound/soc/sirf/ |
D | sirf-audio.c | 26 struct snd_soc_dapm_context *dapm = w->dapm; in sirf_audio_hp_event() local 27 struct snd_soc_card *card = dapm->card; in sirf_audio_hp_event() 39 struct snd_soc_dapm_context *dapm = w->dapm; in sirf_audio_spk_event() local 40 struct snd_soc_card *card = dapm->card; in sirf_audio_spk_event()
|
/Linux-v4.19/sound/soc/codecs/ |
D | adau17x1.c | 66 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adau17x1_pll_event() 96 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adau17x1_adc_fixup() 181 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in adau17x1_dsp_mux_enum_put() local 215 snd_soc_dapm_mux_update_power(dapm, kcontrol, in adau17x1_dsp_mux_enum_put() 357 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(dai->component); in adau17x1_set_dai_sysclk() local 393 snd_soc_dapm_add_routes(dapm, in adau17x1_set_dai_sysclk() 396 snd_soc_dapm_del_routes(dapm, in adau17x1_set_dai_sysclk() 845 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in adau17x1_setup_firmware() local 856 snd_soc_dapm_mutex_lock(dapm); in adau17x1_setup_firmware() 879 snd_soc_dapm_mutex_unlock(dapm); in adau17x1_setup_firmware() [all …]
|