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

Go to the source code of this file.

Data Structures

struct  lm4857
 

Macros

#define LM4857_MVOL   0
 
#define LM4857_LVOL   1
 
#define LM4857_RVOL   2
 
#define LM4857_CTRL   3
 
#define LM4857_3D   5
 
#define LM4857_WAKEUP   5
 
#define LM4857_EPGAIN   4
 

Functions

 MODULE_DEVICE_TABLE (i2c, lm4857_i2c_id)
 
 module_i2c_driver (lm4857_i2c_driver)
 
 MODULE_AUTHOR ("Lars-Peter Clausen <[email protected]>")
 
 MODULE_DESCRIPTION ("LM4857 amplifier driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define LM4857_3D   5

Definition at line 41 of file lm4857.c.

#define LM4857_CTRL   3

Definition at line 38 of file lm4857.c.

#define LM4857_EPGAIN   4

Definition at line 43 of file lm4857.c.

#define LM4857_LVOL   1

Definition at line 36 of file lm4857.c.

#define LM4857_MVOL   0

Definition at line 35 of file lm4857.c.

#define LM4857_RVOL   2

Definition at line 37 of file lm4857.c.

#define LM4857_WAKEUP   5

Definition at line 42 of file lm4857.c.

Function Documentation

MODULE_AUTHOR ( "Lars-Peter Clausen <[email protected]>"  )
MODULE_DESCRIPTION ( "LM4857 amplifier driver )
MODULE_DEVICE_TABLE ( i2c  ,
lm4857_i2c_id   
)
module_i2c_driver ( lm4857_i2c_driver  )
MODULE_LICENSE ( "GPL"  )