Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pac7302.c File Reference
#include <linux/input.h>
#include <media/v4l2-chip-ident.h>
#include "gspca.h"
#include "pac_common.h"

Go to the source code of this file.

Data Structures

struct  sd
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define PAC7302_GAIN_DEFAULT   15
 
#define PAC7302_GAIN_KNEE   42
 
#define PAC7302_EXPOSURE_DEFAULT   66 /* 33 ms / 30 fps */
 
#define PAC7302_EXPOSURE_KNEE   133 /* 66 ms / 15 fps */
 
#define FL_HFLIP   0x01 /* mirrored by default */
 
#define FL_VFLIP   0x02 /* vertical flipped by default */
 
#define LOAD_PAGE3   255
 
#define END_OF_SEQUENCE   0
 
#define SKIP   0xaa
 

Functions

 MODULE_AUTHOR ("Jean-Francois Moine <http://moinejf.free.fr>, ""Thomas Kaiser thomas@kaiser-linux.li")
 
 MODULE_DESCRIPTION ("Pixart PAC7302")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, device_table)
 
 module_usb_driver (sd_driver)
 

Macro Definition Documentation

#define END_OF_SEQUENCE   0

Definition at line 147 of file pac7302.c.

#define FL_HFLIP   0x01 /* mirrored by default */

Definition at line 129 of file pac7302.c.

#define FL_VFLIP   0x02 /* vertical flipped by default */

Definition at line 130 of file pac7302.c.

#define LOAD_PAGE3   255

Definition at line 146 of file pac7302.c.

#define PAC7302_EXPOSURE_DEFAULT   66 /* 33 ms / 30 fps */

Definition at line 104 of file pac7302.c.

#define PAC7302_EXPOSURE_KNEE   133 /* 66 ms / 15 fps */

Definition at line 105 of file pac7302.c.

#define PAC7302_GAIN_DEFAULT   15

Definition at line 102 of file pac7302.c.

#define PAC7302_GAIN_KNEE   42

Definition at line 103 of file pac7302.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 94 of file pac7302.c.

#define SKIP   0xaa

Definition at line 220 of file pac7302.c.

Function Documentation

MODULE_AUTHOR ( "Jean-Francois Moine <http://moinejf.free.fr>  ,
""Thomas Kaiser thomas @kaiser-linux.li  
)
MODULE_DESCRIPTION ( "Pixart PAC7302"  )
MODULE_DEVICE_TABLE ( usb  ,
device_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( sd_driver  )