Linux Kernel
3.7.1
|
#include <linux/delay.h>
#include <linux/device.h>
#include <linux/firmware.h>
#include <linux/mutex.h>
#include <sound/core.h>
#include <sound/control.h>
#include <sound/tlv.h>
#include <asm/io.h>
#include "vx222.h"
Go to the source code of this file.
Macros | |
#define | vx_inb(chip, reg) vx2_inb((struct vx_core*)(chip), VX_##reg) |
#define | vx_outb(chip, reg, val) vx2_outb((struct vx_core*)(chip), VX_##reg, val) |
#define | vx_inl(chip, reg) vx2_inl((struct vx_core*)(chip), VX_##reg) |
#define | vx_outl(chip, reg, val) vx2_outl((struct vx_core*)(chip), VX_##reg, val) |
#define | XX_DSP_RESET_WAIT_TIME 2 /* ms */ |
#define | VX_XILINX_RESET_MASK 0x40000000 |
#define | VX_USERBIT0_MASK 0x00000004 |
#define | VX_USERBIT1_MASK 0x00000020 |
#define | VX_CNTRL_REGISTER_VALUE 0x00172012 |
#define | AKM_CODEC_POWER_CONTROL_CMD 0xA007 |
#define | AKM_CODEC_RESET_ON_CMD 0xA100 |
#define | AKM_CODEC_RESET_OFF_CMD 0xA103 |
#define | AKM_CODEC_CLOCK_FORMAT_CMD 0xA240 |
#define | AKM_CODEC_MUTE_CMD 0xA38D |
#define | AKM_CODEC_UNMUTE_CMD 0xA30D |
#define | AKM_CODEC_LEFT_LEVEL_CMD 0xA400 |
#define | AKM_CODEC_RIGHT_LEVEL_CMD 0xA500 |
#define | V2_MICRO_LEVEL_RANGE (318 - 255) |
#define | MIC_LEVEL_MAX 0xff |
Variables | |
struct snd_vx_ops | vx222_ops |
struct snd_vx_ops | vx222_old_ops |
#define AKM_CODEC_CLOCK_FORMAT_CMD 0xA240 |
Definition at line 512 of file vx222_ops.c.
#define AKM_CODEC_LEFT_LEVEL_CMD 0xA400 |
Definition at line 515 of file vx222_ops.c.
#define AKM_CODEC_MUTE_CMD 0xA38D |
Definition at line 513 of file vx222_ops.c.
#define AKM_CODEC_POWER_CONTROL_CMD 0xA007 |
Definition at line 509 of file vx222_ops.c.
#define AKM_CODEC_RESET_OFF_CMD 0xA103 |
Definition at line 511 of file vx222_ops.c.
#define AKM_CODEC_RESET_ON_CMD 0xA100 |
Definition at line 510 of file vx222_ops.c.
#define AKM_CODEC_RIGHT_LEVEL_CMD 0xA500 |
Definition at line 516 of file vx222_ops.c.
#define AKM_CODEC_UNMUTE_CMD 0xA30D |
Definition at line 514 of file vx222_ops.c.
#define MIC_LEVEL_MAX 0xff |
Definition at line 854 of file vx222_ops.c.
#define V2_MICRO_LEVEL_RANGE (318 - 255) |
Definition at line 819 of file vx222_ops.c.
#define VX_CNTRL_REGISTER_VALUE 0x00172012 |
Definition at line 327 of file vx222_ops.c.
Definition at line 141 of file vx222_ops.c.
Definition at line 145 of file vx222_ops.c.
Definition at line 143 of file vx222_ops.c.
Definition at line 147 of file vx222_ops.c.
#define VX_USERBIT0_MASK 0x00000004 |
Definition at line 325 of file vx222_ops.c.
#define VX_USERBIT1_MASK 0x00000020 |
Definition at line 326 of file vx222_ops.c.
#define VX_XILINX_RESET_MASK 0x40000000 |
Definition at line 324 of file vx222_ops.c.
#define XX_DSP_RESET_WAIT_TIME 2 /* ms */ |
Definition at line 154 of file vx222_ops.c.
struct snd_vx_ops vx222_old_ops |
Definition at line 1014 of file vx222_ops.c.
struct snd_vx_ops vx222_ops |
Definition at line 994 of file vx222_ops.c.