Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
pxa-i2c.h File Reference

Go to the source code of this file.

Data Structures

struct  i2c_pxa_platform_data
 

Macros

#define DEF_TIMEOUT   32
 
#define BUS_ERROR   (-EREMOTEIO)
 
#define XFER_NAKED   (-ECONNREFUSED)
 
#define I2C_RETRY   (-2000) /* an error has occurred retry transmit */
 
#define I2C_ICR_INIT   (ICR_BEIE | ICR_IRFIE | ICR_ITEIE | ICR_GCD | ICR_SCLE)
 
#define I2C_ISR_INIT   0x7FF /* status register init */
 

Functions

void pxa_set_i2c_info (struct i2c_pxa_platform_data *info)
 

Macro Definition Documentation

#define BUS_ERROR   (-EREMOTEIO)

Definition at line 23 of file pxa-i2c.h.

#define DEF_TIMEOUT   32

Definition at line 20 of file pxa-i2c.h.

#define I2C_ICR_INIT   (ICR_BEIE | ICR_IRFIE | ICR_ITEIE | ICR_GCD | ICR_SCLE)

Definition at line 49 of file pxa-i2c.h.

#define I2C_ISR_INIT   0x7FF /* status register init */

Definition at line 60 of file pxa-i2c.h.

#define I2C_RETRY   (-2000) /* an error has occurred retry transmit */

Definition at line 25 of file pxa-i2c.h.

#define XFER_NAKED   (-ECONNREFUSED)

Definition at line 24 of file pxa-i2c.h.

Function Documentation

void pxa_set_i2c_info ( struct i2c_pxa_platform_data info)

Definition at line 314 of file devices.c.