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

Go to the source code of this file.

Macros

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

Functions

 module_param (i2c_scan, int, 0444)
 
 MODULE_PARM_DESC (i2c_scan,"scan i2c bus at insmod time")
 
 module_param (i2c_debug, int, 0644)
 
 MODULE_PARM_DESC (i2c_debug,"enable debug messages [i2c]")
 
void em28xx_do_i2c_scan (struct em28xx *dev)
 
int em28xx_i2c_register (struct em28xx *dev)
 
int em28xx_i2c_unregister (struct em28xx *dev)
 

Macro Definition Documentation

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

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

Function Documentation

void em28xx_do_i2c_scan ( struct em28xx dev)

Definition at line 498 of file em28xx-i2c.c.

int em28xx_i2c_register ( struct em28xx dev)

Definition at line 524 of file em28xx-i2c.c.

int em28xx_i2c_unregister ( struct em28xx dev)

Definition at line 564 of file em28xx-i2c.c.

module_param ( i2c_scan  ,
int  ,
0444   
)
module_param ( i2c_debug  ,
int  ,
0644   
)
MODULE_PARM_DESC ( i2c_scan  ,
"scan i2c bus at insmod time  
)
MODULE_PARM_DESC ( i2c_debug  ,
"enable debug messages "  [i2c] 
)