Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
s2250-board.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include <linux/videodev2.h>
#include <linux/slab.h>
#include <media/v4l2-device.h>
#include <media/v4l2-common.h>
#include <media/v4l2-subdev.h>
#include "go7007-priv.h"

Go to the source code of this file.

Data Structures

struct  go7007_usb_board
 
struct  go7007_usb
 
struct  s2250
 

Macros

#define TLV320_ADDRESS   0x34
 
#define VPX322_ADDR_ANALOGCONTROL1   0x02
 
#define VPX322_ADDR_BRIGHTNESS0   0x0127
 
#define VPX322_ADDR_BRIGHTNESS1   0x0131
 
#define VPX322_ADDR_CONTRAST0   0x0128
 
#define VPX322_ADDR_CONTRAST1   0x0132
 
#define VPX322_ADDR_HUE   0x00dc
 
#define VPX322_ADDR_SAT   0x0030
 

Functions

 MODULE_DESCRIPTION ("Sensoray 2250/2251 i2c v4l2 subdev driver")
 
 MODULE_LICENSE ("GPL v2")
 
 MODULE_DEVICE_TABLE (i2c, s2250_id)
 
 module_init (init_s2250)
 
 module_exit (exit_s2250)
 

Macro Definition Documentation

#define TLV320_ADDRESS   0x34

Definition at line 32 of file s2250-board.c.

#define VPX322_ADDR_ANALOGCONTROL1   0x02

Definition at line 33 of file s2250-board.c.

#define VPX322_ADDR_BRIGHTNESS0   0x0127

Definition at line 34 of file s2250-board.c.

#define VPX322_ADDR_BRIGHTNESS1   0x0131

Definition at line 35 of file s2250-board.c.

#define VPX322_ADDR_CONTRAST0   0x0128

Definition at line 36 of file s2250-board.c.

#define VPX322_ADDR_CONTRAST1   0x0132

Definition at line 37 of file s2250-board.c.

#define VPX322_ADDR_HUE   0x00dc

Definition at line 38 of file s2250-board.c.

#define VPX322_ADDR_SAT   0x0030

Definition at line 39 of file s2250-board.c.

Function Documentation

MODULE_DESCRIPTION ( "Sensoray 2250/2251 i2c v4l2 subdev driver )
MODULE_DEVICE_TABLE ( i2c  ,
s2250_id   
)
module_exit ( exit_s2250  )
module_init ( init_s2250  )
MODULE_LICENSE ( "GPL v2 )