#ifndef __ADAU17X1_H__
#define __ADAU17X1_H__
#include <linux/regmap.h>
#include <linux/platform_data/adau17x1.h>
#include "sigmadsp.h"
enum adau17x1_type { … };
enum adau17x1_pll { … };
enum adau17x1_pll_src { … };
enum adau17x1_clk_src { … };
struct clk;
struct adau { … };
int adau17x1_add_widgets(struct snd_soc_component *component);
int adau17x1_add_routes(struct snd_soc_component *component);
int adau17x1_probe(struct device *dev, struct regmap *regmap,
enum adau17x1_type type, void (*switch_mode)(struct device *dev),
const char *firmware_name);
void adau17x1_remove(struct device *dev);
int adau17x1_set_micbias_voltage(struct snd_soc_component *component,
enum adau17x1_micbias_voltage micbias);
bool adau17x1_readable_register(struct device *dev, unsigned int reg);
bool adau17x1_volatile_register(struct device *dev, unsigned int reg);
bool adau17x1_precious_register(struct device *dev, unsigned int reg);
int adau17x1_resume(struct snd_soc_component *component);
extern const struct snd_soc_dai_ops adau17x1_dai_ops;
#define ADAU17X1_CLOCK_CONTROL …
#define ADAU17X1_PLL_CONTROL …
#define ADAU17X1_REC_POWER_MGMT …
#define ADAU17X1_MICBIAS …
#define ADAU17X1_SERIAL_PORT0 …
#define ADAU17X1_SERIAL_PORT1 …
#define ADAU17X1_CONVERTER0 …
#define ADAU17X1_CONVERTER1 …
#define ADAU17X1_LEFT_INPUT_DIGITAL_VOL …
#define ADAU17X1_RIGHT_INPUT_DIGITAL_VOL …
#define ADAU17X1_ADC_CONTROL …
#define ADAU17X1_PLAY_POWER_MGMT …
#define ADAU17X1_DAC_CONTROL0 …
#define ADAU17X1_DAC_CONTROL1 …
#define ADAU17X1_DAC_CONTROL2 …
#define ADAU17X1_SERIAL_PORT_PAD …
#define ADAU17X1_CONTROL_PORT_PAD0 …
#define ADAU17X1_CONTROL_PORT_PAD1 …
#define ADAU17X1_DSP_SAMPLING_RATE …
#define ADAU17X1_SERIAL_INPUT_ROUTE …
#define ADAU17X1_SERIAL_OUTPUT_ROUTE …
#define ADAU17X1_DSP_ENABLE …
#define ADAU17X1_DSP_RUN …
#define ADAU17X1_SERIAL_SAMPLING_RATE …
#define ADAU17X1_SERIAL_PORT0_BCLK_POL …
#define ADAU17X1_SERIAL_PORT0_LRCLK_POL …
#define ADAU17X1_SERIAL_PORT0_MASTER …
#define ADAU17X1_SERIAL_PORT1_DELAY1 …
#define ADAU17X1_SERIAL_PORT1_DELAY0 …
#define ADAU17X1_SERIAL_PORT1_DELAY8 …
#define ADAU17X1_SERIAL_PORT1_DELAY16 …
#define ADAU17X1_SERIAL_PORT1_DELAY_MASK …
#define ADAU17X1_CLOCK_CONTROL_INFREQ_MASK …
#define ADAU17X1_CLOCK_CONTROL_CORECLK_SRC_PLL …
#define ADAU17X1_CLOCK_CONTROL_SYSCLK_EN …
#define ADAU17X1_SERIAL_PORT1_BCLK64 …
#define ADAU17X1_SERIAL_PORT1_BCLK32 …
#define ADAU17X1_SERIAL_PORT1_BCLK48 …
#define ADAU17X1_SERIAL_PORT1_BCLK128 …
#define ADAU17X1_SERIAL_PORT1_BCLK256 …
#define ADAU17X1_SERIAL_PORT1_BCLK_MASK …
#define ADAU17X1_SERIAL_PORT0_STEREO …
#define ADAU17X1_SERIAL_PORT0_TDM4 …
#define ADAU17X1_SERIAL_PORT0_TDM8 …
#define ADAU17X1_SERIAL_PORT0_TDM_MASK …
#define ADAU17X1_SERIAL_PORT0_PULSE_MODE …
#define ADAU17X1_CONVERTER0_DAC_PAIR(x) …
#define ADAU17X1_CONVERTER0_DAC_PAIR_MASK …
#define ADAU17X1_CONVERTER1_ADC_PAIR(x) …
#define ADAU17X1_CONVERTER1_ADC_PAIR_MASK …
#define ADAU17X1_CONVERTER0_CONVSR_MASK …
#define ADAU17X1_CONVERTER0_ADOSR …
#endif