Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
gspca.c File Reference
#include <linux/init.h>
#include <linux/fs.h>
#include <linux/vmalloc.h>
#include <linux/sched.h>
#include <linux/slab.h>
#include <linux/mm.h>
#include <linux/string.h>
#include <linux/pagemap.h>
#include <linux/io.h>
#include <asm/page.h>
#include <linux/uaccess.h>
#include <linux/ktime.h>
#include <media/v4l2-ioctl.h>
#include <media/v4l2-ctrls.h>
#include <media/v4l2-fh.h>
#include <media/v4l2-event.h>
#include "gspca.h"

Go to the source code of this file.

Data Structures

struct  ep_tb_s
 

Macros

#define pr_fmt(fmt)   KBUILD_MODNAME ": " fmt
 
#define GSPCA_VERSION   "2.14.0"
 
#define DEF_NURBS   3 /* default number of URBs */
 
#define PDEBUG_MODE(txt, pixfmt, w, h)
 
#define GSPCA_MEMORY_NO   0 /* V4L2_MEMORY_xxx starts from 1 */
 
#define GSPCA_MEMORY_READ   7
 
#define BUF_ALL_FLAGS   (V4L2_BUF_FLAG_QUEUED | V4L2_BUF_FLAG_DONE)
 
#define MAX_ALT   16
 

Functions

 MODULE_AUTHOR ("Jean-François Moine <http://moinejf.free.fr>")
 
 MODULE_DESCRIPTION ("GSPCA USB Camera Driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_VERSION (GSPCA_VERSION)
 
void gspca_frame_add (struct gspca_dev *gspca_dev, enum gspca_packet_type packet_type, const u8 *data, int len)
 
 EXPORT_SYMBOL (gspca_frame_add)
 
int gspca_dev_probe2 (struct usb_interface *intf, const struct usb_device_id *id, const struct sd_desc *sd_desc, int dev_size, struct module *module)
 
 EXPORT_SYMBOL (gspca_dev_probe2)
 
int gspca_dev_probe (struct usb_interface *intf, const struct usb_device_id *id, const struct sd_desc *sd_desc, int dev_size, struct module *module)
 
 EXPORT_SYMBOL (gspca_dev_probe)
 
void gspca_disconnect (struct usb_interface *intf)
 
 EXPORT_SYMBOL (gspca_disconnect)
 
 module_init (gspca_init)
 
 module_exit (gspca_exit)
 

Macro Definition Documentation

#define BUF_ALL_FLAGS   (V4L2_BUF_FLAG_QUEUED | V4L2_BUF_FLAG_DONE)

Definition at line 92 of file gspca.c.

#define DEF_NURBS   3 /* default number of URBs */

Definition at line 53 of file gspca.c.

#define GSPCA_MEMORY_NO   0 /* V4L2_MEMORY_xxx starts from 1 */

Definition at line 89 of file gspca.c.

#define GSPCA_MEMORY_READ   7

Definition at line 90 of file gspca.c.

#define GSPCA_VERSION   "2.14.0"

Definition at line 26 of file gspca.c.

#define MAX_ALT   16

Definition at line 669 of file gspca.c.

#define PDEBUG_MODE (   txt,
  pixfmt,
  w,
  h 
)

Definition at line 85 of file gspca.c.

#define pr_fmt (   fmt)    KBUILD_MODNAME ": " fmt

Definition at line 24 of file gspca.c.

Function Documentation

EXPORT_SYMBOL ( gspca_frame_add  )
EXPORT_SYMBOL ( gspca_dev_probe2  )
EXPORT_SYMBOL ( gspca_dev_probe  )
EXPORT_SYMBOL ( gspca_disconnect  )
int gspca_dev_probe ( struct usb_interface intf,
const struct usb_device_id id,
const struct sd_desc sd_desc,
int  dev_size,
struct module module 
)

Definition at line 2319 of file gspca.c.

int gspca_dev_probe2 ( struct usb_interface intf,
const struct usb_device_id id,
const struct sd_desc sd_desc,
int  dev_size,
struct module module 
)

Definition at line 2183 of file gspca.c.

void gspca_disconnect ( struct usb_interface intf)

Definition at line 2349 of file gspca.c.

void gspca_frame_add ( struct gspca_dev gspca_dev,
enum gspca_packet_type  packet_type,
const u8 data,
int  len 
)

Definition at line 421 of file gspca.c.

MODULE_AUTHOR ( "Jean-François Moine <http://moinejf.free.fr>"  )
MODULE_DESCRIPTION ( "GSPCA USB Camera Driver"  )
module_exit ( gspca_exit  )
module_init ( gspca_init  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( GSPCA_VERSION  )