Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
tveeprom.c File Reference
#include <linux/module.h>
#include <linux/errno.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/types.h>
#include <linux/videodev2.h>
#include <linux/i2c.h>
#include <media/tuner.h>
#include <media/tveeprom.h>
#include <media/v4l2-common.h>
#include <media/v4l2-chip-ident.h>

Go to the source code of this file.

Data Structures

struct  HAUPPAUGE_TUNER_FMT
 
struct  HAUPPAUGE_TUNER
 
struct  HAUPPAUGE_AUDIOIC
 

Macros

#define STRM(array, i)   (i < sizeof(array) / sizeof(char *) ? array[i] : "unknown")
 
#define tveeprom_info(fmt, arg...)   v4l_printk(KERN_INFO, "tveeprom", c->adapter, c->addr, fmt , ## arg)
 
#define tveeprom_warn(fmt, arg...)   v4l_printk(KERN_WARNING, "tveeprom", c->adapter, c->addr, fmt , ## arg)
 
#define tveeprom_dbg(fmt, arg...)
 

Functions

 MODULE_DESCRIPTION ("i2c Hauppauge eeprom decoder driver")
 
 MODULE_AUTHOR ("John Klar")
 
 MODULE_LICENSE ("GPL")
 
 module_param (debug, int, 0644)
 
 MODULE_PARM_DESC (debug,"Debug level (0-1)")
 
void tveeprom_hauppauge_analog (struct i2c_client *c, struct tveeprom *tvee, unsigned char *eeprom_data)
 
 EXPORT_SYMBOL (tveeprom_hauppauge_analog)
 
int tveeprom_read (struct i2c_client *c, unsigned char *eedata, int len)
 
 EXPORT_SYMBOL (tveeprom_read)
 

Macro Definition Documentation

#define STRM (   array,
  i 
)    (i < sizeof(array) / sizeof(char *) ? array[i] : "unknown")

Definition at line 53 of file tveeprom.c.

#define tveeprom_dbg (   fmt,
  arg... 
)
Value:
do { \
if (debug) \
v4l_printk(KERN_DEBUG, "tveeprom", \
c->adapter, c->addr, fmt , ## arg); \
} while (0)

Definition at line 60 of file tveeprom.c.

#define tveeprom_info (   fmt,
  arg... 
)    v4l_printk(KERN_INFO, "tveeprom", c->adapter, c->addr, fmt , ## arg)

Definition at line 56 of file tveeprom.c.

#define tveeprom_warn (   fmt,
  arg... 
)    v4l_printk(KERN_WARNING, "tveeprom", c->adapter, c->addr, fmt , ## arg)

Definition at line 58 of file tveeprom.c.

Function Documentation

EXPORT_SYMBOL ( tveeprom_hauppauge_analog  )
EXPORT_SYMBOL ( tveeprom_read  )
MODULE_AUTHOR ( "John Klar"  )
MODULE_DESCRIPTION ( "i2c Hauppauge eeprom decoder driver )
MODULE_LICENSE ( "GPL"  )
module_param ( debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( debug  ,
"Debug level (0-1)"   
)
void tveeprom_hauppauge_analog ( struct i2c_client c,
struct tveeprom tvee,
unsigned char eeprom_data 
)

Definition at line 427 of file tveeprom.c.

int tveeprom_read ( struct i2c_client c,
unsigned char eedata,
int  len 
)

Definition at line 756 of file tveeprom.c.