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

Go to the source code of this file.

Functions

int __init i2c_init (void)
 
int i2c_write (unsigned char theSlave, void *data, size_t nbytes)
 
int i2c_read (unsigned char theSlave, void *data, size_t nbytes)
 
int i2c_writereg (unsigned char theSlave, unsigned char theReg, unsigned char theValue)
 
unsigned char i2c_readreg (unsigned char theSlave, unsigned char theReg)
 
void i2c_start (void)
 
void i2c_stop (void)
 
void i2c_outbyte (unsigned char x)
 
unsigned char i2c_inbyte (void)
 
int i2c_getack (void)
 
void i2c_sendack (void)
 

Function Documentation

int i2c_getack ( void  )

Definition at line 267 of file i2c.c.

unsigned char i2c_inbyte ( void  )

Definition at line 210 of file i2c.c.

int __init i2c_init ( void  )

Definition at line 623 of file i2c.c.

void i2c_outbyte ( unsigned char  x)

Definition at line 178 of file i2c.c.

int i2c_read ( unsigned char  theSlave,
void data,
size_t  nbytes 
)

Definition at line 447 of file i2c.c.

unsigned char i2c_readreg ( unsigned char  theSlave,
unsigned char  theReg 
)

Definition at line 487 of file i2c.c.

void i2c_sendack ( void  )

Definition at line 350 of file i2c.c.

void i2c_start ( void  )

Definition at line 126 of file i2c.c.

void i2c_stop ( void  )

Definition at line 151 of file i2c.c.

int i2c_write ( unsigned char  theSlave,
void data,
size_t  nbytes 
)

Definition at line 391 of file i2c.c.

int i2c_writereg ( unsigned char  theSlave,
unsigned char  theReg,
unsigned char  theValue 
)

Definition at line 417 of file i2c.c.