Go to the source code of this file.
#define BLIMIT |
( |
|
bright | ) |
(u8)((bright > 0x1f) ? 0x1f : ((bright < 4) ? 3 : bright)) |
#define ET_COMP 0x12 /* Compression register */ |
#define ET_COMP_VAL0 0x02 |
#define ET_COMP_VAL1 0x03 |
#define ET_CTRL 0x02 /* enable i2c OutClck Powerdown mode */ |
#define ET_GPIO_DIR_CTRL 0x04 /* Control IO bit[0..5] (0 in 1 out) */ |
#define ET_GPIO_IN 0x06 /* Read Only IO data */ |
#define ET_GPIO_OUT 0x05 /* Only IO data */ |
#define ET_HEIGTH_LOW 0x6c |
#define ET_I2C_COUNT 0x8a |
#define ET_I2C_DATA0 0x80 |
#define ET_I2C_DATA1 0x81 |
#define ET_I2C_DATA2 0x82 |
#define ET_I2C_DATA3 0x83 |
#define ET_I2C_DATA4 0x84 |
#define ET_I2C_DATA5 0x85 |
#define ET_I2C_DATA6 0x86 |
#define ET_I2C_DATA7 0x87 |
#define ET_I2C_PREFETCH 0x8b |
#define ET_LUMA_CENTER 0x39 |
#define ET_REG6e 0x6e /* OBW */ |
#define ET_REG6f 0x6f /* OBW */ |
#define ET_REG70 0x70 /* OBW_AWB */ |
#define ET_REG71 0x71 /* OBW_AWB */ |
#define ET_REG72 0x72 /* OBW_AWB */ |
#define ET_REG73 0x73 /* Clkdelay ns */ |
#define ET_REG74 0x74 /* test pattern */ |
#define ET_REG75 0x75 /* test pattern */ |
#define ET_RESET_ALL 0x03 |
#define ET_W_H_HEIGTH 0x6d |
#define ET_WIDTH_LOW 0x6b |
#define ETOMS_ALT_SIZE_1000 12 |
#define LIMIT |
( |
|
color | ) |
(u8)((color > 0xff) ? 0xff : ((color < 0) ? 0 : color)) |
#define MODULE_NAME "etoms" |
#define PAS106_REG0e 0x0e /* global gain [4..0](default 0x0e) */ |
#define PAS106_REG13 0x13 /* end i2c write */ |
#define PAS106_REG2 0x02 /* pxlClk = systemClk/(reg2) */ |
#define PAS106_REG3 0x03 /* line/frame H [11..4] */ |
#define PAS106_REG4 0x04 /* line/frame L [3..0] */ |
#define PAS106_REG5 0x05 /* exposure time line offset(default 5) */ |
#define PAS106_REG6 0x06 /* exposure time pixel offset(default 6) */ |
#define PAS106_REG7 0x07 /* signbit Dac (default 0) */ |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SENSOR_TAS5130CXX 1 |
MODULE_DESCRIPTION |
( |
"Etoms USB Camera Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
device_table |
|
|
) |
| |
module_usb_driver |
( |
sd_driver |
| ) |
|