/* SPDX-License-Identifier: GPL-2.0-only */ /* * Cirrus Logic Madera class codecs common support * * Copyright (C) 2015-2018 Cirrus Logic, Inc. and * Cirrus Logic International Semiconductor Ltd.
*/
int madera_dfc_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int madera_lp_mode_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int madera_out1_demux_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int madera_out1_demux_get(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int madera_rate_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int madera_eq_coeff_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol); int madera_lhpf_coeff_put(struct snd_kcontrol *kcontrol, struct snd_ctl_elem_value *ucontrol);
int madera_clk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_sysclk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_spk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_in_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_out_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_hp_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_anc_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event); int madera_domain_clk_ev(struct snd_soc_dapm_widget *w, struct snd_kcontrol *kcontrol, int event);
int madera_set_adsp_clk(struct madera_priv *priv, int dsp_num, unsignedint freq);
int madera_set_sysclk(struct snd_soc_component *component, int clk_id, int source, unsignedint freq, int dir);
int madera_init_fll(struct madera *madera, int id, int base, struct madera_fll *fll); int madera_set_fll_refclk(struct madera_fll *fll, int source, unsignedint fref, unsignedint fout); int madera_set_fll_syncclk(struct madera_fll *fll, int source, unsignedint fref, unsignedint fout); int madera_set_fll_ao_refclk(struct madera_fll *fll, int source, unsignedint fin, unsignedint fout); int madera_fllhj_set_refclk(struct madera_fll *fll, int source, unsignedint fin, unsignedint fout);
int madera_core_init(struct madera_priv *priv); int madera_core_free(struct madera_priv *priv); int madera_init_overheat(struct madera_priv *priv); int madera_free_overheat(struct madera_priv *priv); int madera_init_inputs(struct snd_soc_component *component); int madera_init_outputs(struct snd_soc_component *component, conststruct snd_soc_dapm_route *routes, int n_mono_routes, int n_real); int madera_init_bus_error_irq(struct madera_priv *priv, int dsp_num,
irq_handler_t handler); void madera_free_bus_error_irq(struct madera_priv *priv, int dsp_num);
int madera_init_dai(struct madera_priv *priv, int id);
int madera_set_output_mode(struct snd_soc_component *component, int output, bool differential);
/* Following functions are for use by machine drivers */ staticinlineint madera_register_notifier(struct snd_soc_component *component, struct notifier_block *nb)
{ struct madera_priv *priv = snd_soc_component_get_drvdata(component); struct madera *madera = priv->madera;
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.35Bemerkung:
(vorverarbeitet am 2026-06-07)
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.