Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spca561.c File Reference
#include <linux/input.h>
#include "gspca.h"

Go to the source code of this file.

Data Structures

struct  sd
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define MODULE_NAME   "spca561"
 
#define EXPOSURE_MAX   (2047 + 325)
 
#define EXPO12A_DEF   3
 
#define Rev012A   0
 
#define Rev072A   1
 
#define AG_CNT_START   13
 
#define SPCA561_OFFSET_SNAP   1
 
#define SPCA561_OFFSET_TYPE   2
 
#define SPCA561_OFFSET_COMPRESS   3
 
#define SPCA561_OFFSET_FRAMSEQ   4
 
#define SPCA561_OFFSET_GPIO   5
 
#define SPCA561_OFFSET_USBBUFF   6
 
#define SPCA561_OFFSET_WIN2GRAVE   7
 
#define SPCA561_OFFSET_WIN2RAVE   8
 
#define SPCA561_OFFSET_WIN2BAVE   9
 
#define SPCA561_OFFSET_WIN2GBAVE   10
 
#define SPCA561_OFFSET_WIN1GRAVE   11
 
#define SPCA561_OFFSET_WIN1RAVE   12
 
#define SPCA561_OFFSET_WIN1BAVE   13
 
#define SPCA561_OFFSET_WIN1GBAVE   14
 
#define SPCA561_OFFSET_FREQ   15
 
#define SPCA561_OFFSET_VSYNC   16
 
#define SPCA561_INDEX_I2C_BASE   0x8800
 
#define SPCA561_SNAPBIT   0x20
 
#define SPCA561_SNAPCTRL   0x40
 

Functions

 MODULE_AUTHOR ("Michel Xhaard <[email protected]>")
 
 MODULE_DESCRIPTION ("GSPCA/SPCA561 USB Camera Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, device_table)
 
 module_usb_driver (sd_driver)
 

Macro Definition Documentation

#define AG_CNT_START   13

Definition at line 54 of file spca561.c.

#define EXPO12A_DEF   3

Definition at line 46 of file spca561.c.

#define EXPOSURE_MAX   (2047 + 325)

Definition at line 34 of file spca561.c.

#define MODULE_NAME   "spca561"

Definition at line 25 of file spca561.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 23 of file spca561.c.

#define Rev012A   0

Definition at line 50 of file spca561.c.

#define Rev072A   1

Definition at line 51 of file spca561.c.

#define SPCA561_INDEX_I2C_BASE   0x8800

Definition at line 125 of file spca561.c.

#define SPCA561_OFFSET_COMPRESS   3

Definition at line 111 of file spca561.c.

#define SPCA561_OFFSET_FRAMSEQ   4

Definition at line 112 of file spca561.c.

#define SPCA561_OFFSET_FREQ   15

Definition at line 123 of file spca561.c.

#define SPCA561_OFFSET_GPIO   5

Definition at line 113 of file spca561.c.

#define SPCA561_OFFSET_SNAP   1

Definition at line 109 of file spca561.c.

#define SPCA561_OFFSET_TYPE   2

Definition at line 110 of file spca561.c.

#define SPCA561_OFFSET_USBBUFF   6

Definition at line 114 of file spca561.c.

#define SPCA561_OFFSET_VSYNC   16

Definition at line 124 of file spca561.c.

#define SPCA561_OFFSET_WIN1BAVE   13

Definition at line 121 of file spca561.c.

#define SPCA561_OFFSET_WIN1GBAVE   14

Definition at line 122 of file spca561.c.

#define SPCA561_OFFSET_WIN1GRAVE   11

Definition at line 119 of file spca561.c.

#define SPCA561_OFFSET_WIN1RAVE   12

Definition at line 120 of file spca561.c.

#define SPCA561_OFFSET_WIN2BAVE   9

Definition at line 117 of file spca561.c.

#define SPCA561_OFFSET_WIN2GBAVE   10

Definition at line 118 of file spca561.c.

#define SPCA561_OFFSET_WIN2GRAVE   7

Definition at line 115 of file spca561.c.

#define SPCA561_OFFSET_WIN2RAVE   8

Definition at line 116 of file spca561.c.

#define SPCA561_SNAPBIT   0x20

Definition at line 126 of file spca561.c.

#define SPCA561_SNAPCTRL   0x40

Definition at line 127 of file spca561.c.

Function Documentation

MODULE_AUTHOR ( "Michel Xhaard <[email protected]>"  )
MODULE_DESCRIPTION ( "GSPCA/SPCA561 USB Camera Driver"  )
MODULE_DEVICE_TABLE ( usb  ,
device_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( sd_driver  )