2 * rt5640-dsp.h -- RT5640 ALSA SoC DSP driver
4 * Copyright 2011 Realtek Microelectronics
5 * Author: Johnny Hsu <johnnyhsu@realtek.com>
7 * This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License version 2 as
9 * published by the Free Software Foundation.
12 #ifndef __RT5640_DSP_H__
13 #define __RT5640_DSP_H__
15 /* Debug String Length */
16 #define RT5640_DSP_REG_DISP_LEN 12
20 RT5640_DSP_AEC_NS_FENS,
25 struct rt5640_dsp_param {
32 int rt5640_dsp_probe(struct snd_soc_codec *codec);
33 int rt56xx_dsp_ioctl_common(struct snd_hwdep *hw, struct file *file, unsigned int cmd, unsigned long arg);
35 int rt5640_dsp_suspend(struct snd_soc_codec *codec);
36 int rt5640_dsp_resume(struct snd_soc_codec *codec);
39 #endif /* __RT5640_DSP_H__ */