Linux Kernel
3.7.1
|
Data Fields | |
struct i2c_adapter | adap |
struct device * | dev |
void __iomem * | base |
int | speed |
struct completion | complete |
int | abort |
u8 * | rx_buf |
int | rx_buf_len |
enum mid_i2c_status | status |
struct i2c_msg * | msg |
enum platform_enum | platform |
struct mutex | lock |
struct intel_mid_i2c_private - per device I²C context : core i2c layer adapter information : device reference for power management : register base : speed mode for this port : completion object for transaction wait : reason for last abort : pointer into working receive buffer : receive buffer length : adapter state machine : the message we are currently processing : the MID device type we are part of : transaction serialization
We allocate one of these per device we discover, it holds the core i2c layer objects and the data we need to track privately.
Definition at line 75 of file i2c-intel-mid.c.
int abort |
Definition at line 81 of file i2c-intel-mid.c.
struct i2c_adapter adap |
Definition at line 76 of file i2c-intel-mid.c.
Definition at line 78 of file i2c-intel-mid.c.
struct completion complete |
Definition at line 80 of file i2c-intel-mid.c.
Definition at line 77 of file i2c-intel-mid.c.
Definition at line 87 of file i2c-intel-mid.c.
Definition at line 85 of file i2c-intel-mid.c.
enum platform_enum platform |
Definition at line 86 of file i2c-intel-mid.c.
u8* rx_buf |
Definition at line 82 of file i2c-intel-mid.c.
int rx_buf_len |
Definition at line 83 of file i2c-intel-mid.c.
int speed |
Definition at line 79 of file i2c-intel-mid.c.
enum mid_i2c_status status |
Definition at line 84 of file i2c-intel-mid.c.