Home
last modified time | relevance | path

Searched refs:dapm (Results 176 - 200 of 705) sorted by relevance

12345678910>>...29

/kernel/linux/linux-5.10/sound/soc/codecs/
H A Dwm5110.c161 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_sysclk_ev()
198 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_adsp_power_ev()
290 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_hp_pre_enable()
327 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_hp_pre_disable()
366 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_hp_ev()
406 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in wm5110_put_dre() local
419 snd_soc_dapm_mutex_lock(dapm); in wm5110_put_dre()
462 snd_soc_dapm_mutex_unlock(dapm); in wm5110_put_dre()
471 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in wm5110_in_pga_get() local
478 snd_soc_dapm_mutex_lock(dapm); in wm5110_in_pga_get()
491 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm5110_in_pga_put() local
2296 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm5110_component_probe() local
[all...]
H A Dwm8962.c1847 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tp_event()
1905 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in hp_event()
1999 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in out_pga_event()
2033 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in dsp2_event()
2403 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in wm8962_add_widgets() local
2415 snd_soc_dapm_new_controls(dapm, wm8962_dapm_widgets, in wm8962_add_widgets()
2418 snd_soc_dapm_new_controls(dapm, wm8962_dapm_spk_mono_widgets, in wm8962_add_widgets()
2421 snd_soc_dapm_new_controls(dapm, wm8962_dapm_spk_stereo_widgets, in wm8962_add_widgets()
2424 snd_soc_dapm_add_routes(dapm, wm8962_intercon, in wm8962_add_widgets()
2427 snd_soc_dapm_add_routes(dapm, wm8962_spk_mono_interco in wm8962_add_widgets()
3169 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm8962_mic_detect() local
3215 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm8962_beep_work() local
3461 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm8962_probe() local
[all...]
H A Dalc5623.c53 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in amp_mixer_event()
891 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in alc5623_probe() local
925 snd_soc_dapm_new_controls(dapm, alc5623_dapm_widgets, in alc5623_probe()
929 snd_soc_dapm_add_routes(dapm, intercon, ARRAY_SIZE(intercon)); in alc5623_probe()
934 snd_soc_dapm_new_controls(dapm, alc5623_dapm_amp_widgets, in alc5623_probe()
936 snd_soc_dapm_add_routes(dapm, intercon_amp_spk, in alc5623_probe()
940 snd_soc_dapm_add_routes(dapm, intercon_spk, in alc5623_probe()
H A Des7134.c107 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(c); in es7134_component_probe() local
113 ret = snd_soc_dapm_new_controls(dapm, chip->extra_widgets, in es7134_component_probe()
122 ret = snd_soc_dapm_add_routes(dapm, chip->extra_routes, in es7134_component_probe()
H A Drt5670.c25 #include <sound/soc-dapm.h>
434 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in rt5670_headset_detect() local
438 snd_soc_dapm_force_enable_pin(dapm, "Mic Det Power"); in rt5670_headset_detect()
439 snd_soc_dapm_sync(dapm); in rt5670_headset_detect()
465 snd_soc_dapm_disable_pin(dapm, "Mic Det Power"); in rt5670_headset_detect()
466 snd_soc_dapm_sync(dapm); in rt5670_headset_detect()
472 snd_soc_dapm_disable_pin(dapm, "Mic Det Power"); in rt5670_headset_detect()
473 snd_soc_dapm_sync(dapm); in rt5670_headset_detect()
699 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
717 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_sys_clk_from_pll()
2650 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); rt5670_probe() local
[all...]
H A Dadau7118.c388 struct snd_soc_dapm_context *dapm = in adau7118_component_probe() local
393 ret = snd_soc_dapm_new_controls(dapm, adau7118_widgets_hw, in adau7118_component_probe()
398 ret = snd_soc_dapm_add_routes(dapm, adau7118_routes_hw, in adau7118_component_probe()
402 ret = snd_soc_dapm_new_controls(dapm, adau7118_widgets_sw, in adau7118_component_probe()
407 ret = snd_soc_dapm_add_routes(dapm, adau7118_routes_sw, in adau7118_component_probe()
H A Dwm9712.c218 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kcontrol); in wm9712_hp_mixer_put() local
219 struct snd_soc_component *component = snd_soc_dapm_to_component(dapm); in wm9712_hp_mixer_put()
250 snd_soc_dapm_mixer_update_power(dapm, kcontrol, val, in wm9712_hp_mixer_put()
262 struct snd_soc_dapm_context *dapm = snd_soc_dapm_kcontrol_dapm(kcontrol); in wm9712_hp_mixer_get() local
263 struct snd_soc_component *component = snd_soc_dapm_to_component(dapm); in wm9712_hp_mixer_get()
/kernel/linux/linux-5.10/sound/soc/
H A Dsoc-core.c206 snd_soc_dapm_debugfs_init(&card->dapm, card->debugfs_card_root); in soc_init_card_debugfs()
585 snd_soc_dapm_sync(&card->dapm); in snd_soc_suspend()
594 struct snd_soc_dapm_context *dapm = in snd_soc_suspend() local
607 switch (snd_soc_dapm_get_bias_level(dapm)) { in snd_soc_suspend()
615 if (dapm->idle_bias_off) { in snd_soc_suspend()
704 snd_soc_dapm_sync(&card->dapm); in soc_resume_deferred()
1168 struct snd_soc_dapm_context *dapm = in soc_probe_component() local
1196 snd_soc_dapm_init(dapm, card, component); in soc_probe_component()
1198 ret = snd_soc_dapm_new_controls(dapm, in soc_probe_component()
1209 ret = snd_soc_dapm_new_dai_widgets(dapm, da in soc_probe_component()
[all...]
/kernel/linux/linux-6.6/sound/soc/codecs/
H A Dwm5110.c161 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_sysclk_ev()
198 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_adsp_power_ev()
290 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_hp_pre_enable()
327 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_hp_pre_disable()
366 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in wm5110_hp_ev()
406 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in wm5110_put_dre() local
419 snd_soc_dapm_mutex_lock(dapm); in wm5110_put_dre()
462 snd_soc_dapm_mutex_unlock(dapm); in wm5110_put_dre()
471 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in wm5110_in_pga_get() local
478 snd_soc_dapm_mutex_lock(dapm); in wm5110_in_pga_get()
491 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm5110_in_pga_put() local
2300 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm5110_component_probe() local
[all...]
H A Des8326.c17 #include <sound/soc-dapm.h>
494 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in es8326_enable_micbias() local
496 snd_soc_dapm_mutex_lock(dapm); in es8326_enable_micbias()
497 snd_soc_dapm_force_enable_pin_unlocked(dapm, "MICBIAS1"); in es8326_enable_micbias()
498 snd_soc_dapm_force_enable_pin_unlocked(dapm, "MICBIAS2"); in es8326_enable_micbias()
499 snd_soc_dapm_sync_unlocked(dapm); in es8326_enable_micbias()
500 snd_soc_dapm_mutex_unlock(dapm); in es8326_enable_micbias()
505 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in es8326_disable_micbias() local
507 snd_soc_dapm_mutex_lock(dapm); in es8326_disable_micbias()
508 snd_soc_dapm_disable_pin_unlocked(dapm, "MICBIAS in es8326_disable_micbias()
[all...]
H A Dwm8962.c1847 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in tp_event()
1905 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in hp_event()
1999 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in out_pga_event()
2033 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in dsp2_event()
2421 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in wm8962_add_widgets() local
2433 snd_soc_dapm_new_controls(dapm, wm8962_dapm_widgets, in wm8962_add_widgets()
2436 snd_soc_dapm_new_controls(dapm, wm8962_dapm_spk_mono_widgets, in wm8962_add_widgets()
2439 snd_soc_dapm_new_controls(dapm, wm8962_dapm_spk_stereo_widgets, in wm8962_add_widgets()
2442 snd_soc_dapm_add_routes(dapm, wm8962_intercon, in wm8962_add_widgets()
2445 snd_soc_dapm_add_routes(dapm, wm8962_spk_mono_interco in wm8962_add_widgets()
3192 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm8962_mic_detect() local
3238 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm8962_beep_work() local
3484 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); wm8962_probe() local
[all...]
H A Dalc5623.c53 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in amp_mixer_event()
891 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in alc5623_probe() local
925 snd_soc_dapm_new_controls(dapm, alc5623_dapm_widgets, in alc5623_probe()
929 snd_soc_dapm_add_routes(dapm, intercon, ARRAY_SIZE(intercon)); in alc5623_probe()
934 snd_soc_dapm_new_controls(dapm, alc5623_dapm_amp_widgets, in alc5623_probe()
936 snd_soc_dapm_add_routes(dapm, intercon_amp_spk, in alc5623_probe()
940 snd_soc_dapm_add_routes(dapm, intercon_spk, in alc5623_probe()
H A Des7134.c107 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(c); in es7134_component_probe() local
113 ret = snd_soc_dapm_new_controls(dapm, chip->extra_widgets, in es7134_component_probe()
122 ret = snd_soc_dapm_add_routes(dapm, chip->extra_routes, in es7134_component_probe()
H A Drt5670.c25 #include <sound/soc-dapm.h>
434 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); in rt5670_headset_detect() local
438 snd_soc_dapm_force_enable_pin(dapm, "Mic Det Power"); in rt5670_headset_detect()
439 snd_soc_dapm_sync(dapm); in rt5670_headset_detect()
465 snd_soc_dapm_disable_pin(dapm, "Mic Det Power"); in rt5670_headset_detect()
466 snd_soc_dapm_sync(dapm); in rt5670_headset_detect()
472 snd_soc_dapm_disable_pin(dapm, "Mic Det Power"); in rt5670_headset_detect()
473 snd_soc_dapm_sync(dapm); in rt5670_headset_detect()
747 struct snd_soc_component *component = snd_soc_dapm_to_component(w->dapm); in set_dmic_clk()
765 struct snd_soc_component *component = snd_soc_dapm_to_component(source->dapm); in is_sys_clk_from_pll()
2722 struct snd_soc_dapm_context *dapm = snd_soc_component_get_dapm(component); rt5670_probe() local
[all...]
H A Dadau7118.c388 struct snd_soc_dapm_context *dapm = in adau7118_component_probe() local
393 ret = snd_soc_dapm_new_controls(dapm, adau7118_widgets_hw, in adau7118_component_probe()
398 ret = snd_soc_dapm_add_routes(dapm, adau7118_routes_hw, in adau7118_component_probe()
402 ret = snd_soc_dapm_new_controls(dapm, adau7118_widgets_sw, in adau7118_component_probe()
407 ret = snd_soc_dapm_add_routes(dapm, adau7118_routes_sw, in adau7118_component_probe()
/kernel/linux/linux-5.10/sound/soc/tegra/
H A Dtegra_rt5677.c72 struct snd_soc_dapm_context *dapm = w->dapm; in tegra_rt5677_event_hp() local
73 struct snd_soc_card *card = dapm->card; in tegra_rt5677_event_hp()
156 snd_soc_dapm_force_enable_pin(&rtd->card->dapm, "MICBIAS1"); in tegra_rt5677_asoc_init()
/kernel/linux/linux-6.6/sound/soc/intel/avs/boards/
H A Dda7219.c16 #include <sound/soc-dapm.h>
31 struct snd_soc_dapm_context *dapm = w->dapm; in platform_clock_control() local
32 struct snd_soc_card *card = dapm->card; in platform_clock_control()
H A Drt274.c29 struct snd_soc_dapm_context *dapm = w->dapm; in avs_rt274_clock_control() local
30 struct snd_soc_card *card = dapm->card; in avs_rt274_clock_control()
117 card->dapm.idle_bias_off = true; in avs_rt274_codec_init()
/kernel/linux/linux-6.6/sound/soc/intel/boards/
H A Dsof_sdw_rt_amp.c13 #include <sound/soc-dapm.h>
143 * dapm routes for rt1308/rt1316/rt1318 will be registered dynamically
210 ret = snd_soc_dapm_new_controls(&card->dapm, rt_amp_widgets, in first_spk_init()
217 ret = snd_soc_dapm_add_routes(&card->dapm, rt_amp_map, 2); in first_spk_init()
233 ret = snd_soc_dapm_add_routes(&card->dapm, rt_amp_map + 2, 2); in second_spk_init()
/kernel/linux/linux-5.10/sound/soc/meson/
H A Dg12a-toacodec.c44 struct snd_soc_dapm_context *dapm = in g12a_toacodec_mux_put_enum() local
61 snd_soc_dapm_mux_update_power(dapm, kcontrol, 0, NULL, NULL); in g12a_toacodec_mux_put_enum()
86 snd_soc_dapm_mux_update_power(dapm, kcontrol, mux, e, NULL); in g12a_toacodec_mux_put_enum()
/kernel/linux/linux-5.10/sound/soc/intel/boards/
H A Dbxt_rt298.c157 struct snd_soc_dapm_context *dapm; in broxton_rt298_fe_init() local
160 dapm = snd_soc_component_get_dapm(component); in broxton_rt298_fe_init()
161 snd_soc_dapm_ignore_suspend(dapm, "Reference Capture"); in broxton_rt298_fe_init()
181 snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); in broxton_rt298_codec_init()
561 return hdac_hdmi_jack_port_init(component, &card->dapm); in bxt_card_late_probe()
H A Dskl_rt286.c114 struct snd_soc_dapm_context *dapm; in skylake_rt286_fe_init() local
117 dapm = snd_soc_component_get_dapm(component); in skylake_rt286_fe_init()
118 snd_soc_dapm_ignore_suspend(dapm, "Reference Capture"); in skylake_rt286_fe_init()
138 snd_soc_dapm_ignore_suspend(&rtd->card->dapm, "SoC DMIC"); in skylake_rt286_codec_init()
511 return hdac_hdmi_jack_port_init(component, &card->dapm); in skylake_card_late_probe()
/kernel/linux/linux-5.10/sound/soc/ti/
H A Ddavinci-evm.c83 /* davinci-evm machine dapm widgets */
121 snd_soc_dapm_new_controls(&card->dapm, aic3x_dapm_widgets, in evm_aic3x_init()
130 snd_soc_dapm_add_routes(&card->dapm, audio_map, in evm_aic3x_init()
135 snd_soc_dapm_nc_pin(&card->dapm, "MONO_LOUT"); in evm_aic3x_init()
136 snd_soc_dapm_nc_pin(&card->dapm, "HPLCOM"); in evm_aic3x_init()
137 snd_soc_dapm_nc_pin(&card->dapm, "HPRCOM"); in evm_aic3x_init()
/kernel/linux/linux-5.10/include/sound/
H A Dsoc-component.h215 struct snd_soc_dapm_context dapm; member
239 * @dapm: The DAPM context to cast to the component
246 struct snd_soc_dapm_context *dapm) in snd_soc_dapm_to_component()
248 return container_of(dapm, struct snd_soc_component, dapm); in snd_soc_dapm_to_component()
259 return &component->dapm; in snd_soc_component_get_dapm()
245 snd_soc_dapm_to_component( struct snd_soc_dapm_context *dapm) snd_soc_dapm_to_component() argument
/kernel/linux/linux-6.6/include/sound/
H A Dsoc-component.h242 struct snd_soc_dapm_context dapm; member
267 * @dapm: The DAPM context to cast to the component
274 struct snd_soc_dapm_context *dapm) in snd_soc_dapm_to_component()
276 return container_of(dapm, struct snd_soc_component, dapm); in snd_soc_dapm_to_component()
287 return &component->dapm; in snd_soc_component_get_dapm()
273 snd_soc_dapm_to_component( struct snd_soc_dapm_context *dapm) snd_soc_dapm_to_component() argument

Completed in 26 milliseconds

12345678910>>...29