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>
23 #define SND_SOC_NOPM -1
29 * 1. Codec domain - VREF, VMID
32 * 2. Platform/Machine domain - physically connected inputs and outputs
35 * 3. Path domain - Internal codec path mixers
38 * 4. Stream domain - DAC's and ADC's.
137 /* path domain with event - event handler must return 0 for success */
307 .tlv.p = (tlv_array), \
314 .tlv.p = (tlv_array), \
468 /* dapm sys fs - used by the core */
497 /* Mostly internal - should not normally be used */
528 snd_soc_dapm_micbias, /* microphone bias (power) - DEPRECATED: use snd_soc_dapm_supply */
534 snd_soc_dapm_vmid, /* codec bias/vmid - to minimise pops */
535 snd_soc_dapm_pre, /* machine specific pre widget - exec first */
536 snd_soc_dapm_post, /* machine specific post widget - exec last */
537 snd_soc_dapm_supply, /* power/clock supply */
548 snd_soc_dapm_kcontrol, /* Auto-disabled kcontrol */
577 /* Note: currently only supported for links where source is a supply */
591 * p->source, rather than p->node[SND_SOC_DAPM_DIR_IN]
605 u32 is_supply:1; /* At least one of the connected widgets is a supply */
630 unsigned int mask; /* non-shifted mask */
641 unsigned char is_supply:1; /* Widget is a supply type widget */
693 struct device *dev; /* from parent - for debug */
717 (i) < list->num_widgets && (widget = list->widgets[i]); \
732 * snd_soc_dapm_init_bias_level() - Initialize DAPM bias level
740 * the power-on reset state of the device.
747 dapm->bias_level = level; in snd_soc_dapm_init_bias_level()
751 * snd_soc_dapm_get_bias_level() - Get current DAPM bias level
759 return dapm->bias_level; in snd_soc_dapm_get_bias_level()
773 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths in the
778 * @p: The path iterator variable
780 #define snd_soc_dapm_widget_for_each_path(w, dir, p) \ argument
781 list_for_each_entry(p, &w->edges[dir], list_node[dir])
784 * snd_soc_dapm_widget_for_each_sink_path_safe - Iterates over all paths in the
789 * @p: The path iterator variable
795 #define snd_soc_dapm_widget_for_each_path_safe(w, dir, p, next_p) \ argument
796 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])
799 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths leaving a
802 * @p: The path iterator variable
804 #define snd_soc_dapm_widget_for_each_sink_path(w, p) \ argument
805 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_IN, p)
808 * snd_soc_dapm_widget_for_each_source_path - Iterates over all paths leading to
811 * @p: The path iterator variable
813 #define snd_soc_dapm_widget_for_each_source_path(w, p) \ argument
814 snd_soc_dapm_widget_for_each_path(w, SND_SOC_DAPM_DIR_OUT, p)