#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/clk.h>
#include <linux/i2c.h>
#include <linux/property.h>
#include <linux/pm_wakeirq.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/workqueue.h>
#include <sound/soc.h>
#include <sound/jack.h>
#include <sound/da7219.h>
#include "da7219.h"
#include "da7219-aad.h"
void da7219_aad_jack_det(struct snd_soc_component *component, struct snd_soc_jack *jack)
{ … }
static void da7219_aad_btn_det_work(struct work_struct *work)
{ … }
static void da7219_aad_hptest_work(struct work_struct *work)
{ … }
static void da7219_aad_jack_det_work(struct work_struct *work)
{ … }
static irqreturn_t da7219_aad_irq_thread(int irq, void *data)
{ … }
static enum da7219_aad_micbias_pulse_lvl
da7219_aad_fw_micbias_pulse_lvl(struct device *dev, u32 val)
{ … }
static enum da7219_aad_btn_cfg
da7219_aad_fw_btn_cfg(struct device *dev, u32 val)
{ … }
static enum da7219_aad_mic_det_thr
da7219_aad_fw_mic_det_thr(struct device *dev, u32 val)
{ … }
static enum da7219_aad_jack_ins_deb
da7219_aad_fw_jack_ins_deb(struct device *dev, u32 val)
{ … }
static enum da7219_aad_jack_ins_det_pty
da7219_aad_fw_jack_ins_det_pty(struct device *dev, const char *str)
{ … }
static enum da7219_aad_jack_det_rate
da7219_aad_fw_jack_det_rate(struct device *dev, const char *str)
{ … }
static enum da7219_aad_jack_rem_deb
da7219_aad_fw_jack_rem_deb(struct device *dev, u32 val)
{ … }
static enum da7219_aad_btn_avg
da7219_aad_fw_btn_avg(struct device *dev, u32 val)
{ … }
static enum da7219_aad_adc_1bit_rpt
da7219_aad_fw_adc_1bit_rpt(struct device *dev, u32 val)
{ … }
static struct da7219_aad_pdata *da7219_aad_fw_to_pdata(struct device *dev)
{ … }
static void da7219_aad_handle_pdata(struct snd_soc_component *component)
{ … }
static void da7219_aad_handle_gnd_switch_time(struct snd_soc_component *component)
{ … }
void da7219_aad_suspend(struct snd_soc_component *component)
{ … }
void da7219_aad_resume(struct snd_soc_component *component)
{ … }
int da7219_aad_init(struct snd_soc_component *component)
{ … }
void da7219_aad_exit(struct snd_soc_component *component)
{ … }
int da7219_aad_probe(struct i2c_client *i2c)
{ … }
MODULE_DESCRIPTION(…) …;
MODULE_AUTHOR(…) …;
MODULE_AUTHOR(…) …;
MODULE_LICENSE(…) …;