Lines Matching full:dapm
3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
206 /* events that are pre and post DAPM */
278 /* dapm kcontrol types */
336 /* dapm stream operations */
345 /* dapm event types */
386 /* dapm controls */
401 int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm,
405 struct snd_soc_dapm_context *dapm,
407 int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm,
418 /* dapm path setup */
420 void snd_soc_dapm_free(struct snd_soc_dapm_context *dapm);
421 int snd_soc_dapm_add_routes(struct snd_soc_dapm_context *dapm,
423 int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
425 int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
428 void snd_soc_dapm_reset_cache(struct snd_soc_dapm_context *dapm);
430 /* dapm events */
435 /* external DAPM widget events */
436 int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm,
439 int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm,
443 /* dapm sys fs - used by the core */
445 void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
448 /* dapm audio pin control and status */
449 int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context *dapm,
451 int snd_soc_dapm_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
453 int snd_soc_dapm_disable_pin(struct snd_soc_dapm_context *dapm,
455 int snd_soc_dapm_disable_pin_unlocked(struct snd_soc_dapm_context *dapm,
457 int snd_soc_dapm_nc_pin(struct snd_soc_dapm_context *dapm, const char *pin);
458 int snd_soc_dapm_nc_pin_unlocked(struct snd_soc_dapm_context *dapm,
460 int snd_soc_dapm_get_pin_status(struct snd_soc_dapm_context *dapm,
462 int snd_soc_dapm_sync(struct snd_soc_dapm_context *dapm);
463 int snd_soc_dapm_sync_unlocked(struct snd_soc_dapm_context *dapm);
464 int snd_soc_dapm_force_enable_pin(struct snd_soc_dapm_context *dapm,
466 int snd_soc_dapm_force_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
468 int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm,
475 /* dapm path query */
487 int snd_soc_dapm_force_bias_level(struct snd_soc_dapm_context *dapm,
490 /* dapm widget types */
538 * DAPM audio route definition.
553 /* dapm audio path between two widgets */
584 /* dapm widget */
590 struct snd_soc_dapm_context *dapm; member
599 /* dapm control */
600 int reg; /* negative reg = no direct dapm */
632 /* used during DAPM updates */
656 /* DAPM context */
660 /* Go to BIAS_OFF in suspend if the DAPM context is idle */
669 /* used during DAPM updates */
673 int (*stream_event)(struct snd_soc_dapm_context *dapm, int event);
674 int (*set_bias_level)(struct snd_soc_dapm_context *dapm,
703 * snd_soc_dapm_init_bias_level() - Initialize DAPM bias level
704 * @dapm: The DAPM context to initialize
705 * @level: The DAPM level to initialize to
707 * This function only sets the driver internal state of the DAPM level and will
710 * E.g. during driver probe to set the DAPM level to the one corresponding with
713 * To change the DAPM state of the device use snd_soc_dapm_set_bias_level().
716 struct snd_soc_dapm_context *dapm, enum snd_soc_bias_level level) in snd_soc_dapm_init_bias_level() argument
718 dapm->bias_level = level; in snd_soc_dapm_init_bias_level()
722 * snd_soc_dapm_get_bias_level() - Get current DAPM bias level
723 * @dapm: The context for which to get the bias level
725 * Returns: The current bias level of the passed DAPM context.
728 struct snd_soc_dapm_context *dapm) in snd_soc_dapm_get_bias_level() argument
730 return dapm->bias_level; in snd_soc_dapm_get_bias_level()