Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
i2c-designware-pcidrv.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/i2c.h>
#include <linux/errno.h>
#include <linux/sched.h>
#include <linux/err.h>
#include <linux/interrupt.h>
#include <linux/io.h>
#include <linux/slab.h>
#include <linux/pci.h>
#include <linux/pm_runtime.h>
#include "i2c-designware-core.h"

Go to the source code of this file.

Data Structures

struct  dw_pci_controller
 

Macros

#define DRIVER_NAME   "i2c-designware-pci"
 
#define INTEL_MID_STD_CFG
 

Enumerations

enum  dw_pci_ctl_id_t {
  moorestown_0, moorestown_1, moorestown_2, medfield_0,
  medfield_1, medfield_2, medfield_3, medfield_4,
  medfield_5
}
 

Functions

 MODULE_ALIAS ("i2c_designware-pci")
 
 MODULE_DEVICE_TABLE (pci, i2_designware_pci_ids)
 
 module_pci_driver (dw_i2c_driver)
 
 MODULE_AUTHOR ("Baruch Siach <[email protected]>")
 
 MODULE_DESCRIPTION ("Synopsys DesignWare PCI I2C bus adapter")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define DRIVER_NAME   "i2c-designware-pci"

Definition at line 44 of file i2c-designware-pcidrv.c.

#define INTEL_MID_STD_CFG
Value:
DW_IC_CON_SLAVE_DISABLE | \
DW_IC_CON_RESTART_EN)

Definition at line 67 of file i2c-designware-pcidrv.c.

Enumeration Type Documentation

Enumerator:
moorestown_0 
moorestown_1 
moorestown_2 
medfield_0 
medfield_1 
medfield_2 
medfield_3 
medfield_4 
medfield_5 

Definition at line 46 of file i2c-designware-pcidrv.c.

Function Documentation

MODULE_ALIAS ( "i2c_designware-pci )
MODULE_AUTHOR ( "Baruch Siach <[email protected]>"  )
MODULE_DESCRIPTION ( "Synopsys DesignWare PCI I2C bus adapter )
MODULE_DEVICE_TABLE ( pci  ,
i2_designware_pci_ids   
)
MODULE_LICENSE ( "GPL"  )
module_pci_driver ( dw_i2c_driver  )