Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
jeilinj.c File Reference
#include <linux/slab.h>
#include "gspca.h"
#include "jpeg.h"

Go to the source code of this file.

Data Structures

struct  sd
 
struct  jlj_command
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define MODULE_NAME   "jeilinj"
 
#define JEILINJ_CMD_TIMEOUT   500
 
#define JEILINJ_CMD_DELAY   160
 
#define JEILINJ_DATA_TIMEOUT   1000
 
#define JEILINJ_MAX_TRANSFER   0x200
 
#define FRAME_HEADER_LEN   0x10
 
#define FRAME_START   0xFFFFFFFF
 
#define CAMQUALITY_MIN   0 /* highest cam quality */
 
#define CAMQUALITY_MAX   97 /* lowest cam quality */
 
#define QUALITY_MIN   35
 
#define QUALITY_MAX   85
 
#define QUALITY_DEF   85
 
#define SPORTSCAM_DV15_CMD_SIZE   9
 

Enumerations

enum  { SAKAR_57379, SPORTSCAM_DV15 }
 

Functions

 MODULE_AUTHOR ("Theodore Kilgore <[email protected]>")
 
 MODULE_DESCRIPTION ("GSPCA/JEILINJ USB Camera Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_DEVICE_TABLE (usb, device_table)
 
 module_usb_driver (sd_driver)
 

Macro Definition Documentation

#define CAMQUALITY_MAX   97 /* lowest cam quality */

Definition at line 55 of file jeilinj.c.

#define CAMQUALITY_MIN   0 /* highest cam quality */

Definition at line 54 of file jeilinj.c.

#define FRAME_HEADER_LEN   0x10

Definition at line 46 of file jeilinj.c.

#define FRAME_START   0xFFFFFFFF

Definition at line 47 of file jeilinj.c.

#define JEILINJ_CMD_DELAY   160

Definition at line 41 of file jeilinj.c.

#define JEILINJ_CMD_TIMEOUT   500

Definition at line 40 of file jeilinj.c.

#define JEILINJ_DATA_TIMEOUT   1000

Definition at line 42 of file jeilinj.c.

#define JEILINJ_MAX_TRANSFER   0x200

Definition at line 45 of file jeilinj.c.

#define MODULE_NAME   "jeilinj"

Definition at line 29 of file jeilinj.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 27 of file jeilinj.c.

#define QUALITY_DEF   85

Definition at line 69 of file jeilinj.c.

#define QUALITY_MAX   85

Definition at line 68 of file jeilinj.c.

#define QUALITY_MIN   35

Definition at line 67 of file jeilinj.c.

#define SPORTSCAM_DV15_CMD_SIZE   9

Enumeration Type Documentation

anonymous enum
Enumerator:
SAKAR_57379 
SPORTSCAM_DV15 

Definition at line 49 of file jeilinj.c.

Function Documentation

MODULE_AUTHOR ( "Theodore Kilgore <[email protected]>"  )
MODULE_DESCRIPTION ( "GSPCA/JEILINJ USB Camera Driver"  )
MODULE_DEVICE_TABLE ( usb  ,
device_table   
)
MODULE_LICENSE ( "GPL"  )
module_usb_driver ( sd_driver  )