Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gl860.h File Reference
#include "gspca.h"

Go to the source code of this file.

Data Structures

struct  sd_gl860
 
struct  sd
 
struct  validx
 
struct  idxdata
 

Macros

#define MODULE_NAME   "gspca_gl860"
 
#define DRIVER_VERSION   "0.9d10"
 
#define ctrl_in   gl860_RTx
 
#define ctrl_out   gl860_RTx
 
#define ID_MI1320   1
 
#define ID_OV2640   2
 
#define ID_OV9655   4
 
#define ID_MI2020   8
 
#define _MI1320_   (((struct sd *) gspca_dev)->sensor == ID_MI1320)
 
#define _MI2020_   (((struct sd *) gspca_dev)->sensor == ID_MI2020)
 
#define _OV2640_   (((struct sd *) gspca_dev)->sensor == ID_OV2640)
 
#define _OV9655_   (((struct sd *) gspca_dev)->sensor == ID_OV9655)
 
#define IMAGE_640   0
 
#define IMAGE_800   1
 
#define IMAGE_1280   2
 
#define IMAGE_1600   3
 

Functions

int fetch_validx (struct gspca_dev *gspca_dev, struct validx *tbl, int len)
 
int keep_on_fetching_validx (struct gspca_dev *gspca_dev, struct validx *tbl, int len, int n)
 
void fetch_idxdata (struct gspca_dev *gspca_dev, struct idxdata *tbl, int len)
 
int gl860_RTx (struct gspca_dev *gspca_dev, unsigned char pref, u32 req, u16 val, u16 index, s32 len, void *pdata)
 
void mi1320_init_settings (struct gspca_dev *)
 
void ov2640_init_settings (struct gspca_dev *)
 
void ov9655_init_settings (struct gspca_dev *)
 
void mi2020_init_settings (struct gspca_dev *)
 

Macro Definition Documentation

#define _MI1320_   (((struct sd *) gspca_dev)->sensor == ID_MI1320)

Definition at line 35 of file gl860.h.

#define _MI2020_   (((struct sd *) gspca_dev)->sensor == ID_MI2020)

Definition at line 36 of file gl860.h.

#define _OV2640_   (((struct sd *) gspca_dev)->sensor == ID_OV2640)

Definition at line 37 of file gl860.h.

#define _OV9655_   (((struct sd *) gspca_dev)->sensor == ID_OV9655)

Definition at line 38 of file gl860.h.

#define ctrl_in   gl860_RTx

Definition at line 27 of file gl860.h.

#define ctrl_out   gl860_RTx

Definition at line 28 of file gl860.h.

#define DRIVER_VERSION   "0.9d10"

Definition at line 25 of file gl860.h.

#define ID_MI1320   1

Definition at line 30 of file gl860.h.

#define ID_MI2020   8

Definition at line 33 of file gl860.h.

#define ID_OV2640   2

Definition at line 31 of file gl860.h.

#define ID_OV9655   4

Definition at line 32 of file gl860.h.

#define IMAGE_1280   2

Definition at line 42 of file gl860.h.

#define IMAGE_1600   3

Definition at line 43 of file gl860.h.

#define IMAGE_640   0

Definition at line 40 of file gl860.h.

#define IMAGE_800   1

Definition at line 41 of file gl860.h.

#define MODULE_NAME   "gspca_gl860"

Definition at line 24 of file gl860.h.

Function Documentation

void fetch_idxdata ( struct gspca_dev gspca_dev,
struct idxdata tbl,
int  len 
)

Definition at line 607 of file gl860.c.

int fetch_validx ( struct gspca_dev gspca_dev,
struct validx tbl,
int  len 
)

Definition at line 576 of file gl860.c.

int gl860_RTx ( struct gspca_dev gspca_dev,
unsigned char  pref,
u32  req,
u16  val,
u16  index,
s32  len,
void pdata 
)

Definition at line 534 of file gl860.c.

int keep_on_fetching_validx ( struct gspca_dev gspca_dev,
struct validx tbl,
int  len,
int  n 
)

Definition at line 592 of file gl860.c.

void mi1320_init_settings ( struct gspca_dev )

Definition at line 185 of file gl860-mi1320.c.

void mi2020_init_settings ( struct gspca_dev )

Definition at line 291 of file gl860-mi2020.c.

void ov2640_init_settings ( struct gspca_dev )

Definition at line 183 of file gl860-ov2640.c.

void ov9655_init_settings ( struct gspca_dev )

Definition at line 153 of file gl860-ov9655.c.