Lines Matching full:dapm
3 * linux/sound/soc-dapm.h -- ALSA SoC Dynamic Audio Power Management
208 /* events that are pre and post DAPM */
280 /* dapm kcontrol types */
338 /* dapm stream operations */
347 /* dapm event types */
385 * @PREPARE: Prepare for audio operations. Called before DAPM switching for
406 /* dapm controls */
421 int snd_soc_dapm_new_controls(struct snd_soc_dapm_context *dapm,
425 struct snd_soc_dapm_context *dapm,
428 struct snd_soc_dapm_context *dapm,
430 int snd_soc_dapm_new_dai_widgets(struct snd_soc_dapm_context *dapm,
439 /* dapm path setup */
441 void snd_soc_dapm_free(struct snd_soc_dapm_context *dapm);
442 void snd_soc_dapm_init(struct snd_soc_dapm_context *dapm,
445 int snd_soc_dapm_add_routes(struct snd_soc_dapm_context *dapm,
447 int snd_soc_dapm_del_routes(struct snd_soc_dapm_context *dapm,
449 int snd_soc_dapm_weak_routes(struct snd_soc_dapm_context *dapm,
452 void snd_soc_dapm_reset_cache(struct snd_soc_dapm_context *dapm);
454 /* dapm events */
460 /* external DAPM widget events */
461 int snd_soc_dapm_mixer_update_power(struct snd_soc_dapm_context *dapm,
464 int snd_soc_dapm_mux_update_power(struct snd_soc_dapm_context *dapm,
468 /* dapm sys fs - used by the core */
470 void snd_soc_dapm_debugfs_init(struct snd_soc_dapm_context *dapm,
473 /* dapm audio pin control and status */
474 int snd_soc_dapm_enable_pin(struct snd_soc_dapm_context *dapm,
476 int snd_soc_dapm_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
478 int snd_soc_dapm_disable_pin(struct snd_soc_dapm_context *dapm,
480 int snd_soc_dapm_disable_pin_unlocked(struct snd_soc_dapm_context *dapm,
482 int snd_soc_dapm_nc_pin(struct snd_soc_dapm_context *dapm, const char *pin);
483 int snd_soc_dapm_nc_pin_unlocked(struct snd_soc_dapm_context *dapm,
485 int snd_soc_dapm_get_pin_status(struct snd_soc_dapm_context *dapm,
487 int snd_soc_dapm_sync(struct snd_soc_dapm_context *dapm);
488 int snd_soc_dapm_sync_unlocked(struct snd_soc_dapm_context *dapm);
489 int snd_soc_dapm_force_enable_pin(struct snd_soc_dapm_context *dapm,
491 int snd_soc_dapm_force_enable_pin_unlocked(struct snd_soc_dapm_context *dapm,
493 int snd_soc_dapm_ignore_suspend(struct snd_soc_dapm_context *dapm,
500 /* dapm path query */
513 int snd_soc_dapm_force_bias_level(struct snd_soc_dapm_context *dapm,
516 /* dapm widget types */
567 * DAPM audio route definition.
584 /* dapm audio path between two widgets */
615 /* dapm widget */
621 struct snd_soc_dapm_context *dapm; member
627 /* dapm control */
628 int reg; /* negative reg = no direct dapm */
660 /* used during DAPM updates */
686 /* DAPM context */
690 /* Go to BIAS_OFF in suspend if the DAPM context is idle */
697 /* used during DAPM updates */
732 * snd_soc_dapm_init_bias_level() - Initialize DAPM bias level
733 * @dapm: The DAPM context to initialize
734 * @level: The DAPM level to initialize to
736 * This function only sets the driver internal state of the DAPM level and will
739 * E.g. during driver probe to set the DAPM level to the one corresponding with
742 * To change the DAPM state of the device use snd_soc_dapm_set_bias_level().
745 struct snd_soc_dapm_context *dapm, enum snd_soc_bias_level level) in snd_soc_dapm_init_bias_level() argument
747 dapm->bias_level = level; in snd_soc_dapm_init_bias_level()
751 * snd_soc_dapm_get_bias_level() - Get current DAPM bias level
752 * @dapm: The context for which to get the bias level
754 * Returns: The current bias level of the passed DAPM context.
757 struct snd_soc_dapm_context *dapm) in snd_soc_dapm_get_bias_level() argument
759 return dapm->bias_level; in snd_soc_dapm_get_bias_level()