#include <linux/device.h>
#include <linux/init.h>
#include <linux/usb.h>
#include <sound/control.h>
#include <sound/core.h>
#include <sound/pcm.h>
#include "device.h"
#include "control.h"
#define CNT_INTVAL …
#define MASCHINE_BANK_SIZE …
static int control_info(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_info *uinfo)
{ … }
static int control_get(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static int control_put(struct snd_kcontrol *kcontrol,
struct snd_ctl_elem_value *ucontrol)
{ … }
static struct snd_kcontrol_new kcontrol_template = …;
struct caiaq_controller { … };
static const struct caiaq_controller ak1_controller[] = …;
static const struct caiaq_controller rk2_controller[] = …;
static const struct caiaq_controller rk3_controller[] = …;
static const struct caiaq_controller kore_controller[] = …;
static const struct caiaq_controller a8dj_controller[] = …;
static const struct caiaq_controller a4dj_controller[] = …;
static const struct caiaq_controller kontrolx1_controller[] = …;
static const struct caiaq_controller kontrols4_controller[] = …;
static const struct caiaq_controller maschine_controller[] = …;
static int add_controls(const struct caiaq_controller *c, int num,
struct snd_usb_caiaqdev *cdev)
{ … }
int snd_usb_caiaq_control_init(struct snd_usb_caiaqdev *cdev)
{ … }