Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
au0828-core.c File Reference
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/videodev2.h>
#include <media/v4l2-common.h>
#include <linux/mutex.h>
#include "au0828.h"

Go to the source code of this file.


#define _AU0828_BULKPIPE   0x03
#define _BULKPIPESIZE   0xffff
#define CMD_REQUEST_IN   0x00
#define CMD_REQUEST_OUT   0x01


 module_param_named (debug, au0828_debug, int, 0644)
 MODULE_PARM_DESC (debug,"enable debug messages")
 module_param (disable_usb_speed_check, int, 0444)
 MODULE_PARM_DESC (disable_usb_speed_check,"override min bandwidth requirement of 480M bps")
u32 au0828_readreg (struct au0828_dev *dev, u16 reg)
u32 au0828_writereg (struct au0828_dev *dev, u16 reg, u32 val)
 module_init (au0828_init)
 module_exit (au0828_exit)
 MODULE_DESCRIPTION ("Driver for Auvitek AU0828 based products")
 MODULE_AUTHOR ("Steven Toth <[email protected]>")


int au0828_debug

Macro Definition Documentation

#define _AU0828_BULKPIPE   0x03

Definition at line 45 of file au0828-core.c.

#define _BULKPIPESIZE   0xffff

Definition at line 46 of file au0828-core.c.

#define CMD_REQUEST_IN   0x00

Definition at line 54 of file au0828-core.c.

#define CMD_REQUEST_OUT   0x01

Definition at line 55 of file au0828-core.c.

Function Documentation

u32 au0828_readreg ( struct au0828_dev dev,
u16  reg 

Definition at line 57 of file au0828-core.c.

u32 au0828_writereg ( struct au0828_dev dev,
u16  reg,
u32  val 

Definition at line 67 of file au0828-core.c.

MODULE_AUTHOR ( "Steven Toth <[email protected]>"  )
MODULE_DESCRIPTION ( "Driver for Auvitek AU0828 based products"  )
module_exit ( au0828_exit  )
module_init ( au0828_init  )
module_param ( disable_usb_speed_check  ,
int  ,
module_param_named ( debug  ,
au0828_debug  ,
int  ,
"enable debug messages"   
MODULE_PARM_DESC ( disable_usb_speed_check  ,
"override min bandwidth requirement of 480M bps"   
MODULE_VERSION ( "0.0.2"  )

Variable Documentation

int au0828_debug

Definition at line 36 of file au0828-core.c.