Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions
i2c-s3c2410.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/time.h>
#include <linux/interrupt.h>
#include <linux/delay.h>
#include <linux/errno.h>
#include <linux/err.h>
#include <linux/platform_device.h>
#include <linux/pm_runtime.h>
#include <linux/clk.h>
#include <linux/cpufreq.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/of_i2c.h>
#include <linux/of_gpio.h>
#include <asm/irq.h>
#include <plat/regs-iic.h>
#include <linux/platform_data/i2c-s3c2410.h>

Go to the source code of this file.

Data Structures

struct  s3c24xx_i2c
 

Macros

#define QUIRK_S3C2440   (1 << 0)
 
#define QUIRK_HDMIPHY   (1 << 1)
 
#define QUIRK_NO_GPIO   (1 << 2)
 
#define S3C24XX_DEV_PM_OPS   NULL
 

Enumerations

enum  s3c24xx_i2c_state {
  STATE_IDLE, STATE_START, STATE_READ, STATE_WRITE,
  STATE_STOP
}
 

Functions

 MODULE_DEVICE_TABLE (platform, s3c24xx_driver_ids)
 
 subsys_initcall (i2c_adap_s3c_init)
 
 module_exit (i2c_adap_s3c_exit)
 
 MODULE_DESCRIPTION ("S3C24XX I2C Bus driver")
 
 MODULE_AUTHOR ("Ben Dooks, <[email protected]>")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define QUIRK_HDMIPHY   (1 << 1)

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

#define QUIRK_NO_GPIO   (1 << 2)

Definition at line 50 of file i2c-s3c2410.c.

#define QUIRK_S3C2440   (1 << 0)

Definition at line 48 of file i2c-s3c2410.c.

#define S3C24XX_DEV_PM_OPS   NULL

Definition at line 1153 of file i2c-s3c2410.c.

Enumeration Type Documentation

Enumerator:
STATE_IDLE 
STATE_START 
STATE_READ 
STATE_WRITE 
STATE_STOP 

Definition at line 53 of file i2c-s3c2410.c.

Function Documentation

MODULE_AUTHOR ( "Ben  Dooks,
< ben @simtec.co.uk >"   
)
MODULE_DESCRIPTION ( "S3C24XX I2C Bus driver )
MODULE_DEVICE_TABLE ( platform  ,
s3c24xx_driver_ids   
)
module_exit ( i2c_adap_s3c_exit  )
MODULE_LICENSE ( "GPL"  )
subsys_initcall ( i2c_adap_s3c_init  )