Lines Matching +full:codec +full:- +full:analog +full:- +full:controls
1 /* SPDX-License-Identifier: GPL-2.0
3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
15 #include <sound/soc-topology.h>
25 #define SND_SOC_NOPM -1
31 * 1. Codec domain - VREF, VMID
32 * Usually controlled at codec probe/remove, although can be set
34 * 2. Platform/Machine domain - physically connected inputs and outputs
37 * 3. Path domain - Internal codec path mixers
40 * 4. Stream domain - DAC's and ADC's.
44 /* codec domain */
159 /* path domain with event - event handler must return 0 for success */
425 snd_soc_dapm_mux, /* selects 1 analog signal from many inputs */
427 snd_soc_dapm_mixer, /* mixes several analog signals together */
428 snd_soc_dapm_mixer_named_ctl, /* mixer with named controls */
431 snd_soc_dapm_adc, /* analog to digital converter */
432 snd_soc_dapm_dac, /* digital to analog converter */
433 snd_soc_dapm_micbias, /* microphone bias (power) - DEPRECATED: use snd_soc_dapm_supply */
438 snd_soc_dapm_switch, /* analog switch */
439 snd_soc_dapm_vmid, /* codec bias/vmid - to minimise pops */
440 snd_soc_dapm_pre, /* machine specific pre widget - exec first */
441 snd_soc_dapm_post, /* machine specific post widget - exec last */
453 snd_soc_dapm_kcontrol, /* Auto-disabled kcontrol */
454 snd_soc_dapm_buffer, /* DSP/CODEC internal buffer */
455 snd_soc_dapm_scheduler, /* DSP/CODEC internal scheduler */
456 snd_soc_dapm_effect, /* DSP/CODEC effect component */
457 snd_soc_dapm_src, /* DSP/CODEC SRC component */
458 snd_soc_dapm_asrc, /* DSP/CODEC ASRC component */
491 * p->source, rather than p->node[SND_SOC_DAPM_DIR_IN]
529 unsigned int mask; /* non-shifted mask */
534 unsigned char connected:1; /* connected codec pin */
588 struct device *dev; /* from parent - for debug */ /* REMOVE ME */
635 /* dapm controls */
691 /* dapm sys fs - used by the core */
712 * additional things such as disabling controls which only affect
734 #define snd_soc_component_force_bias_level(c, l) snd_soc_dapm_force_bias_level(&(c)->dapm, l)
735 #define snd_soc_component_get_bias_level(c) snd_soc_dapm_get_bias_level(&(c)->dapm)
736 #define snd_soc_component_init_bias_level(c, l) snd_soc_dapm_init_bias_level(&(c)->dapm, l)
744 (i) < list->num_widgets && (widget = list->widgets[i]); \
748 * snd_soc_dapm_widget_for_each_path - Iterates over all paths in the
756 list_for_each_entry(p, &w->edges[dir], list_node[dir])
759 * snd_soc_dapm_widget_for_each_path_safe - Iterates over all paths in the
771 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])
774 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths leaving a
783 * snd_soc_dapm_widget_for_each_source_path - Iterates over all paths leading to