Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
em28xx-cards.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/usb.h>
#include <media/tuner.h>
#include <media/msp3400.h>
#include <media/saa7115.h>
#include <media/tvp5150.h>
#include <media/tvaudio.h>
#include <media/mt9v011.h>
#include <media/i2c-addr.h>
#include <media/tveeprom.h>
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>
#include "em28xx.h"

Go to the source code of this file.

Data Structures

struct  em28xx_hash_table
 

Macros

#define DRIVER_NAME   "em28xx"
 
#define hb_mult(wMaxPacketSize)   (1 + (((wMaxPacketSize) >> 11) & 0x03))
 

Functions

 module_param (tuner, int, 0444)
 
 MODULE_PARM_DESC (tuner,"tuner type")
 
 module_param (disable_ir, int, 0444)
 
 MODULE_PARM_DESC (disable_ir,"disable infrared remote support")
 
 module_param (disable_usb_speed_check, int, 0444)
 
 MODULE_PARM_DESC (disable_usb_speed_check,"override min bandwidth requirement of 480M bps")
 
 module_param_array (card, int, NULL, 0444)
 
 MODULE_PARM_DESC (card,"card type")
 
 MODULE_DEVICE_TABLE (usb, em28xx_id_table)
 
int em28xx_tuner_callback (void *ptr, int component, int command, int arg)
 
 EXPORT_SYMBOL_GPL (em28xx_tuner_callback)
 
void em28xx_release_resources (struct em28xx *dev)
 
 module_usb_driver (em28xx_usb_driver)
 

Variables

struct em28xx_board em28xx_boards []
 
const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards)
 
struct usb_device_id em28xx_id_table []
 

Macro Definition Documentation

#define DRIVER_NAME   "em28xx"

Definition at line 44 of file em28xx-cards.c.

#define hb_mult (   wMaxPacketSize)    (1 + (((wMaxPacketSize) >> 11) & 0x03))

Definition at line 3124 of file em28xx-cards.c.

Function Documentation

void em28xx_release_resources ( struct em28xx dev)

Definition at line 2920 of file em28xx-cards.c.

int em28xx_tuner_callback ( void ptr,
int  component,
int  command,
int  arg 
)

Definition at line 2187 of file em28xx-cards.c.

EXPORT_SYMBOL_GPL ( em28xx_tuner_callback  )
MODULE_DEVICE_TABLE ( usb  ,
em28xx_id_table   
)
module_param ( tuner  ,
int  ,
0444   
)
module_param ( disable_ir  ,
int  ,
0444   
)
module_param ( disable_usb_speed_check  ,
int  ,
0444   
)
module_param_array ( card  ,
int  ,
NULL  ,
0444   
)
MODULE_PARM_DESC ( tuner  ,
"tuner type  
)
MODULE_PARM_DESC ( disable_ir  ,
"disable infrared remote support  
)
MODULE_PARM_DESC ( disable_usb_speed_check  ,
"override min bandwidth requirement of 480M bps"   
)
MODULE_PARM_DESC ( card  ,
"card type  
)
module_usb_driver ( em28xx_usb_driver  )

Variable Documentation

const unsigned int em28xx_bcount = ARRAY_SIZE(em28xx_boards)

Definition at line 1983 of file em28xx-cards.c.

struct em28xx_board em28xx_boards[]

Definition at line 399 of file em28xx-cards.c.

struct usb_device_id em28xx_id_table[]

Definition at line 1986 of file em28xx-cards.c.