Lines Matching +full:regulator +full:- +full:state +full:- +full:standby
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>
19 struct regulator;
25 #define SND_SOC_NOPM -1
31 * 1. Codec domain - VREF, VMID
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.
159 /* path domain with event - event handler must return 0 for success */
400 /* regulator widget flags */
409 * @STANDBY: Low power standby state when no playback/capture operations are
410 * in progress. NOTE: The transition time between STANDBY and ON
433 snd_soc_dapm_micbias, /* microphone bias (power) - DEPRECATED: use snd_soc_dapm_supply */
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 */
444 snd_soc_dapm_regulator_supply, /* external regulator */
453 snd_soc_dapm_kcontrol, /* Auto-disabled kcontrol */
491 * p->source, rather than p->node[SND_SOC_DAPM_DIR_IN]
523 struct regulator *regulator; /* attached regulator */
529 unsigned int mask; /* non-shifted mask */
530 unsigned int on_val; /* on state value */
531 unsigned int off_val; /* off state value */
536 unsigned char force:1; /* force state */
586 bool idle_bias; /* Use BIAS_OFF instead of STANDBY when false */
588 struct device *dev; /* from parent - for debug */ /* REMOVE ME */
691 /* dapm sys fs - used by the core */
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