Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
cx88-i2c.c File Reference
#include <linux/module.h>
#include <linux/init.h>
#include <asm/io.h>
#include "cx88.h"
#include <media/v4l2-common.h>

Go to the source code of this file.

Macros

#define dprintk(level, fmt, arg...)
 

Functions

 module_param (i2c_debug, int, 0644)
 
 MODULE_PARM_DESC (i2c_debug,"enable debug messages [i2c]")
 
 module_param (i2c_scan, int, 0444)
 
 MODULE_PARM_DESC (i2c_scan,"scan i2c bus at insmod time")
 
 module_param (i2c_udelay, int, 0644)
 
 MODULE_PARM_DESC (i2c_udelay,"i2c delay at insmod time, in usecs ""(should be 5 or higher). Lower value means higher bus speed.")
 
int cx88_i2c_init (struct cx88_core *core, struct pci_dev *pci)
 

Macro Definition Documentation

#define dprintk (   level,
  fmt,
  arg... 
)
Value:
if (i2c_debug >= level) \
printk(KERN_DEBUG "%s: " fmt, core->name , ## arg)

Definition at line 51 of file cx88-i2c.c.

Function Documentation

int cx88_i2c_init ( struct cx88_core core,
struct pci_dev pci 
)

Definition at line 136 of file cx88-i2c.c.

module_param ( i2c_debug  ,
int  ,
0644   
)
module_param ( i2c_scan  ,
int  ,
0444   
)
module_param ( i2c_udelay  ,
int  ,
0644   
)
MODULE_PARM_DESC ( i2c_debug  ,
"enable debug messages "  [i2c] 
)
MODULE_PARM_DESC ( i2c_scan  ,
"scan i2c bus at insmod time  
)
MODULE_PARM_DESC ( i2c_udelay  ,
"i2c delay at insmod  time,
in usecs""(should be 5 or higher).Lower value means higher bus speed."   
)