Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions | Variables
stk-webcam.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/usb.h>
#include <linux/mm.h>
#include <linux/vmalloc.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <media/v4l2-ioctl.h>
#include "stk-webcam.h"

Go to the source code of this file.

Data Structures

struct  stk_size
 

Functions

 module_param (hflip, bool, 0444)
 
 MODULE_PARM_DESC (hflip,"Horizontal image flip (mirror). Defaults to 0")
 
 module_param (vflip, bool, 0444)
 
 MODULE_PARM_DESC (vflip,"Vertical image flip. Defaults to 0")
 
 module_param (debug, int, 0444)
 
 MODULE_PARM_DESC (debug,"Debug v4l ioctls. Defaults to 0")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jaime Velasco Juan <[email protected]> and Nicolas VIVIEN")
 
 MODULE_DESCRIPTION ("Syntek DC1125 webcam driver")
 
 MODULE_DEVICE_TABLE (usb, stkwebcam_table)
 
int stk_camera_write_reg (struct stk_camera *dev, u16 index, u8 value)
 
int stk_camera_read_reg (struct stk_camera *dev, u16 index, int *value)
 
 module_usb_driver (stk_camera_driver)
 

Variables

int first_init = 1
 

Function Documentation

MODULE_AUTHOR ( "Jaime Velasco Juan <[email protected]> and Nicolas VIVIEN"  )
MODULE_DESCRIPTION ( "Syntek DC1125 webcam driver )
MODULE_DEVICE_TABLE ( usb  ,
stkwebcam_table   
)
MODULE_LICENSE ( "GPL"  )
module_param ( hflip  ,
bool  ,
0444   
)
module_param ( vflip  ,
bool  ,
0444   
)
module_param ( debug  ,
int  ,
0444   
)
MODULE_PARM_DESC ( hflip  ,
"Horizontal image flip (mirror). Defaults to 0"   
)
MODULE_PARM_DESC ( vflip  ,
"Vertical image flip. Defaults to 0"   
)
MODULE_PARM_DESC ( debug  ,
"Debug v4l ioctls. Defaults to 0"   
)
module_usb_driver ( stk_camera_driver  )
int stk_camera_read_reg ( struct stk_camera dev,
u16  index,
int value 
)

Definition at line 91 of file stk-webcam.c.

int stk_camera_write_reg ( struct stk_camera dev,
u16  index,
u8  value 
)

Definition at line 72 of file stk-webcam.c.

Variable Documentation

int first_init = 1

Definition at line 59 of file stk-webcam.c.