Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
spca505.c File Reference
#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   "spca505"
 
#define IntelPCCameraPro   0
 
#define Nxultra   1
 
#define SPCA50X_OFFSET_DATA   10
 
#define SPCA50X_REG_USB   0x02 /* spca505 501 */
 
#define SPCA50X_USB_CTRL   0x00 /* spca505 */
 
#define SPCA50X_CUSB_ENABLE   0x01 /* spca505 */
 
#define SPCA50X_REG_GLOBAL   0x03 /* spca505 */
 
#define SPCA50X_GMISC0_IDSEL   0x01 /* Global control device ID select spca505 */
 
#define SPCA50X_GLOBAL_MISC0   0x00 /* Global control miscellaneous 0 spca505 */
 
#define SPCA50X_GLOBAL_MISC1   0x01 /* 505 */
 
#define SPCA50X_GLOBAL_MISC3   0x03 /* 505 */
 
#define SPCA50X_GMISC3_SAA7113RST   0x20 /* Not sure about this one spca505 */
 
#define SPCA50X_REG_COMPRESS   0x04
 
#define initial_brightness   0x7f /* 0x0(white)-0xff(black) */
 

Functions

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

Macro Definition Documentation

#define initial_brightness   0x7f /* 0x0(white)-0xff(black) */

Definition at line 310 of file spca505.c.

#define IntelPCCameraPro   0

Definition at line 37 of file spca505.c.

#define MODULE_NAME   "spca505"

Definition at line 24 of file spca505.c.

#define Nxultra   1

Definition at line 38 of file spca505.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 22 of file spca505.c.

#define SPCA50X_CUSB_ENABLE   0x01 /* spca505 */

Definition at line 74 of file spca505.c.

#define SPCA50X_GLOBAL_MISC0   0x00 /* Global control miscellaneous 0 spca505 */

Definition at line 78 of file spca505.c.

#define SPCA50X_GLOBAL_MISC1   0x01 /* 505 */

Definition at line 80 of file spca505.c.

#define SPCA50X_GLOBAL_MISC3   0x03 /* 505 */

Definition at line 81 of file spca505.c.

#define SPCA50X_GMISC0_IDSEL   0x01 /* Global control device ID select spca505 */

Definition at line 77 of file spca505.c.

#define SPCA50X_GMISC3_SAA7113RST   0x20 /* Not sure about this one spca505 */

Definition at line 82 of file spca505.c.

#define SPCA50X_OFFSET_DATA   10

Definition at line 69 of file spca505.c.

#define SPCA50X_REG_COMPRESS   0x04

Definition at line 85 of file spca505.c.

#define SPCA50X_REG_GLOBAL   0x03 /* spca505 */

Definition at line 76 of file spca505.c.

#define SPCA50X_REG_USB   0x02 /* spca505 501 */

Definition at line 71 of file spca505.c.

#define SPCA50X_USB_CTRL   0x00 /* spca505 */

Definition at line 73 of file spca505.c.

Function Documentation

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