#include <linux/input.h>
#include "gspca.h"
#include "pac_common.h"
Go to the source code of this file.
| #define MODULE_NAME "pac207" |
| #define PAC207_AUTOGAIN_DEADZONE 30 |
| #define PAC207_BRIGHTNESS_DEFAULT 46 |
| #define PAC207_BRIGHTNESS_MAX 255 |
| #define PAC207_BRIGHTNESS_MIN 0 |
| #define PAC207_BRIGHTNESS_REG 0x08 |
| #define PAC207_CTRL_TIMEOUT 100 /* ms */ |
| #define PAC207_EXPOSURE_DEFAULT 5 /* power on default: 3 */ |
| #define PAC207_EXPOSURE_MAX 90 /* 1 sec expo time / 1 fps */ |
| #define PAC207_EXPOSURE_MIN 3 |
| #define PAC207_EXPOSURE_REG 0x02 |
| #define PAC207_GAIN_DEFAULT 7 /* power on default: 9 */ |
| #define PAC207_GAIN_MAX 31 |
| #define PAC207_GAIN_MIN 0 |
| #define PAC207_GAIN_REG 0x0e |
| #define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
| MODULE_DESCRIPTION |
( |
"Pixart PAC207" |
| ) |
|
| MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
device_table |
|
|
) |
| |
| module_usb_driver |
( |
sd_driver |
| ) |
|