#include <linux/workqueue.h>
#include <linux/slab.h>
#include "gspca.h"
Go to the source code of this file.
#define FRAME_HEADER_LEN 0x50 |
#define MODULE_NAME "sq905c" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SQ905C_CAPTURE_HI 0x2840 /* Starts capture at 320x240 */ |
#define SQ905C_CAPTURE_INDEX 0x110f |
#define SQ905C_CAPTURE_LOW 0xa040 /* Starts capture at 160x120 */ |
#define SQ905C_CAPTURE_MED 0x1440 /* Starts capture at 320x240 */ |
#define SQ905C_CLEAR 0xa0 /* clear everything */ |
#define SQ905C_CMD_TIMEOUT 500 |
#define SQ905C_DATA_TIMEOUT 1000 |
#define SQ905C_GET_ID 0x14f4 /* Read version number */ |
#define SQ905C_MAX_TRANSFER 0x8000 |
MODULE_DESCRIPTION |
( |
"GSPCA/SQ905C USB Camera Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
device_table |
|
|
) |
| |
module_usb_driver |
( |
sd_driver |
| ) |
|