Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Enumerations | Functions
ths7303.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/ctype.h>
#include <linux/slab.h>
#include <linux/i2c.h>
#include <linux/device.h>
#include <linux/delay.h>
#include <linux/module.h>
#include <linux/uaccess.h>
#include <linux/videodev2.h>
#include <media/v4l2-device.h>
#include <media/v4l2-subdev.h>
#include <media/v4l2-chip-ident.h>

Go to the source code of this file.

Macros

#define THS7303_CHANNEL_1   1
 
#define THS7303_CHANNEL_2   2
 
#define THS7303_CHANNEL_3   3
 

Enumerations

enum  ths7303_filter_mode {
  THS7303_FILTER_MODE_480I_576I, THS7303_FILTER_MODE_480P_576P, THS7303_FILTER_MODE_720P_1080I, THS7303_FILTER_MODE_1080P,
  THS7303_FILTER_MODE_DISABLE
}
 

Functions

 MODULE_DESCRIPTION ("TI THS7303 video amplifier driver")
 
 MODULE_AUTHOR ("Chaithrika U S")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Debug level 0-1")
 
int ths7303_setval (struct v4l2_subdev *sd, enum ths7303_filter_mode mode)
 
 MODULE_DEVICE_TABLE (i2c, ths7303_id)
 
 module_i2c_driver (ths7303_driver)
 

Macro Definition Documentation

#define THS7303_CHANNEL_1   1

Definition at line 31 of file ths7303.c.

#define THS7303_CHANNEL_2   2

Definition at line 32 of file ths7303.c.

#define THS7303_CHANNEL_3   3

Definition at line 33 of file ths7303.c.

Enumeration Type Documentation

Enumerator:
THS7303_FILTER_MODE_480I_576I 
THS7303_FILTER_MODE_480P_576P 
THS7303_FILTER_MODE_720P_1080I 
THS7303_FILTER_MODE_1080P 
THS7303_FILTER_MODE_DISABLE 

Definition at line 35 of file ths7303.c.

Function Documentation

MODULE_AUTHOR ( "Chaithrika U S )
MODULE_DESCRIPTION ( "TI THS7303 video amplifier driver )
MODULE_DEVICE_TABLE ( i2c  ,
ths7303_id   
)
module_i2c_driver ( ths7303_driver  )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Debug level 0-1"   
)
int ths7303_setval ( struct v4l2_subdev sd,
enum ths7303_filter_mode  mode 
)

Definition at line 52 of file ths7303.c.