2 * rt5640_ioctl.h -- RT5640 ALSA SoC audio driver IO control
4 * Copyright 2012 Realtek Microelectronics
5 * Author: Bard <bardliao@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_IOCTL_H__
13 #define __RT5640_IOCTL_H__
15 #include <sound/hwdep.h>
16 #include <linux/ioctl.h>
26 typedef struct hweq_s {
27 unsigned int reg[EQ_REG_NUM];
28 unsigned int value[EQ_REG_NUM];
32 int rt5640_ioctl_common(struct snd_hwdep *hw, struct file *file,
33 unsigned int cmd, unsigned long arg);
34 int rt5640_update_eqmode(
35 struct snd_soc_codec *codec, int mode);
37 #endif /* __RT5640_IOCTL_H__ */