Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
ov534_9.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   "ov534_9"
 
#define OV534_REG_ADDRESS   0xf1 /* sensor address */
 
#define OV534_REG_SUBADDR   0xf2
 
#define OV534_REG_WRITE   0xf3
 
#define OV534_REG_READ   0xf4
 
#define OV534_REG_OPERATION   0xf5
 
#define OV534_REG_STATUS   0xf6
 
#define OV534_OP_WRITE_3   0x37
 
#define OV534_OP_WRITE_2   0x33
 
#define OV534_OP_READ_2   0xf9
 
#define CTRL_TIMEOUT   500
 
#define QVGA_MODE   0
 
#define VGA_MODE   1
 
#define SVGA_MODE   2
 
#define XGA_MODE   3
 
#define SXGA_MODE   4
 
#define UVC_STREAM_EOH   (1 << 7)
 
#define UVC_STREAM_ERR   (1 << 6)
 
#define UVC_STREAM_STI   (1 << 5)
 
#define UVC_STREAM_RES   (1 << 4)
 
#define UVC_STREAM_SCR   (1 << 3)
 
#define UVC_STREAM_PTS   (1 << 2)
 
#define UVC_STREAM_EOF   (1 << 1)
 
#define UVC_STREAM_FID   (1 << 0)
 

Enumerations

enum  sensors {
  CPIA2_SENSOR_410, CPIA2_SENSOR_500, OV9650_SENSOR = 1, S5K83A_SENSOR = 2,
  S5K4AA_SENSOR = 3, MT9M111_SENSOR = 4, PO1030_SENSOR = 5, OV7660_SENSOR = 6,
  SEN_OV2610, SEN_OV2610AE, SEN_OV3610, SEN_OV6620,
  SEN_OV6630, SEN_OV66308AF, SEN_OV7610, SEN_OV7620,
  SEN_OV7620AE, SEN_OV7640, SEN_OV7648, SEN_OV7660,
  SEN_OV7670, SEN_OV76BE, SEN_OV8610, SEN_OV9600,
  SENSOR_OV767x, SENSOR_OV772x, NSENSORS, SENSOR_OV965x,
  SENSOR_OV971x, SENSOR_OV562x, NSENSORS, SENSOR_ADCM1700,
  SENSOR_GC0307, SENSOR_HV7131R, SENSOR_MI0360, SENSOR_MI0360B,
  SENSOR_MO4000, SENSOR_MT9V111, SENSOR_OM6802, SENSOR_OV7630,
  SENSOR_OV7648, SENSOR_OV7660, SENSOR_PO1030, SENSOR_PO2030N,
  SENSOR_SOI768, SENSOR_SP80708, SENSOR_ICX098BQ, SENSOR_LZ24BP,
  SENSOR_MI0360, SENSOR_MT9V111, SENSOR_OV7660, SENSOR_OV9630,
  SENSOR_OM6802, SENSOR_OTHER, SENSOR_TAS5130A, SENSOR_LT168G,
  SENSOR_CX0342, SENSOR_SOI763A, NSENSORS, SENSOR_HV7131R,
  SENSOR_MI0360, SENSOR_MI1310_SOC, SENSOR_MI1320, SENSOR_MI1320_SOC,
  SENSOR_OV7660, SENSOR_OV7670, SENSOR_PO1200, SENSOR_PO3130NC,
  SENSOR_POxxxx, NSENSORS, SENSOR_ADCM2700, SENSOR_CS2102,
  SENSOR_CS2102K, SENSOR_GC0303, SENSOR_GC0305, SENSOR_HDCS2020,
  SENSOR_HV7131B, SENSOR_HV7131R, SENSOR_ICM105A, SENSOR_MC501CB,
  SENSOR_MT9V111_1, SENSOR_MT9V111_3, SENSOR_OV7620, SENSOR_OV7630C,
  SENSOR_PAS106, SENSOR_PAS202B, SENSOR_PB0330, SENSOR_PO2030,
  SENSOR_TAS5130C, SENSOR_MAX
}
 

Functions

 MODULE_AUTHOR ("Jean-Francois Moine <[email protected]>")
 
 MODULE_DESCRIPTION ("GSPCA/OV534_9 USB Camera Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, device_table)
 
 module_usb_driver (sd_driver)
 

Macro Definition Documentation

#define CTRL_TIMEOUT   500

Definition at line 44 of file ov534_9.c.

#define MODULE_NAME   "ov534_9"

Definition at line 29 of file ov534_9.c.

#define OV534_OP_READ_2   0xf9

Definition at line 42 of file ov534_9.c.

#define OV534_OP_WRITE_2   0x33

Definition at line 41 of file ov534_9.c.

#define OV534_OP_WRITE_3   0x37

Definition at line 40 of file ov534_9.c.

#define OV534_REG_ADDRESS   0xf1 /* sensor address */

Definition at line 33 of file ov534_9.c.

#define OV534_REG_OPERATION   0xf5

Definition at line 37 of file ov534_9.c.

#define OV534_REG_READ   0xf4

Definition at line 36 of file ov534_9.c.

#define OV534_REG_STATUS   0xf6

Definition at line 38 of file ov534_9.c.

#define OV534_REG_SUBADDR   0xf2

Definition at line 34 of file ov534_9.c.

#define OV534_REG_WRITE   0xf3

Definition at line 35 of file ov534_9.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 27 of file ov534_9.c.

#define QVGA_MODE   0
#define SVGA_MODE   2
#define SXGA_MODE   4
#define UVC_STREAM_EOF   (1 << 1)

Definition at line 1305 of file ov534_9.c.

#define UVC_STREAM_EOH   (1 << 7)

Definition at line 1299 of file ov534_9.c.

#define UVC_STREAM_ERR   (1 << 6)

Definition at line 1300 of file ov534_9.c.

#define UVC_STREAM_FID   (1 << 0)

Definition at line 1306 of file ov534_9.c.

#define UVC_STREAM_PTS   (1 << 2)

Definition at line 1304 of file ov534_9.c.

#define UVC_STREAM_RES   (1 << 4)

Definition at line 1302 of file ov534_9.c.

#define UVC_STREAM_SCR   (1 << 3)

Definition at line 1303 of file ov534_9.c.

#define UVC_STREAM_STI   (1 << 5)

Definition at line 1301 of file ov534_9.c.

#define VGA_MODE   1
#define XGA_MODE   3

Enumeration Type Documentation

enum sensors
Enumerator:
CPIA2_SENSOR_410 
CPIA2_SENSOR_500 
OV9650_SENSOR 
S5K83A_SENSOR 
S5K4AA_SENSOR 
MT9M111_SENSOR 
PO1030_SENSOR 
OV7660_SENSOR 
SEN_OV2610 
SEN_OV2610AE 
SEN_OV3610 
SEN_OV6620 
SEN_OV6630 
SEN_OV66308AF 
SEN_OV7610 
SEN_OV7620 
SEN_OV7620AE 
SEN_OV7640 
SEN_OV7648 
SEN_OV7660 
SEN_OV7670 
SEN_OV76BE 
SEN_OV8610 
SEN_OV9600 
SENSOR_OV767x 
SENSOR_OV772x 
NSENSORS 
SENSOR_OV965x 
SENSOR_OV971x 
SENSOR_OV562x 
NSENSORS 
SENSOR_ADCM1700 
SENSOR_GC0307 
SENSOR_HV7131R 
SENSOR_MI0360 
SENSOR_MI0360B 
SENSOR_MO4000 
SENSOR_MT9V111 
SENSOR_OM6802 
SENSOR_OV7630 
SENSOR_OV7648 
SENSOR_OV7660 
SENSOR_PO1030 
SENSOR_PO2030N 
SENSOR_SOI768 
SENSOR_SP80708 
SENSOR_ICX098BQ 
SENSOR_LZ24BP 
SENSOR_MI0360 
SENSOR_MT9V111 
SENSOR_OV7660 
SENSOR_OV9630 
SENSOR_OM6802 
SENSOR_OTHER 
SENSOR_TAS5130A 
SENSOR_LT168G 
SENSOR_CX0342 
SENSOR_SOI763A 
NSENSORS 
SENSOR_HV7131R 
SENSOR_MI0360 
SENSOR_MI1310_SOC 
SENSOR_MI1320 
SENSOR_MI1320_SOC 
SENSOR_OV7660 
SENSOR_OV7670 
SENSOR_PO1200 
SENSOR_PO3130NC 
SENSOR_POxxxx 
NSENSORS 
SENSOR_ADCM2700 
SENSOR_CS2102 
SENSOR_CS2102K 
SENSOR_GC0303 
SENSOR_GC0305 
SENSOR_HDCS2020 
SENSOR_HV7131B 
SENSOR_HV7131R 
SENSOR_ICM105A 
SENSOR_MC501CB 
SENSOR_MT9V111_1 
SENSOR_MT9V111_3 
SENSOR_OV7620 
SENSOR_OV7630C 
SENSOR_PAS106 
SENSOR_PAS202B 
SENSOR_PB0330 
SENSOR_PO2030 
SENSOR_TAS5130C 
SENSOR_MAX 

Definition at line 58 of file ov534_9.c.

Function Documentation

MODULE_AUTHOR ( "Jean-Francois Moine <[email protected]>"  )
MODULE_DESCRIPTION ( "GSPCA/OV534_9 USB Camera Driver"  )
MODULE_DEVICE_TABLE ( usb  ,
device_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( sd_driver  )