#include <linux/clk.h>
#include <linux/module.h>
#include <linux/of.h>
#include <linux/regmap.h>
#include <linux/reset.h>
#include <sound/pcm.h>
#include <sound/soc.h>
#define DRV_NAME …
#define EVEA_RATES …
#define EVEA_FORMATS …
#define AADCPOW(n) …
#define AADCPOW_AADC_POWD …
#define ALINSW1 …
#define ALINSW1_SEL1_SHIFT …
#define AHPOUTPOW …
#define AHPOUTPOW_HP_ON …
#define ALINEPOW …
#define ALINEPOW_LIN2_POWD …
#define ALINEPOW_LIN1_POWD …
#define ALO1OUTPOW …
#define ALO1OUTPOW_LO1_ON …
#define ALO2OUTPOW …
#define ALO2OUTPOW_ADAC2_MUTE …
#define ALO2OUTPOW_LO2_ON …
#define AANAPOW …
#define AANAPOW_A_POWD …
#define ADACSEQ1(n) …
#define ADACSEQ1_MMUTE …
#define ADACSEQ2(n) …
#define ADACSEQ2_ADACIN_FIX …
#define ADAC1ODC …
#define ADAC1ODC_HP_DIS_RES_MASK …
#define ADAC1ODC_HP_DIS_RES_OFF …
#define ADAC1ODC_HP_DIS_RES_ON …
#define ADAC1ODC_ADAC_RAMPCLT_MASK …
#define ADAC1ODC_ADAC_RAMPCLT_NORMAL …
#define ADAC1ODC_ADAC_RAMPCLT_REDUCE …
struct evea_priv { … };
static const char * const linsw1_sel1_text[] = …;
static SOC_ENUM_SINGLE_DECL(linsw1_sel1_enum,
ALINSW1, ALINSW1_SEL1_SHIFT,
linsw1_sel1_text);
static const struct snd_kcontrol_new linesw1_mux[] = …;
static const struct snd_soc_dapm_widget evea_widgets[] = …;
static const struct snd_soc_dapm_route evea_routes[] = …;
static void evea_set_power_state_on(struct evea_priv *evea)
{ … }
static void evea_set_power_state_off(struct evea_priv *evea)
{ … }
static int evea_update_switch_lin(struct evea_priv *evea)
{ … }
static int evea_update_switch_lo(struct evea_priv *evea)
{ … }
static int evea_update_switch_hp(struct evea_priv *evea)
{ … }
static void evea_update_switch_all(struct evea_priv *evea)
{ … }
static int evea_get_switch_lin(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static int evea_set_switch_lin(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static int evea_get_switch_lo(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static int evea_set_switch_lo(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static int evea_get_switch_hp(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static int evea_set_switch_hp(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static const struct snd_kcontrol_new evea_controls[] = …;
static int evea_codec_probe(struct snd_soc_component *component)
{ … }
static int evea_codec_suspend(struct snd_soc_component *component)
{ … }
static int evea_codec_resume(struct snd_soc_component *component)
{ … }
static struct snd_soc_component_driver soc_codec_evea = …;
static struct snd_soc_dai_driver soc_dai_evea[] = …;
static const struct regmap_config evea_regmap_config = …;
static int evea_probe(struct platform_device *pdev)
{ … }
static void evea_remove(struct platform_device *pdev)
{ … }
static const struct of_device_id evea_of_match[] __maybe_unused = …;
MODULE_DEVICE_TABLE(of, evea_of_match);
static struct platform_driver evea_codec_driver = …;
module_platform_driver(…) …;
MODULE_AUTHOR(…) …;
MODULE_DESCRIPTION(…) …;
MODULE_LICENSE(…) …;