wm8776.h (bfe514279cc011304de9093a4923db09ef4eb459) wm8776.h (a2af050f8df6eeec29818639859f14eb237d6957)
1#ifndef __SOUND_WM8776_H
2#define __SOUND_WM8776_H
3
4/*
5 * ALSA driver for ICEnsemble VT17xx
6 *
7 * Lowlevel functions for WM8776 codec
8 *

--- 173 unchanged lines hidden (view full) ---

182
183#define WM8776_FLAG_STEREO (1 << 0)
184#define WM8776_FLAG_VOL_UPDATE (1 << 1)
185#define WM8776_FLAG_INVERT (1 << 2)
186#define WM8776_FLAG_LIM (1 << 3)
187#define WM8776_FLAG_ALC (1 << 4)
188
189struct snd_wm8776_ctl {
1#ifndef __SOUND_WM8776_H
2#define __SOUND_WM8776_H
3
4/*
5 * ALSA driver for ICEnsemble VT17xx
6 *
7 * Lowlevel functions for WM8776 codec
8 *

--- 173 unchanged lines hidden (view full) ---

182
183#define WM8776_FLAG_STEREO (1 << 0)
184#define WM8776_FLAG_VOL_UPDATE (1 << 1)
185#define WM8776_FLAG_INVERT (1 << 2)
186#define WM8776_FLAG_LIM (1 << 3)
187#define WM8776_FLAG_ALC (1 << 4)
188
189struct snd_wm8776_ctl {
190 char *name;
190 const char *name;
191 snd_ctl_elem_type_t type;
192 const char *const enum_names[WM8776_ENUM_MAX];
193 const unsigned int *tlv;
194 u16 reg1, reg2, mask1, mask2, min, max, flags;
195 void (*set)(struct snd_wm8776 *wm, u16 ch1, u16 ch2);
196 void (*get)(struct snd_wm8776 *wm, u16 *ch1, u16 *ch2);
197};
198

--- 28 unchanged lines hidden ---
191 snd_ctl_elem_type_t type;
192 const char *const enum_names[WM8776_ENUM_MAX];
193 const unsigned int *tlv;
194 u16 reg1, reg2, mask1, mask2, min, max, flags;
195 void (*set)(struct snd_wm8776 *wm, u16 ch1, u16 ch2);
196 void (*get)(struct snd_wm8776 *wm, u16 *ch1, u16 *ch2);
197};
198

--- 28 unchanged lines hidden ---