Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
i2c-isch.c File Reference
#include <linux/module.h>
#include <linux/platform_device.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/stddef.h>
#include <linux/ioport.h>
#include <linux/i2c.h>
#include <linux/init.h>
#include <linux/io.h>
#include <linux/acpi.h>

Go to the source code of this file.

Macros

#define SMBHSTCNT   (0 + sch_smba)
 
#define SMBHSTSTS   (1 + sch_smba)
 
#define SMBHSTADD   (4 + sch_smba) /* TSA */
 
#define SMBHSTCMD   (5 + sch_smba)
 
#define SMBHSTDAT0   (6 + sch_smba)
 
#define SMBHSTDAT1   (7 + sch_smba)
 
#define SMBBLKDAT   (0x20 + sch_smba)
 
#define MAX_RETRIES   5000
 
#define SCH_QUICK   0x00
 
#define SCH_BYTE   0x01
 
#define SCH_BYTE_DATA   0x02
 
#define SCH_WORD_DATA   0x03
 
#define SCH_BLOCK_DATA   0x05
 

Functions

 module_platform_driver (smbus_sch_driver)
 
 MODULE_AUTHOR ("Jacob Pan <[email protected]>")
 
 MODULE_DESCRIPTION ("Intel SCH SMBus driver")
 
 MODULE_LICENSE ("GPL")
 
 MODULE_ALIAS ("platform:isch_smbus")
 

Macro Definition Documentation

#define MAX_RETRIES   5000

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

#define SCH_BLOCK_DATA   0x05

Definition at line 57 of file i2c-isch.c.

#define SCH_BYTE   0x01

Definition at line 54 of file i2c-isch.c.

#define SCH_BYTE_DATA   0x02

Definition at line 55 of file i2c-isch.c.

#define SCH_QUICK   0x00

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

#define SCH_WORD_DATA   0x03

Definition at line 56 of file i2c-isch.c.

#define SMBBLKDAT   (0x20 + sch_smba)

Definition at line 47 of file i2c-isch.c.

#define SMBHSTADD   (4 + sch_smba) /* TSA */

Definition at line 43 of file i2c-isch.c.

#define SMBHSTCMD   (5 + sch_smba)

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

#define SMBHSTCNT   (0 + sch_smba)

Definition at line 41 of file i2c-isch.c.

#define SMBHSTDAT0   (6 + sch_smba)

Definition at line 45 of file i2c-isch.c.

#define SMBHSTDAT1   (7 + sch_smba)

Definition at line 46 of file i2c-isch.c.

#define SMBHSTSTS   (1 + sch_smba)

Definition at line 42 of file i2c-isch.c.

Function Documentation

MODULE_ALIAS ( "platform:isch_smbus"  )
MODULE_AUTHOR ( "Jacob Pan <[email protected]>"  )
MODULE_DESCRIPTION ( "Intel SCH SMBus driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( smbus_sch_driver  )