Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tda9840.c File Reference
#include <linux/module.h>
#include <linux/ioctl.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <media/v4l2-device.h>
#include <media/v4l2-chip-ident.h>

Go to the source code of this file.

Macros

#define SWITCH   0x00
 
#define LEVEL_ADJUST   0x02
 
#define STEREO_ADJUST   0x03
 
#define TEST   0x04
 
#define TDA9840_SET_MUTE   0x00
 
#define TDA9840_SET_MONO   0x10
 
#define TDA9840_SET_STEREO   0x2a
 
#define TDA9840_SET_LANG1   0x12
 
#define TDA9840_SET_LANG2   0x1e
 
#define TDA9840_SET_BOTH   0x1a
 
#define TDA9840_SET_BOTH_R   0x16
 
#define TDA9840_SET_EXTERNAL   0x7a
 

Functions

 MODULE_AUTHOR ("Michael Hunold <[email protected]>")
 
 MODULE_DESCRIPTION ("tda9840 driver")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Debug level (0-1)")
 
 MODULE_DEVICE_TABLE (i2c, tda9840_id)
 
 module_i2c_driver (tda9840_driver)
 

Macro Definition Documentation

#define LEVEL_ADJUST   0x02

Definition at line 46 of file tda9840.c.

#define STEREO_ADJUST   0x03

Definition at line 47 of file tda9840.c.

#define SWITCH   0x00

Definition at line 45 of file tda9840.c.

#define TDA9840_SET_BOTH   0x1a

Definition at line 55 of file tda9840.c.

#define TDA9840_SET_BOTH_R   0x16

Definition at line 56 of file tda9840.c.

#define TDA9840_SET_EXTERNAL   0x7a

Definition at line 57 of file tda9840.c.

#define TDA9840_SET_LANG1   0x12

Definition at line 53 of file tda9840.c.

#define TDA9840_SET_LANG2   0x1e

Definition at line 54 of file tda9840.c.

#define TDA9840_SET_MONO   0x10

Definition at line 51 of file tda9840.c.

#define TDA9840_SET_MUTE   0x00

Definition at line 50 of file tda9840.c.

#define TDA9840_SET_STEREO   0x2a

Definition at line 52 of file tda9840.c.

#define TEST   0x04

Definition at line 48 of file tda9840.c.

Function Documentation

MODULE_AUTHOR ( "Michael Hunold <[email protected]>"  )
MODULE_DESCRIPTION ( "tda9840 driver )
MODULE_DEVICE_TABLE ( i2c  ,
tda9840_id   
)
module_i2c_driver ( tda9840_driver  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0-1)"   
)