Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
go7007-usb.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/wait.h>
#include <linux/list.h>
#include <linux/slab.h>
#include <linux/time.h>
#include <linux/mm.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include <asm/byteorder.h>
#include <media/tvaudio.h>
#include "go7007-priv.h"
#include "wis-i2c.h"

Go to the source code of this file.

Data Structures

struct  go7007_usb_board
 
struct  go7007_usb
 

Macros

#define HPI_STATUS_ADDR   0xFFF4
 
#define INT_PARAM_ADDR   0xFFF6
 
#define INT_INDEX_ADDR   0xFFF8
 
#define GO7007_USB_EZUSB   (1<<0)
 
#define GO7007_USB_EZUSB_I2C   (1<<1)
 

Functions

 module_param (assume_endura, int, 0644)
 
 MODULE_PARM_DESC (assume_endura,"when probing fails, ""hardware is a Pelco Endura")
 
 MODULE_FIRMWARE ("go7007tv.bin")
 
 MODULE_DEVICE_TABLE (usb, go7007_usb_id_table)
 
 module_usb_driver (go7007_usb_driver)
 
 MODULE_LICENSE ("GPL v2")
 

Macro Definition Documentation

#define GO7007_USB_EZUSB   (1<<0)

Definition at line 56 of file go7007-usb.c.

#define GO7007_USB_EZUSB_I2C   (1<<1)

Definition at line 57 of file go7007-usb.c.

#define HPI_STATUS_ADDR   0xFFF4

Definition at line 42 of file go7007-usb.c.

#define INT_INDEX_ADDR   0xFFF8

Definition at line 44 of file go7007-usb.c.

#define INT_PARAM_ADDR   0xFFF6

Definition at line 43 of file go7007-usb.c.

Function Documentation

MODULE_DEVICE_TABLE ( usb  ,
go7007_usb_id_table   
)
MODULE_FIRMWARE ( "go7007tv.bin"  )
MODULE_LICENSE ( "GPL v2 )
module_param ( assume_endura  ,
int  ,
0644   
)
MODULE_PARM_DESC ( assume_endura  ,
"when probing  fails,
""hardware is a Pelco Endura"   
)
module_usb_driver ( go7007_usb_driver  )