VSF Documented
Data Structures | Macros
i2c-dev.h File Reference
#include <linux/types.h>

Go to the source code of this file.

Data Structures

struct  i2c_smbus_ioctl_data
 
struct  i2c_rdwr_ioctl_data
 

Macros

#define I2C_SLAVE   (('i' << 8) | 0)
 
#define I2C_SLAVE_FORCE   I2C_SLAVE
 
#define I2C_TENBIT   (('i' << 8) | 1)
 
#define I2C_FUNCS   (('i' << 8) | 2)
 
#define I2C_RDWR   (('i' << 8) | 3)
 
#define I2C_SMBUS   (('i' << 8) | 4)
 
#define I2C_PEC   (('i' << 8) | 5)
 
#define I2C_RDWR_IOCTL_MAX_MSGS   42
 
#define I2C_RDRW_IOCTL_MAX_MSGS   I2C_RDWR_IOCTL_MAX_MSGS
 

Macro Definition Documentation

◆ I2C_SLAVE

#define I2C_SLAVE   (('i' << 8) | 0)

◆ I2C_SLAVE_FORCE

#define I2C_SLAVE_FORCE   I2C_SLAVE

◆ I2C_TENBIT

#define I2C_TENBIT   (('i' << 8) | 1)

◆ I2C_FUNCS

#define I2C_FUNCS   (('i' << 8) | 2)

◆ I2C_RDWR

#define I2C_RDWR   (('i' << 8) | 3)

◆ I2C_SMBUS

#define I2C_SMBUS   (('i' << 8) | 4)

◆ I2C_PEC

#define I2C_PEC   (('i' << 8) | 5)

◆ I2C_RDWR_IOCTL_MAX_MSGS

#define I2C_RDWR_IOCTL_MAX_MSGS   42

◆ I2C_RDRW_IOCTL_MAX_MSGS

#define I2C_RDRW_IOCTL_MAX_MSGS   I2C_RDWR_IOCTL_MAX_MSGS