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

Data Fields

struct devicedev
 
struct tegra_i2c_hw_featurehw
 
struct i2c_adapter adapter
 
struct clkdiv_clk
 
struct clkfast_clk
 
void __iomembase
 
int cont_id
 
int irq
 
bool irq_disabled
 
int is_dvc
 
struct completion msg_complete
 
int msg_err
 
u8msg_buf
 
size_t msg_buf_remaining
 
int msg_read
 
unsigned long bus_clk_rate
 
bool is_suspended
 

Detailed Description

struct tegra_i2c_dev - per device i2c context : device reference for power management : Tegra i2c hw feature. : core i2c layer adapter information : clock reference for div clock of i2c controller. : clock reference for fast clock of i2c controller. : ioremapped registers cookie : i2c controller id, used for for packet header : irq number of transfer complete interrupt : identifies the DVC i2c controller, has a different register layout : transfer completion notifier : error code for completed message : pointer to current message data : size of unsent data in the message buffer : identifies read transfers : current i2c bus clock rate : prevents i2c controller accesses after suspend is called

Definition at line 145 of file i2c-tegra.c.

Field Documentation

Definition at line 148 of file i2c-tegra.c.

void __iomem* base

Definition at line 151 of file i2c-tegra.c.

unsigned long bus_clk_rate

Definition at line 161 of file i2c-tegra.c.

int cont_id

Definition at line 152 of file i2c-tegra.c.

struct device* dev

Definition at line 146 of file i2c-tegra.c.

struct clk* div_clk

Definition at line 149 of file i2c-tegra.c.

struct clk* fast_clk

Definition at line 150 of file i2c-tegra.c.

Definition at line 147 of file i2c-tegra.c.

int irq

Definition at line 153 of file i2c-tegra.c.

bool irq_disabled

Definition at line 154 of file i2c-tegra.c.

int is_dvc

Definition at line 155 of file i2c-tegra.c.

bool is_suspended

Definition at line 162 of file i2c-tegra.c.

Definition at line 158 of file i2c-tegra.c.

size_t msg_buf_remaining

Definition at line 159 of file i2c-tegra.c.

struct completion msg_complete

Definition at line 156 of file i2c-tegra.c.

int msg_err

Definition at line 157 of file i2c-tegra.c.

int msg_read

Definition at line 160 of file i2c-tegra.c.


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