Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
i2c-ibm_iic.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/ioport.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <asm/irq.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/of_platform.h>
#include <linux/of_i2c.h>
#include "i2c-ibm_iic.h"

Go to the source code of this file.

Data Structures

struct  i2c_timings
 

Macros

#define DRIVER_VERSION   "2.2"
 
#define DBG_LEVEL   0
 
#define DBG(f, x...)   ((void)0)
 
#define DBG2(f, x...)   ((void)0)
 
#define DUMP_REGS(h, dev)   ((void)0)
 

Functions

 MODULE_DESCRIPTION ("IBM IIC driver v"DRIVER_VERSION)
 
 MODULE_LICENSE ("GPL")
 
 module_param (iic_force_poll, bool, 0)
 
 MODULE_PARM_DESC (iic_force_poll,"Force polling mode")
 
 module_param (iic_force_fast, bool, 0)
 
 MODULE_PARM_DESC (iic_force_fast,"Force fast mode (400 kHz)")
 
 module_platform_driver (ibm_iic_driver)
 

Macro Definition Documentation

#define DBG (   f,
  x... 
)    ((void)0)

Definition at line 75 of file i2c-ibm_iic.c.

#define DBG2 (   f,
  x... 
)    ((void)0)

Definition at line 80 of file i2c-ibm_iic.c.

#define DBG_LEVEL   0

Definition at line 62 of file i2c-ibm_iic.c.

#define DRIVER_VERSION   "2.2"

Definition at line 49 of file i2c-ibm_iic.c.

#define DUMP_REGS (   h,
  dev 
)    ((void)0)

Definition at line 98 of file i2c-ibm_iic.c.

Function Documentation

MODULE_DESCRIPTION ( "IBM IIC driver v DRIVER_VERSION)
MODULE_LICENSE ( "GPL"  )
module_param ( iic_force_poll  ,
bool  ,
 
)
module_param ( iic_force_fast  ,
bool  ,
 
)
MODULE_PARM_DESC ( iic_force_poll  ,
"Force polling mode  
)
MODULE_PARM_DESC ( iic_force_fast  ,
"Force fast mode (400 kHz)"   
)
module_platform_driver ( ibm_iic_driver  )