Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
daca.c File Reference
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/kmod.h>
#include <linux/slab.h>
#include <sound/core.h>
#include "pmac.h"

Go to the source code of this file.

Data Structures

struct  pmac_daca
 

Macros

#define DACA_I2C_ADDR   0x4d
 
#define DACA_REG_SR   0x01
 
#define DACA_REG_AVOL   0x02
 
#define DACA_REG_GCFG   0x03
 
#define DACA_VOL_MAX   0x38
 
#define daca_info_deemphasis   snd_ctl_boolean_mono_info
 
#define daca_info_amp   daca_info_deemphasis
 

Functions

int __devinit snd_pmac_daca_init (struct snd_pmac *chip)
 

Macro Definition Documentation

#define DACA_I2C_ADDR   0x4d

Definition at line 30 of file daca.c.

#define daca_info_amp   daca_info_deemphasis

Definition at line 171 of file daca.c.

#define daca_info_deemphasis   snd_ctl_boolean_mono_info

Definition at line 93 of file daca.c.

#define DACA_REG_AVOL   0x02

Definition at line 34 of file daca.c.

#define DACA_REG_GCFG   0x03

Definition at line 35 of file daca.c.

#define DACA_REG_SR   0x01

Definition at line 33 of file daca.c.

#define DACA_VOL_MAX   0x38

Definition at line 38 of file daca.c.

Function Documentation

int __devinit snd_pmac_daca_init ( struct snd_pmac chip)

Definition at line 247 of file daca.c.