Home
last modified time | relevance | path

Searched full:dapm (Results 1 – 25 of 274) sorted by relevance

1234567891011

/linux/sound/soc/ti/
H A Dams-delta.c41 /* Board specific DAPM widgets */
102 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in ams_delta_set_audio_mode() local
114 snd_soc_dapm_mutex_lock(dapm); in ams_delta_set_audio_mode()
122 if (pin != snd_soc_dapm_get_pin_status(dapm, "Mouthpiece")) { in ams_delta_set_audio_mode()
125 snd_soc_dapm_enable_pin_unlocked(dapm, "Mouthpiece"); in ams_delta_set_audio_mode()
127 snd_soc_dapm_disable_pin_unlocked(dapm, "Mouthpiece"); in ams_delta_set_audio_mode()
130 if (pin != snd_soc_dapm_get_pin_status(dapm, "Earpiece")) { in ams_delta_set_audio_mode()
133 snd_soc_dapm_enable_pin_unlocked(dapm, "Earpiece"); in ams_delta_set_audio_mode()
135 snd_soc_dapm_disable_pin_unlocked(dapm, "Earpiece"); in ams_delta_set_audio_mode()
138 if (pin != snd_soc_dapm_get_pin_status(dapm, "Microphon in ams_delta_set_audio_mode()
175 struct snd_soc_dapm_context *dapm = &card->dapm; ams_delta_get_audio_mode() local
304 struct snd_soc_dapm_context *dapm; cx81801_close() local
465 struct snd_soc_dapm_context *dapm = &card->dapm; ams_delta_cx20442_init() local
[all...]
/linux/tools/sound/
H A Ddapm-graph4 # Generate a graph of the current DAPM state for an audio card
27 Generate a graph of the current DAPM state for an audio card.
29 The DAPM state can be obtained via debugfs for a card on the local host or
38 -c CARD Sound card to get DAPM state of
39 -r REMOTE_TARGET Get DAPM state from REMOTE_TARGET via SSH and SCP
41 -d STATE_DIR Get DAPM state from a local copy of a debugfs tree
42 -o OUT_FILE Output file (default: dapm.dot)
59 # Connect to a remote target via SSH, collect all DAPM files from debufs
60 # into a tarball and get the tarball via SCP into $3/dapm.tar
73 echo "Collecting DAPM state from ${1}"
[all …]
/linux/drivers/staging/greybus/
H A Daudio_helper.c8 #include <sound/soc-dapm.h>
24 if (w->dapm != dai_w->dapm) in gbaudio_dapm_link_dai_widget()
52 /* Add the DAPM path and set widget's linked status in gbaudio_dapm_link_dai_widget()
53 * snd_soc_dapm_add_path(w->dapm, src, sink, NULL, NULL); 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
118 struct snd_soc_card *card = snd_soc_dapm_to_card(dapm); in gbaudio_dapm_free_controls()
[all...]
/linux/sound/soc/sunxi/
H A Dsun8i-codec-analog.c17 #include <sound/soc-dapm.h>
233 * Due to this component and the codec belonging to separate DAPM
346 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in sun8i_headphone_amp_event()
393 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cmpnt); in sun8i_codec_add_headphone() local
405 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_headphone_widgets, in sun8i_codec_add_headphone()
408 dev_err(dev, "Failed to add Headphone DAPM widgets: %d\n", ret); in sun8i_codec_add_headphone()
412 ret = snd_soc_dapm_add_routes(dapm, sun8i_codec_headphone_routes, in sun8i_codec_add_headphone()
415 dev_err(dev, "Failed to add Headphone DAPM routes: %d\n", ret); in sun8i_codec_add_headphone()
431 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cmpnt); in sun8i_codec_add_mbias() local
435 ret = snd_soc_dapm_new_controls(dapm, sun8i_codec_mbias_widget in sun8i_codec_add_mbias()
452 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); sun8i_codec_add_hmic() local
489 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); sun8i_codec_add_linein() local
570 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); sun8i_codec_add_lineout() local
635 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); sun8i_codec_add_mic2() local
691 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(cmpnt); sun8i_codec_analog_add_mixer() local
[all...]
/linux/sound/soc/sdw_utils/
H A Dsoc_sdw_maxim.c14 #include <sound/soc-dapm.h>
29 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in asoc_sdw_maxim_spk_rtd_init()
32 ret = snd_soc_dapm_add_routes(dapm, max_98373_dapm_routes, 2); in asoc_sdw_maxim_spk_rtd_init()
54 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cpu_dai->component); in asoc_sdw_mx8373_enable_spk_pin()
61 ret = snd_soc_dapm_enable_pin(dapm, pin_name); in asoc_sdw_mx8373_enable_spk_pin()
63 ret = snd_soc_dapm_disable_pin(dapm, pin_name); in asoc_sdw_mx8373_enable_spk_pin()
66 snd_soc_dapm_sync(dapm); in asoc_sdw_mx8373_enable_spk_pin()
107 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in asoc_sdw_mx8373_sdw_late_probe() local
110 snd_soc_dapm_disable_pin(dapm, "Left Spk"); in asoc_sdw_mx8373_sdw_late_probe()
111 snd_soc_dapm_disable_pin(dapm, "Righ in asoc_sdw_mx8373_sdw_late_probe()
53 struct snd_soc_dapm_context *dapm = asoc_sdw_mx8373_enable_spk_pin() local
[all...]
H A Dsoc_sdw_rt_sdca_jack_common.c18 #include <sound/soc-dapm.h>
96 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in asoc_sdw_rt_sdca_jack_rtd_init()
122 ret = snd_soc_dapm_add_routes(dapm, rt711_sdca_map, in asoc_sdw_rt_sdca_jack_rtd_init()
125 ret = snd_soc_dapm_add_routes(dapm, rt712_sdca_map, in asoc_sdw_rt_sdca_jack_rtd_init()
128 ret = snd_soc_dapm_add_routes(dapm, rt713_sdca_map, in asoc_sdw_rt_sdca_jack_rtd_init()
131 ret = snd_soc_dapm_add_routes(dapm, rt721_sdca_map, in asoc_sdw_rt_sdca_jack_rtd_init()
134 ret = snd_soc_dapm_add_routes(dapm, rt722_sdca_map, in asoc_sdw_rt_sdca_jack_rtd_init()
H A Dsoc_sdw_dmic.c12 #include <sound/soc-dapm.h>
27 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in asoc_sdw_dmic_init()
30 ret = snd_soc_dapm_new_controls(dapm, dmic_widgets, in asoc_sdw_dmic_init()
38 ret = snd_soc_dapm_add_routes(dapm, dmic_map, in asoc_sdw_dmic_init()
/linux/drivers/input/misc/
H A Darizona-haptics.c16 #include <sound/soc-dapm.h>
39 if (!haptics->arizona->dapm) { in arizona_haptics_work()
40 dev_err(arizona->dev, "No DAPM context\n"); in arizona_haptics_work()
66 ret = snd_soc_dapm_enable_pin(arizona->dapm, "HAPTICS"); in arizona_haptics_work()
73 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work()
75 dev_err(arizona->dev, "Failed to sync DAPM: %d\n", in arizona_haptics_work()
81 ret = snd_soc_dapm_disable_pin(arizona->dapm, "HAPTICS"); in arizona_haptics_work()
88 ret = snd_soc_dapm_sync(arizona->dapm); in arizona_haptics_work()
90 dev_err(arizona->dev, "Failed to sync DAPM: %d\n", in arizona_haptics_work()
112 if (!arizona->dapm) { in arizona_haptics_play()
[all...]
/linux/sound/soc/intel/boards/
H A Dsof_maxim_common.c11 #include <sound/soc-dapm.h>
204 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(cpu_dai->component); in max_98373_trigger() local
214 ret = snd_soc_dapm_enable_pin(dapm, pin_name); in max_98373_trigger()
216 snd_soc_dapm_sync(dapm); in max_98373_trigger()
221 ret = snd_soc_dapm_disable_pin(dapm, pin_name); in max_98373_trigger()
223 snd_soc_dapm_sync(dapm); in max_98373_trigger()
241 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in max_98373_spk_codec_init()
247 ret = snd_soc_dapm_new_controls(dapm, maxim_2spk_widgets, in max_98373_spk_codec_init()
263 ret = snd_soc_dapm_add_routes(dapm, max_98373_dapm_routes, in max_98373_spk_codec_init()
419 struct snd_soc_dapm_context *dapm in max_98390_init()
[all...]
H A Dsof_realtek_common.c12 #include <sound/soc-dapm.h>
189 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in rt1011_init()
196 ret = snd_soc_dapm_new_controls(dapm, realtek_2spk_widgets, in rt1011_init()
212 ret = snd_soc_dapm_add_routes(dapm, speaker_map_lr, in rt1011_init()
229 ret = snd_soc_dapm_new_controls(dapm, realtek_4spk_widgets, num_codecs); in rt1011_init()
243 ret = snd_soc_dapm_add_routes(dapm, rt1011_4spk_routes, num_codecs); in rt1011_init()
345 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in rt1015p_init()
348 ret = snd_soc_dapm_new_controls(dapm, realtek_2spk_widgets, in rt1015p_init()
362 ret = snd_soc_dapm_add_routes(dapm, rt1015p_dapm_routes, in rt1015p_init()
483 struct snd_soc_dapm_context *dapm in speaker_codec_init_lr()
[all...]
H A Dcht_bsw_max98090_ti.c45 struct snd_soc_card *card = snd_soc_dapm_to_card(w->dapm); in platform_clock_control() local
132 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(jack->card); in cht_ti_jack_event()
135 snd_soc_dapm_force_enable_pin(dapm, "SHDN"); in cht_ti_jack_event()
136 snd_soc_dapm_force_enable_pin(dapm, "MICBIAS"); in cht_ti_jack_event()
137 snd_soc_dapm_sync(dapm); in cht_ti_jack_event()
139 snd_soc_dapm_disable_pin(dapm, "MICBIAS"); in cht_ti_jack_event()
140 snd_soc_dapm_disable_pin(dapm, "SHDN"); in cht_ti_jack_event()
141 snd_soc_dapm_sync(dapm); in cht_ti_jack_event()
133 struct snd_soc_dapm_context *dapm = &jack->card->dapm; cht_ti_jack_event() local
/linux/sound/soc/samsung/
H A Dspeyside.c8 #include <sound/soc-dapm.h>
20 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level() argument
30 if (snd_soc_dapm_to_dev(dapm) != codec_dai->dev) in speyside_set_bias_level()
56 struct snd_soc_dapm_context *dapm, in speyside_set_bias_level_post() argument
66 if (snd_soc_dapm_to_dev(dapm) != codec_dai->dev) in speyside_set_bias_level_post()
71 if (snd_soc_dapm_get_bias_level(dapm) == SND_SOC_BIAS_STANDBY) { in speyside_set_bias_level_post()
98 /* Headset jack detection DAPM pins */
127 /* Re-run DAPM to make sure we're using the correct mic bias */ in speyside_set_polarity()
180 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in speyside_late_probe()
182 snd_soc_dapm_ignore_suspend(dapm, "Headphon in speyside_late_probe()
[all...]
H A Dtobermory.c8 #include <sound/soc-dapm.h>
17 struct snd_soc_dapm_context *dapm, in tobermory_set_bias_level() argument
27 if (snd_soc_dapm_to_dev(dapm) != codec_dai->dev) in tobermory_set_bias_level()
32 if (snd_soc_dapm_get_bias_level(dapm) == SND_SOC_BIAS_STANDBY) { in tobermory_set_bias_level()
60 struct snd_soc_dapm_context *dapm, in tobermory_set_bias_level_post() argument
70 if (snd_soc_dapm_to_dev(dapm) != codec_dai->dev) in tobermory_set_bias_level_post()
161 /* Headset jack detection DAPM pins */
H A Dlittlemill.c8 #include <sound/soc-dapm.h>
17 struct snd_soc_dapm_context *dapm, in littlemill_set_bias_level() argument
27 if (snd_soc_dapm_to_dev(dapm) != aif1_dai->dev) in littlemill_set_bias_level()
36 if (snd_soc_dapm_get_bias_level(dapm) == SND_SOC_BIAS_STANDBY) { in littlemill_set_bias_level()
64 struct snd_soc_dapm_context *dapm, in littlemill_set_bias_level_post() argument
74 if (snd_soc_dapm_to_dev(dapm) != aif1_dai->dev) in littlemill_set_bias_level_post()
176 struct snd_soc_card *card = snd_soc_dapm_to_card(w->dapm); in bbclk_ev()
/linux/include/trace/events/
H A Dasoc.h25 TP_PROTO(struct snd_soc_dapm_context *dapm, int val),
27 TP_ARGS(dapm, val),
30 __string( card_name, snd_soc_dapm_to_card(dapm)->name)
31 __string( comp_name, snd_soc_dapm_to_component(dapm) ? snd_soc_dapm_to_component(dapm)->name : "(none)")
47 TP_PROTO(struct snd_soc_dapm_context *dapm, int val),
49 TP_ARGS(dapm, val)
55 TP_PROTO(struct snd_soc_dapm_context *dapm, int val),
57 TP_ARGS(dapm, val)
/linux/sound/soc/codecs/
H A Dcs530x.c134 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in cs530x_put_volsw_vu() local
139 snd_soc_dapm_mutex_lock(dapm); in cs530x_put_volsw_vu()
149 snd_soc_dapm_mutex_unlock(dapm); in cs530x_put_volsw_vu()
272 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs530x_adc_event()
358 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in cs530x_dac_event()
414 /* General DAPM widgets for all devices */
419 /* ADC's Channels 1 and 2 plus generic ADC DAPM events */
525 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in cs530x_add_12_adc_widgets() local
531 snd_soc_dapm_new_controls(dapm, cs530x_adc_ch12_dapm_widgets, in cs530x_add_12_adc_widgets()
534 snd_soc_dapm_add_routes(dapm, adc_ch1_2_routes, in cs530x_add_12_adc_widgets()
[all …]
H A Dadav80x.c214 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_sysclk_check()
238 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in adav80x_dapm_pll_check()
542 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in adav80x_set_sysclk() local
575 snd_soc_dapm_sync(dapm); in adav80x_set_sysclk()
602 snd_soc_dapm_mutex_lock(dapm); in adav80x_set_sysclk()
605 snd_soc_dapm_disable_pin_unlocked(dapm, "PLL1"); in adav80x_set_sysclk()
607 snd_soc_dapm_force_enable_pin_unlocked(dapm, "PLL1"); in adav80x_set_sysclk()
610 snd_soc_dapm_disable_pin_unlocked(dapm, "PLL2"); in adav80x_set_sysclk()
612 snd_soc_dapm_force_enable_pin_unlocked(dapm, "PLL2"); in adav80x_set_sysclk()
614 snd_soc_dapm_sync_unlocked(dapm); in adav80x_set_sysclk()
625 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); adav80x_set_pll() local
805 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); adav80x_probe() local
[all...]
H A Drt5682.c25 #include <sound/soc-dapm.h>
931 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in rt5682_headset_detect() local
989 if (!snd_soc_dapm_get_pin_status(dapm, "MICBIAS") && in rt5682_headset_detect()
990 !snd_soc_dapm_get_pin_status(dapm, "PLL1") && in rt5682_headset_detect()
991 !snd_soc_dapm_get_pin_status(dapm, "PLL2B")) in rt5682_headset_detect()
994 if (!snd_soc_dapm_get_pin_status(dapm, "Vref2") && in rt5682_headset_detect()
995 !snd_soc_dapm_get_pin_status(dapm, "PLL1") && in rt5682_headset_detect()
996 !snd_soc_dapm_get_pin_status(dapm, "PLL2B")) in rt5682_headset_detect()
1098 struct snd_soc_dapm_context *dapm; in rt5682_jack_detect_handler() local
1118 dapm in rt5682_jack_detect_handler()
2592 struct snd_soc_dapm_context *dapm; rt5682_wclk_prepare() local
2630 struct snd_soc_dapm_context *dapm; rt5682_wclk_unprepare() local
2933 struct snd_soc_dapm_context *dapm = &component->dapm; rt5682_probe() local
[all...]
H A Dda7219-aad.c56 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in da7219_aad_btn_det_work() local
71 snd_soc_dapm_force_enable_pin(dapm, "Mic Bias"); in da7219_aad_btn_det_work()
72 snd_soc_dapm_sync(dapm); in da7219_aad_btn_det_work()
112 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in da7219_aad_hptest_work() local
119 /* Lock DAPM, Kcontrols affected by this test and the PLL */ in da7219_aad_hptest_work()
120 snd_soc_dapm_mutex_lock(dapm); in da7219_aad_hptest_work()
131 snd_soc_dapm_mutex_unlock(dapm); in da7219_aad_hptest_work()
325 snd_soc_dapm_mutex_unlock(dapm); in da7219_aad_hptest_work()
354 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in da7219_aad_irq_thread() local
478 snd_soc_dapm_disable_pin(dapm, "Mi in da7219_aad_irq_thread()
931 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); da7219_aad_suspend() local
965 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); da7219_aad_resume() local
[all...]
H A Dadau1761.c382 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in adau1761_dejitter_fixup()
624 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in adau1761_set_bias_level()
636 if (snd_soc_dapm_get_bias_level(dapm) == SND_SOC_BIAS_OFF) in adau1761_set_bias_level()
662 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in adau1761_setup_digmic_jackdetect()
696 ret = snd_soc_dapm_add_routes(dapm, adau1761_no_dmic_routes, in adau1761_setup_digmic_jackdetect()
702 ret = snd_soc_dapm_new_controls(dapm, adau1761_dmic_widgets, in adau1761_setup_digmic_jackdetect()
707 ret = snd_soc_dapm_add_routes(dapm, adau1761_dmic_routes, in adau1761_setup_digmic_jackdetect()
725 struct snd_soc_dapm_context *dapm = snd_soc_component_to_dapm(component); in adau1761_setup_headphone_mode()
756 ret = snd_soc_dapm_new_controls(dapm, in adau1761_setup_headphone_mode()
761 ret = snd_soc_dapm_add_routes(dapm, in adau1761_setup_headphone_mode()
661 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); adau1761_setup_digmic_jackdetect() local
724 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); adau1761_setup_headphone_mode() local
822 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); adau1761_component_probe() local
[all...]
/linux/drivers/regulator/
H 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
62 if (dapm) { in arizona_micsupp_check_cp()
65 snd_soc_dapm_force_enable_pin(dapm, "MICSUPP"); in arizona_micsupp_check_cp()
67 snd_soc_dapm_disable_pin(dapm, "MICSUPP"); in arizona_micsupp_check_cp()
69 snd_soc_dapm_sync(dapm); in arizona_micsupp_check_cp()
314 micsupp->dapm = &arizona->dapm; in arizona_micsupp_probe()
350 micsupp->dapm in madera_micsupp_probe()
[all...]
/linux/sound/soc/
H A Dsoc-jack.c27 * DAPM pins will be enabled or disabled as appropriate and DAPM
35 struct snd_soc_dapm_context *dapm; in snd_soc_jack_report() local
43 dapm = snd_soc_card_to_dapm(jack->card); in snd_soc_jack_report()
59 snd_soc_dapm_enable_pin(dapm, pin->pin); in snd_soc_jack_report()
61 snd_soc_dapm_disable_pin(dapm, pin->pin); in snd_soc_jack_report()
67 /* Report before the DAPM sync to help users updating micbias status */ in snd_soc_jack_report()
71 snd_soc_dapm_sync(dapm); in snd_soc_jack_report()
126 * snd_soc_jack_add_pins - Associate DAPM pins with an ASoC jack
132 * After this function has been called the DAPM pin
[all...]
/linux/Documentation/sound/soc/
H A Djack.rst14 - Integration with DAPM, allowing DAPM endpoints to be updated
20 snd_soc_jack_pins representing DAPM endpoints to update and blocks of
41 These represent a DAPM pin to update depending on some of the status
/linux/sound/soc/meson/
H A Dg12a-tohdmitx.c42 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_to_dapm(kcontrol); in g12a_tohdmitx_i2s_mux_put_enum()
59 snd_soc_dapm_mux_update_power(dapm, kcontrol, 0, NULL, NULL); in g12a_tohdmitx_i2s_mux_put_enum()
69 snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in g12a_tohdmitx_i2s_mux_put_enum()
91 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_to_dapm(kcontrol); in g12a_tohdmitx_spdif_mux_put_enum()
107 snd_soc_dapm_mux_update_power(dapm, kcontrol, 0, NULL, NULL); in g12a_tohdmitx_spdif_mux_put_enum()
115 snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in g12a_tohdmitx_spdif_mux_put_enum()
43 struct snd_soc_dapm_context *dapm = g12a_tohdmitx_i2s_mux_put_enum() local
94 struct snd_soc_dapm_context *dapm = g12a_tohdmitx_spdif_mux_put_enum() local
/linux/sound/soc/amd/acp/
H A Dacp-mach-common.c19 #include <sound/soc-dapm.h>
119 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in acp_card_rt5682_init()
133 ret = snd_soc_dapm_new_controls(dapm, rt5682_widgets, in acp_card_rt5682_init()
136 dev_err(rtd->dev, "unable to add widget dapm controls, ret %d\n", ret); in acp_card_rt5682_init()
170 return snd_soc_dapm_add_routes(dapm, rt5682_map, ARRAY_SIZE(rt5682_map)); in acp_card_rt5682_init()
361 struct snd_soc_dapm_context *dapm = snd_soc_card_to_dapm(card); in acp_card_rt5682s_init()
377 ret = snd_soc_dapm_new_controls(dapm, rt5682s_widgets, in acp_card_rt5682s_init()
380 dev_err(rtd->dev, "unable to add widget dapm controls, ret %d\n", ret); in acp_card_rt5682s_init()
414 return snd_soc_dapm_add_routes(dapm, rt5682s_map, ARRAY_SIZE(rt5682s_map));
586 struct snd_soc_dapm_context *dapm in acp_card_rt1019_init()
1105 struct snd_soc_dapm_context *dapm = w->dapm; platform_clock_control() local
1340 acp_rtk_set_bias_level(struct snd_soc_card * card,struct snd_soc_dapm_context * dapm,enum snd_soc_bias_level level) acp_rtk_set_bias_level() argument
[all...]

1234567891011