Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tv8532.c File Reference
#include "gspca.h"

Go to the source code of this file.

Data Structures

struct  sd
 

Macros

#define MODULE_NAME   "tv8532"
 
#define R00_PART_CONTROL   0x00
 
#define LATENT_CHANGE   0x80
 
#define EXPO_CHANGE   0x04
 
#define R01_TIMING_CONTROL_LOW   0x01
 
#define CMD_EEprom_Open   0x30
 
#define CMD_EEprom_Close   0x29
 
#define R03_TABLE_ADDR   0x03
 
#define R04_WTRAM_DATA_L   0x04
 
#define R05_WTRAM_DATA_M   0x05
 
#define R06_WTRAM_DATA_H   0x06
 
#define R07_TABLE_LEN   0x07
 
#define R08_RAM_WRITE_ACTION   0x08
 
#define R0C_AD_WIDTHL   0x0c
 
#define R0D_AD_WIDTHH   0x0d
 
#define R0E_AD_HEIGHTL   0x0e
 
#define R0F_AD_HEIGHTH   0x0f
 
#define R10_AD_COL_BEGINL   0x10
 
#define R11_AD_COL_BEGINH   0x11
 
#define MIRROR   0x04 /* [10] */
 
#define R14_AD_ROW_BEGINL   0x14
 
#define R15_AD_ROWBEGINH   0x15
 
#define R1C_AD_EXPOSE_TIMEL   0x1c
 
#define R20_GAIN_G1L   0x20
 
#define R21_GAIN_G1H   0x21
 
#define R22_GAIN_RL   0x22
 
#define R23_GAIN_RH   0x23
 
#define R24_GAIN_BL   0x24
 
#define R25_GAIN_BH   0x25
 
#define R26_GAIN_G2L   0x26
 
#define R27_GAIN_G2H   0x27
 
#define R28_QUANT   0x28
 
#define R29_LINE   0x29
 
#define R2C_POLARITY   0x2c
 
#define R2D_POINT   0x2d
 
#define R2E_POINTH   0x2e
 
#define R2F_POINTB   0x2f
 
#define R30_POINTBH   0x30
 
#define R31_UPD   0x31
 
#define R2A_HIGH_BUDGET   0x2a
 
#define R2B_LOW_BUDGET   0x2b
 
#define R34_VID   0x34
 
#define R35_VIDH   0x35
 
#define R36_PID   0x36
 
#define R37_PIDH   0x37
 
#define R39_Test1   0x39 /* GPIO */
 
#define R3B_Test3   0x3b /* GPIO */
 
#define R83_AD_IDH   0x83
 
#define R91_AD_SLOPEREG   0x91
 
#define R94_AD_BITCONTROL   0x94
 

Functions

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

Macro Definition Documentation

#define CMD_EEprom_Close   0x29

Definition at line 55 of file tv8532.c.

#define CMD_EEprom_Open   0x30

Definition at line 54 of file tv8532.c.

#define EXPO_CHANGE   0x04

Definition at line 52 of file tv8532.c.

#define LATENT_CHANGE   0x80

Definition at line 51 of file tv8532.c.

#define MIRROR   0x04 /* [10] */

Definition at line 68 of file tv8532.c.

#define MODULE_NAME   "tv8532"

Definition at line 21 of file tv8532.c.

#define R00_PART_CONTROL   0x00

Definition at line 50 of file tv8532.c.

#define R01_TIMING_CONTROL_LOW   0x01

Definition at line 53 of file tv8532.c.

#define R03_TABLE_ADDR   0x03

Definition at line 56 of file tv8532.c.

#define R04_WTRAM_DATA_L   0x04

Definition at line 57 of file tv8532.c.

#define R05_WTRAM_DATA_M   0x05

Definition at line 58 of file tv8532.c.

#define R06_WTRAM_DATA_H   0x06

Definition at line 59 of file tv8532.c.

#define R07_TABLE_LEN   0x07

Definition at line 60 of file tv8532.c.

#define R08_RAM_WRITE_ACTION   0x08

Definition at line 61 of file tv8532.c.

#define R0C_AD_WIDTHL   0x0c

Definition at line 62 of file tv8532.c.

#define R0D_AD_WIDTHH   0x0d

Definition at line 63 of file tv8532.c.

#define R0E_AD_HEIGHTL   0x0e

Definition at line 64 of file tv8532.c.

#define R0F_AD_HEIGHTH   0x0f

Definition at line 65 of file tv8532.c.

#define R10_AD_COL_BEGINL   0x10

Definition at line 66 of file tv8532.c.

#define R11_AD_COL_BEGINH   0x11

Definition at line 67 of file tv8532.c.

#define R14_AD_ROW_BEGINL   0x14

Definition at line 69 of file tv8532.c.

#define R15_AD_ROWBEGINH   0x15

Definition at line 70 of file tv8532.c.

#define R1C_AD_EXPOSE_TIMEL   0x1c

Definition at line 71 of file tv8532.c.

#define R20_GAIN_G1L   0x20

Definition at line 72 of file tv8532.c.

#define R21_GAIN_G1H   0x21

Definition at line 73 of file tv8532.c.

#define R22_GAIN_RL   0x22

Definition at line 74 of file tv8532.c.

#define R23_GAIN_RH   0x23

Definition at line 75 of file tv8532.c.

#define R24_GAIN_BL   0x24

Definition at line 76 of file tv8532.c.

#define R25_GAIN_BH   0x25

Definition at line 77 of file tv8532.c.

#define R26_GAIN_G2L   0x26

Definition at line 78 of file tv8532.c.

#define R27_GAIN_G2H   0x27

Definition at line 79 of file tv8532.c.

#define R28_QUANT   0x28

Definition at line 80 of file tv8532.c.

#define R29_LINE   0x29

Definition at line 81 of file tv8532.c.

#define R2A_HIGH_BUDGET   0x2a

Definition at line 88 of file tv8532.c.

#define R2B_LOW_BUDGET   0x2b

Definition at line 89 of file tv8532.c.

#define R2C_POLARITY   0x2c

Definition at line 82 of file tv8532.c.

#define R2D_POINT   0x2d

Definition at line 83 of file tv8532.c.

#define R2E_POINTH   0x2e

Definition at line 84 of file tv8532.c.

#define R2F_POINTB   0x2f

Definition at line 85 of file tv8532.c.

#define R30_POINTBH   0x30

Definition at line 86 of file tv8532.c.

#define R31_UPD   0x31

Definition at line 87 of file tv8532.c.

#define R34_VID   0x34

Definition at line 90 of file tv8532.c.

#define R35_VIDH   0x35

Definition at line 91 of file tv8532.c.

#define R36_PID   0x36

Definition at line 92 of file tv8532.c.

#define R37_PIDH   0x37

Definition at line 93 of file tv8532.c.

#define R39_Test1   0x39 /* GPIO */

Definition at line 94 of file tv8532.c.

#define R3B_Test3   0x3b /* GPIO */

Definition at line 95 of file tv8532.c.

#define R83_AD_IDH   0x83

Definition at line 96 of file tv8532.c.

#define R91_AD_SLOPEREG   0x91

Definition at line 97 of file tv8532.c.

#define R94_AD_BITCONTROL   0x94

Definition at line 98 of file tv8532.c.

Function Documentation

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