2 * rt3261_ioctl.h -- RT3261 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 __RT3261_IOCTL_H__
13 #define __RT3261_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 rt3261_ioctl_common(struct snd_hwdep *hw, struct file *file,
33 unsigned int cmd, unsigned long arg);
34 int rt3261_update_eqmode(struct snd_soc_codec *codec, int mode);
35 #endif /* __RT3261_IOCTL_H__ */