• Home
  • Raw
  • Download

Lines Matching full:dapm

3  * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
209 /* events that are pre and post DAPM */
281 /* dapm kcontrol types */
339 /* dapm stream operations */
348 /* dapm event types */
386 * @PREPARE: Prepare for audio operations. Called before DAPM switching for
407 /* dapm controls */
422 int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm,
426 struct snd_soc_dapm_context *dapm,
429 struct snd_soc_dapm_context *dapm,
431 int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm,
440 /* dapm path setup */
442 void snd_soc_dapm_free(struct snd_soc_dapm_context *dapm);
443 void snd_soc_dapm_init(struct snd_soc_dapm_context *dapm,
446 int snd_soc_dapm_add_routes(struct snd_soc_dapm_context *dapm,
448 int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
450 int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
453 void snd_soc_dapm_reset_cache(struct snd_soc_dapm_context *dapm);
455 /* dapm events */
461 /* external DAPM widget events */
462 int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm,
465 int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm,
469 /* dapm sys fs - used by the core */
471 void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
474 /* dapm audio pin control and status */
475 int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context *dapm,
477 int snd_soc_dapm_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
479 int snd_soc_dapm_disable_pin(struct snd_soc_dapm_context *dapm,
481 int snd_soc_dapm_disable_pin_unlocked(struct snd_soc_dapm_context *dapm,
483 int snd_soc_dapm_nc_pin(struct snd_soc_dapm_context *dapm, const char *pin);
484 int snd_soc_dapm_nc_pin_unlocked(struct snd_soc_dapm_context *dapm,
486 int snd_soc_dapm_get_pin_status(struct snd_soc_dapm_context *dapm,
488 int snd_soc_dapm_sync(struct snd_soc_dapm_context *dapm);
489 int snd_soc_dapm_sync_unlocked(struct snd_soc_dapm_context *dapm);
490 int snd_soc_dapm_force_enable_pin(struct snd_soc_dapm_context *dapm,
492 int snd_soc_dapm_force_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
494 int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm,
501 /* dapm path query */
514 int snd_soc_dapm_force_bias_level(struct snd_soc_dapm_context *dapm,
517 /* dapm widget types */
568 * DAPM audio route definition.
585 /* dapm audio path between two widgets */
616 /* dapm widget */
622 struct snd_soc_dapm_context *dapm; member
628 /* dapm control */
629 int reg; /* negative reg = no direct dapm */
661 /* used during DAPM updates */
687 /* DAPM context */
691 /* Go to BIAS_OFF in suspend if the DAPM context is idle */
698 /* used during DAPM updates */
733 * snd_soc_dapm_init_bias_level() - Initialize DAPM bias level
734 * @dapm: The DAPM context to initialize
735 * @level: The DAPM level to initialize to
737 * This function only sets the driver internal state of the DAPM level and will
740 * E.g. during driver probe to set the DAPM level to the one corresponding with
743 * To change the DAPM state of the device use snd_soc_dapm_set_bias_level().
746 struct snd_soc_dapm_context *dapm, enum snd_soc_bias_level level) in snd_soc_dapm_init_bias_level() argument
748 dapm->bias_level = level; in snd_soc_dapm_init_bias_level()
752 * snd_soc_dapm_get_bias_level() - Get current DAPM bias level
753 * @dapm: The context for which to get the bias level
755 * Returns: The current bias level of the passed DAPM context.
758 struct snd_soc_dapm_context *dapm) in snd_soc_dapm_get_bias_level() argument
760 return dapm->bias_level; in snd_soc_dapm_get_bias_level()