#include <linux/delay.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/moduleparam.h>
#include <sound/core.h>
#include <sound/initval.h>
#include <sound/pcm.h>
#include <sound/ac97_codec.h>
#include <sound/info.h>
#include <sound/tlv.h>
#include <asm/io.h>
#include "ca0106.h"
Go to the source code of this file.
#define ADD_CTLS |
( |
|
emu, |
|
|
|
ctls |
|
) |
| |
Value:do { \
if (_err < 0) \
return _err; \
} \
} while (0)
Definition at line 767 of file ca0106_mixer.c.
#define CA_VOLUME |
( |
|
xname, |
|
|
|
chid, |
|
|
|
reg |
|
) |
| |
Value:{ \
SNDRV_CTL_ELEM_ACCESS_TLV_READ, \
.info = snd_ca0106_volume_info, \
.get = snd_ca0106_volume_get, \
.put = snd_ca0106_volume_put, \
.tlv = { .p = snd_ca0106_db_scale1 }, \
.private_value = ((chid) << 8) | (
reg) \
}
Definition at line 579 of file ca0106_mixer.c.
#define I2C_VOLUME |
( |
|
xname, |
|
|
|
chid |
|
) |
| |
Value:{ \
SNDRV_CTL_ELEM_ACCESS_TLV_READ, \
.info = snd_ca0106_i2c_volume_info, \
.get = snd_ca0106_i2c_volume_get, \
.put = snd_ca0106_i2c_volume_put, \
.tlv = { .p = snd_ca0106_db_scale2 }, \
.private_value = chid \
}
Definition at line 660 of file ca0106_mixer.c.