Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tm6000-cards.c File Reference
#include <linux/init.h>
#include <linux/module.h>
#include <linux/pci.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/usb.h>
#include <linux/slab.h>
#include <media/v4l2-common.h>
#include <media/tuner.h>
#include <media/tvaudio.h>
#include <media/i2c-addr.h>
#include <media/rc-map.h>
#include "tm6000.h"
#include "tm6000-regs.h"
#include "tuner-xc2028.h"
#include "xc5000.h"

Go to the source code of this file.

Data Structures

struct  tm6000_board
 

Macros

#define TM6000_BOARD_UNKNOWN   0
 
#define TM5600_BOARD_GENERIC   1
 
#define TM6000_BOARD_GENERIC   2
 
#define TM6010_BOARD_GENERIC   3
 
#define TM5600_BOARD_10MOONS_UT821   4
 
#define TM5600_BOARD_10MOONS_UT330   5
 
#define TM6000_BOARD_ADSTECH_DUAL_TV   6
 
#define TM6000_BOARD_FREECOM_AND_SIMILAR   7
 
#define TM6000_BOARD_ADSTECH_MINI_DUAL_TV   8
 
#define TM6010_BOARD_HAUPPAUGE_900H   9
 
#define TM6010_BOARD_BEHOLD_WANDER   10
 
#define TM6010_BOARD_BEHOLD_VOYAGER   11
 
#define TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE   12
 
#define TM6010_BOARD_TWINHAN_TU501   13
 
#define TM6010_BOARD_BEHOLD_WANDER_LITE   14
 
#define TM6010_BOARD_BEHOLD_VOYAGER_LITE   15
 
#define TM5600_BOARD_TERRATEC_GRABSTER   16
 
#define is_generic(model)
 
#define TM6000_MAXBOARDS   16
 
#define request_modules(dev)
 
#define flush_request_modules(dev)
 
#define hb_mult(wMaxPacketSize)   (1 + (((wMaxPacketSize) >> 11) & 0x03))
 

Functions

 module_param_array (card, int, NULL, 0444)
 
 MODULE_DEVICE_TABLE (usb, tm6000_id_table)
 
void tm6000_flash_led (struct tm6000_core *dev, u8 state)
 
int tm6000_xc5000_callback (void *ptr, int component, int command, int arg)
 
 EXPORT_SYMBOL_GPL (tm6000_xc5000_callback)
 
int tm6000_tuner_callback (void *ptr, int component, int command, int arg)
 
 EXPORT_SYMBOL_GPL (tm6000_tuner_callback)
 
int tm6000_cards_setup (struct tm6000_core *dev)
 
 module_usb_driver (tm6000_usb_driver)
 
 MODULE_DESCRIPTION ("Trident TVMaster TM5600/TM6000/TM6010 USB2 adapter")
 
 MODULE_AUTHOR ("Mauro Carvalho Chehab")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define flush_request_modules (   dev)

Definition at line 1081 of file tm6000-cards.c.

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

Definition at line 1157 of file tm6000-cards.c.

#define is_generic (   model)
Value:

Definition at line 56 of file tm6000-cards.c.

#define request_modules (   dev)

Definition at line 1080 of file tm6000-cards.c.

#define TM5600_BOARD_10MOONS_UT330   5

Definition at line 43 of file tm6000-cards.c.

#define TM5600_BOARD_10MOONS_UT821   4

Definition at line 42 of file tm6000-cards.c.

#define TM5600_BOARD_GENERIC   1

Definition at line 39 of file tm6000-cards.c.

#define TM5600_BOARD_TERRATEC_GRABSTER   16

Definition at line 54 of file tm6000-cards.c.

#define TM6000_BOARD_ADSTECH_DUAL_TV   6

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

#define TM6000_BOARD_ADSTECH_MINI_DUAL_TV   8

Definition at line 46 of file tm6000-cards.c.

#define TM6000_BOARD_FREECOM_AND_SIMILAR   7

Definition at line 45 of file tm6000-cards.c.

#define TM6000_BOARD_GENERIC   2

Definition at line 40 of file tm6000-cards.c.

#define TM6000_BOARD_UNKNOWN   0

Definition at line 38 of file tm6000-cards.c.

#define TM6000_MAXBOARDS   16

Definition at line 61 of file tm6000-cards.c.

#define TM6010_BOARD_BEHOLD_VOYAGER   11

Definition at line 49 of file tm6000-cards.c.

#define TM6010_BOARD_BEHOLD_VOYAGER_LITE   15

Definition at line 53 of file tm6000-cards.c.

#define TM6010_BOARD_BEHOLD_WANDER   10

Definition at line 48 of file tm6000-cards.c.

#define TM6010_BOARD_BEHOLD_WANDER_LITE   14

Definition at line 52 of file tm6000-cards.c.

#define TM6010_BOARD_GENERIC   3

Definition at line 41 of file tm6000-cards.c.

#define TM6010_BOARD_HAUPPAUGE_900H   9

Definition at line 47 of file tm6000-cards.c.

#define TM6010_BOARD_TERRATEC_CINERGY_HYBRID_XE   12

Definition at line 50 of file tm6000-cards.c.

#define TM6010_BOARD_TWINHAN_TU501   13

Definition at line 51 of file tm6000-cards.c.

Function Documentation

EXPORT_SYMBOL_GPL ( tm6000_xc5000_callback  )
EXPORT_SYMBOL_GPL ( tm6000_tuner_callback  )
MODULE_AUTHOR ( "Mauro Carvalho Chehab"  )
MODULE_DESCRIPTION ( "Trident TVMaster TM5600/TM6000/TM6010 USB2 adapter )
MODULE_DEVICE_TABLE ( usb  ,
tm6000_id_table   
)
MODULE_LICENSE ( "GPL"  )
module_param_array ( card  ,
int  ,
NULL  ,
0444   
)
module_usb_driver ( tm6000_usb_driver  )
int tm6000_cards_setup ( struct tm6000_core dev)

Definition at line 800 of file tm6000-cards.c.

void tm6000_flash_led ( struct tm6000_core dev,
u8  state 
)

Definition at line 646 of file tm6000-cards.c.

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

Definition at line 717 of file tm6000-cards.c.

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

Definition at line 691 of file tm6000-cards.c.