Linux Kernel
3.7.1
|
Go to the source code of this file.
Macros | |
#define | ETRAXI2C_IOCTYPE 44 |
#define | I2C_WRITEARG(slave, reg, value) (((slave) << 16) | ((reg) << 8) | (value)) |
#define | I2C_READARG(slave, reg) (((slave) << 16) | ((reg) << 8)) |
#define | I2C_ARGSLAVE(arg) ((arg) >> 16) |
#define | I2C_ARGREG(arg) (((arg) >> 8) & 0xff) |
#define | I2C_ARGVALUE(arg) ((arg) & 0xff) |
#define | I2C_WRITEREG 0x1 /* write to an i2c register */ |
#define | I2C_READREG 0x2 /* read from an i2c register */ |
#define ETRAXI2C_IOCTYPE 44 |
Definition at line 8 of file etraxi2c.h.
Definition at line 20 of file etraxi2c.h.
Definition at line 19 of file etraxi2c.h.
Definition at line 21 of file etraxi2c.h.
Definition at line 17 of file etraxi2c.h.
#define I2C_READREG 0x2 /* read from an i2c register */ |
Definition at line 24 of file etraxi2c.h.
Definition at line 16 of file etraxi2c.h.
#define I2C_WRITEREG 0x1 /* write to an i2c register */ |
Definition at line 23 of file etraxi2c.h.