Lines Matching +full:vref +full:- +full:p +full:- +full:supply

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>
24 #define SND_SOC_NOPM -1
30 * 1. Codec domain - VREF, VMID
33 * 2. Platform/Machine domain - physically connected inputs and outputs
36 * 3. Path domain - Internal codec path mixers
39 * 4. Stream domain - DAC's and ADC's.
158 /* path domain with event - event handler must return 0 for success */
354 .tlv.p = (tlv_array), \
361 .tlv.p = (tlv_array), \
499 /* dapm sys fs - used by the core */
518 /* Mostly internal - should not normally be used */
544 snd_soc_dapm_micbias, /* microphone bias (power) - DEPRECATED: use snd_soc_dapm_supply */
550 snd_soc_dapm_vmid, /* codec bias/vmid - to minimise pops */
551 snd_soc_dapm_pre, /* machine specific pre widget - exec first */
552 snd_soc_dapm_post, /* machine specific post widget - exec last */
553 snd_soc_dapm_supply, /* power/clock supply */
564 snd_soc_dapm_kcontrol, /* Auto-disabled kcontrol */
588 /* Note: currently only supported for links where source is a supply */
602 * p->source, rather than p->node[SND_SOC_DAPM_DIR_IN]
616 u32 is_supply:1; /* At least one of the connected widgets is a supply */
641 unsigned int mask; /* non-shifted mask */
652 unsigned char is_supply:1; /* Widget is a supply type widget */
702 struct device *dev; /* from parent - for debug */
726 (i) < list->num_widgets && (widget = list->widgets[i]); \
741 * snd_soc_dapm_init_bias_level() - Initialize DAPM bias level
749 * the power-on reset state of the device.
756 dapm->bias_level = level; in snd_soc_dapm_init_bias_level()
760 * snd_soc_dapm_get_bias_level() - Get current DAPM bias level
768 return dapm->bias_level; in snd_soc_dapm_get_bias_level()
782 * snd_soc_dapm_widget_for_each_path - Iterates over all paths in the
787 * @p: The path iterator variable
789 #define snd_soc_dapm_widget_for_each_path(w, dir, p) \ argument
790 list_for_each_entry(p, &w->edges[dir], list_node[dir])
793 * snd_soc_dapm_widget_for_each_path_safe - Iterates over all paths in the
798 * @p: The path iterator variable
804 #define snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) \ argument
805 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])
808 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths leaving a
811 * @p: The path iterator variable
813 #define snd_soc_dapm_widget_for_each_sink_path(w, p) \ argument
814 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_IN, p)
817 * snd_soc_dapm_widget_for_each_source_path - Iterates over all paths leading to
820 * @p: The path iterator variable
822 #define snd_soc_dapm_widget_for_each_source_path(w, p) \ argument
823 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_OUT, p)