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

#include <i2c.h>

Data Fields

unsigned int class
 
int(* attach_adapter )(struct i2c_adapter *) __deprecated
 
int(* detach_adapter )(struct i2c_adapter *) __deprecated
 
int(* probe )(struct i2c_client *, const struct i2c_device_id *)
 
int(* remove )(struct i2c_client *)
 
void(* shutdown )(struct i2c_client *)
 
int(* suspend )(struct i2c_client *, pm_message_t mesg)
 
int(* resume )(struct i2c_client *)
 
void(* alert )(struct i2c_client *, unsigned int data)
 
int(* command )(struct i2c_client *client, unsigned int cmd, void *arg)
 
struct device_driver driver
 
struct i2c_device_idid_table
 
int(* detect )(struct i2c_client *, struct i2c_board_info *)
 
const unsigned shortaddress_list
 
struct list_head clients
 

Detailed Description

Definition at line 162 of file i2c.h.

Field Documentation

const unsigned short* address_list

Definition at line 198 of file i2c.h.

void(* alert)(struct i2c_client *, unsigned int data)

Definition at line 186 of file i2c.h.

int(* attach_adapter)(struct i2c_adapter *) __deprecated

Definition at line 169 of file i2c.h.

unsigned int class

Definition at line 163 of file i2c.h.

struct list_head clients

Definition at line 199 of file i2c.h.

Definition at line 191 of file i2c.h.

int(* detach_adapter)(struct i2c_adapter *) __deprecated

Definition at line 170 of file i2c.h.

Definition at line 197 of file i2c.h.

Definition at line 193 of file i2c.h.

struct i2c_device_id* id_table

Definition at line 194 of file i2c.h.

Definition at line 173 of file i2c.h.

int(* remove)(struct i2c_client *)

Definition at line 174 of file i2c.h.

int(* resume)(struct i2c_client *)

Definition at line 179 of file i2c.h.

void(* shutdown)(struct i2c_client *)

Definition at line 177 of file i2c.h.

int(* suspend)(struct i2c_client *, pm_message_t mesg)

Definition at line 178 of file i2c.h.


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