Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros
i2c-dev.h File Reference
#include <linux/types.h>
#include <linux/compiler.h>

Go to the source code of this file.

Data Structures

struct  i2c_smbus_ioctl_data
 
struct  i2c_rdwr_ioctl_data
 

Macros

#define I2C_RETRIES
 
#define I2C_TIMEOUT   0x0702 /* set timeout in units of 10 ms */
 
#define I2C_SLAVE   0x0703 /* Use this slave address */
 
#define I2C_SLAVE_FORCE
 
#define I2C_TENBIT   0x0704 /* 0 for 7 bit addrs, != 0 for 10 bit */
 
#define I2C_FUNCS   0x0705 /* Get the adapter functionality mask */
 
#define I2C_RDWR   0x0707 /* Combined R/W transfer (one STOP only) */
 
#define I2C_PEC   0x0708 /* != 0 to use PEC with SMBus */
 
#define I2C_SMBUS   0x0720 /* SMBus transfer */
 
#define I2C_RDRW_IOCTL_MAX_MSGS   42
 

Macro Definition Documentation

#define I2C_FUNCS   0x0705 /* Get the adapter functionality mask */

Definition at line 45 of file i2c-dev.h.

#define I2C_PEC   0x0708 /* != 0 to use PEC with SMBus */

Definition at line 49 of file i2c-dev.h.

#define I2C_RDRW_IOCTL_MAX_MSGS   42

Definition at line 67 of file i2c-dev.h.

#define I2C_RDWR   0x0707 /* Combined R/W transfer (one STOP only) */

Definition at line 47 of file i2c-dev.h.

#define I2C_RETRIES
Value:
0x0701 /* number of times a device address should
be polled when not acknowledging */

Definition at line 35 of file i2c-dev.h.

#define I2C_SLAVE   0x0703 /* Use this slave address */

Definition at line 41 of file i2c-dev.h.

#define I2C_SLAVE_FORCE
Value:
0x0706 /* Use this slave address, even if it
is already in use by a driver! */

Definition at line 42 of file i2c-dev.h.

#define I2C_SMBUS   0x0720 /* SMBus transfer */

Definition at line 50 of file i2c-dev.h.

#define I2C_TENBIT   0x0704 /* 0 for 7 bit addrs, != 0 for 10 bit */

Definition at line 43 of file i2c-dev.h.

#define I2C_TIMEOUT   0x0702 /* set timeout in units of 10 ms */

Definition at line 36 of file i2c-dev.h.