#include <linux/workqueue.h>
#include <linux/slab.h>
#include "gspca.h"
Go to the source code of this file.
#define FRAME_HEADER_LEN 64 |
#define MODULE_NAME "sq905" |
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ": " fmt |
#define SQ905_BULK_READ 0x03 /* precedes any bulk read */ |
#define SQ905_CAPTURE_HIGH 0x62 /* Starts capture at 640x480 (some cams only) */ |
#define SQ905_CAPTURE_LOW 0x60 /* Starts capture at 160x120 */ |
#define SQ905_CAPTURE_MED 0x61 /* Starts capture at 320x240 */ |
#define SQ905_CLEAR 0xa0 /* clear everything */ |
#define SQ905_CMD_TIMEOUT 500 |
#define SQ905_COMMAND 0x06 /* precedes the command codes below */ |
#define SQ905_CONFIG 0x20 /* gets photo alloc. table, not used here */ |
#define SQ905_DATA 0x30 /* accesses photo data, not used here */ |
#define SQ905_DATA_TIMEOUT 1000 |
#define SQ905_HIRES_MASK 0x00000300 |
#define SQ905_ID 0xf0 /* asks for model string */ |
#define SQ905_MAX_TRANSFER 0x8000 |
#define SQ905_ORIENTATION_MASK 0x00000100 |
#define SQ905_PING 0x07 /* when reading an "idling" command */ |
#define SQ905_READ_DONE 0xc0 /* ack bulk read completed */ |
MODULE_AUTHOR |
( |
"Adam Baker <[email protected]> |
, |
|
|
""Theodore Kilgore< kilgota @auburn.edu >" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"GSPCA/SQ905 USB Camera Driver" |
| ) |
|
MODULE_DEVICE_TABLE |
( |
usb |
, |
|
|
device_table |
|
|
) |
| |
module_usb_driver |
( |
sd_driver |
| ) |
|