• Home
  • Raw
  • Download

Lines Matching +full:audio +full:- +full:widgets

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
27 * SoC dynamic audio power management
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.
138 /* path domain with event - event handler must return 0 for success */
258 /* generic widgets */
353 #define SND_SOC_DAPM_PRE_REG 0x10 /* before audio path setup */
354 #define SND_SOC_DAPM_POST_REG 0x20 /* after audio path setup */
385 * @ON: Bias is fully on for audio playback and capture operations.
386 * @PREPARE: Prepare for audio operations. Called before DAPM switching for
469 /* dapm sys fs - used by the core */
474 /* dapm audio pin control and status */
498 /* Mostly internal - should not normally be used */
529 snd_soc_dapm_micbias, /* microphone bias (power) - DEPRECATED: use snd_soc_dapm_supply */
535 snd_soc_dapm_vmid, /* codec bias/vmid - to minimise pops */
536 snd_soc_dapm_pre, /* machine specific pre widget - exec first */
537 snd_soc_dapm_post, /* machine specific post widget - exec last */
542 snd_soc_dapm_aif_in, /* audio interface input */
543 snd_soc_dapm_aif_out, /* audio interface output */
549 snd_soc_dapm_kcontrol, /* Auto-disabled kcontrol */
555 snd_soc_dapm_encoder, /* FW/SW audio encoder component */
556 snd_soc_dapm_decoder, /* FW/SW audio decoder component */
568 * DAPM audio route definition.
570 * Defines an audio route originating at source via control and finishing
585 /* dapm audio path between two widgets */
590 * source (input) and sink (output) widgets
592 * p->source, rather than p->node[SND_SOC_DAPM_DIR_IN]
603 u32 connect:1; /* source and sink widgets are connected */
606 u32 is_supply:1; /* At least one of the connected widgets is a supply */
631 unsigned int mask; /* non-shifted mask */
694 struct device *dev; /* from parent - for debug */
710 /* A list of widgets associated with an object, typically a snd_kcontrol */
713 struct snd_soc_dapm_widget *widgets[]; member
718 (i) < list->num_widgets && (widget = list->widgets[i]); \
733 * snd_soc_dapm_init_bias_level() - Initialize DAPM bias level
741 * the power-on reset state of the device.
748 dapm->bias_level = level; in snd_soc_dapm_init_bias_level()
752 * snd_soc_dapm_get_bias_level() - Get current DAPM bias level
760 return dapm->bias_level; in snd_soc_dapm_get_bias_level()
774 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths in the
778 * incoming or outgoing widgets
782 list_for_each_entry(p, &w->edges[dir], list_node[dir])
785 * snd_soc_dapm_widget_for_each_sink_path_safe - Iterates over all paths in the
789 * incoming or outgoing widgets
797 list_for_each_entry_safe(p, next_p, &w->edges[dir], list_node[dir])
800 * snd_soc_dapm_widget_for_each_sink_path - Iterates over all paths leaving a
809 * snd_soc_dapm_widget_for_each_source_path - Iterates over all paths leading to