Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
via_i2c.h File Reference
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>

Go to the source code of this file.

Data Structures

struct  via_i2c_stuff
 

Functions

int viafb_i2c_readbyte (u8 adap, u8 slave_addr, u8 index, u8 *pdata)
 
int viafb_i2c_writebyte (u8 adap, u8 slave_addr, u8 index, u8 data)
 
int viafb_i2c_readbytes (u8 adap, u8 slave_addr, u8 index, u8 *buff, int buff_len)
 
struct i2c_adapterviafb_find_i2c_adapter (enum viafb_i2c_adap which)
 
int viafb_i2c_init (void)
 
void viafb_i2c_exit (void)
 

Function Documentation

struct i2c_adapter* viafb_find_i2c_adapter ( enum viafb_i2c_adap  which)
read

Definition at line 193 of file via_i2c.c.

void viafb_i2c_exit ( void  )

Definition at line 292 of file via_i2c.c.

int viafb_i2c_init ( void  )

Definition at line 287 of file via_i2c.c.

int viafb_i2c_readbyte ( u8  adap,
u8  slave_addr,
u8  index,
u8 pdata 
)

Definition at line 121 of file via_i2c.c.

int viafb_i2c_readbytes ( u8  adap,
u8  slave_addr,
u8  index,
u8 buff,
int  buff_len 
)

Definition at line 166 of file via_i2c.c.

int viafb_i2c_writebyte ( u8  adap,
u8  slave_addr,
u8  index,
u8  data 
)

Definition at line 145 of file via_i2c.c.