Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
intel_mid_i2c_private Struct Reference

Data Fields

struct i2c_adapter adap
 
struct devicedev
 
void __iomembase
 
int speed
 
struct completion complete
 
int abort
 
u8rx_buf
 
int rx_buf_len
 
enum mid_i2c_status status
 
struct i2c_msgmsg
 
enum platform_enum platform
 
struct mutex lock
 

Detailed Description

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.

Field Documentation

int abort

Definition at line 81 of file i2c-intel-mid.c.

Definition at line 76 of file i2c-intel-mid.c.

void __iomem* base

Definition at line 78 of file i2c-intel-mid.c.

struct completion complete

Definition at line 80 of file i2c-intel-mid.c.

struct device* dev

Definition at line 77 of file i2c-intel-mid.c.

struct mutex lock

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.

Definition at line 84 of file i2c-intel-mid.c.


The documentation for this struct was generated from the following file: