Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
tm6000-i2c.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/usb.h>
#include <linux/i2c.h>
#include "tm6000.h"
#include "tm6000-regs.h"
#include <media/v4l2-common.h>
#include <media/tuner.h>
#include "tuner-xc2028.h"

Go to the source code of this file.

Macros

#define i2c_dprintk(lvl, fmt, args...)
 

Functions

 module_param (i2c_debug, int, 0644)
 
 MODULE_PARM_DESC (i2c_debug,"enable debug messages [i2c]")
 
int tm6000_i2c_register (struct tm6000_core *dev)
 
int tm6000_i2c_unregister (struct tm6000_core *dev)
 

Macro Definition Documentation

#define i2c_dprintk (   lvl,
  fmt,
  args... 
)
Value:
if (i2c_debug >= lvl) do { \
printk(KERN_DEBUG "%s at %s: " fmt, \
dev->name, __func__, ##args); } while (0)

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

Function Documentation

module_param ( i2c_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( i2c_debug  ,
"enable debug messages "  [i2c] 
)
int tm6000_i2c_register ( struct tm6000_core dev)

Definition at line 305 of file tm6000-i2c.c.

int tm6000_i2c_unregister ( struct tm6000_core dev)

Definition at line 330 of file tm6000-i2c.c.