Linux Kernel
3.7.1
|
Go to the source code of this file.
Data Structures | |
struct | i2c_algo_pca_data |
Macros | |
#define | I2C_PCA_CHIP_9564 0x00 |
#define | I2C_PCA_CHIP_9665 0x01 |
#define | I2C_PCA_OSC_PER 3 /* e10-8s */ |
#define | I2C_PCA_CON_330kHz 0x00 |
#define | I2C_PCA_CON_288kHz 0x01 |
#define | I2C_PCA_CON_217kHz 0x02 |
#define | I2C_PCA_CON_146kHz 0x03 |
#define | I2C_PCA_CON_88kHz 0x04 |
#define | I2C_PCA_CON_59kHz 0x05 |
#define | I2C_PCA_CON_44kHz 0x06 |
#define | I2C_PCA_CON_36kHz 0x07 |
#define | I2C_PCA_STA 0x00 /* STATUS Read Only */ |
#define | I2C_PCA_TO 0x00 /* TIMEOUT Write Only */ |
#define | I2C_PCA_DAT 0x01 /* DATA Read/Write */ |
#define | I2C_PCA_ADR 0x02 /* OWN ADR Read/Write */ |
#define | I2C_PCA_CON 0x03 /* CONTROL Read/Write */ |
#define | I2C_PCA_INDPTR 0x00 /* INDIRECT Pointer Write Only */ |
#define | I2C_PCA_IND 0x02 /* INDIRECT Read/Write */ |
#define | I2C_PCA_ICOUNT 0x00 /* Byte Count for buffered mode */ |
#define | I2C_PCA_IADR 0x01 /* OWN ADR */ |
#define | I2C_PCA_ISCLL 0x02 /* SCL LOW period */ |
#define | I2C_PCA_ISCLH 0x03 /* SCL HIGH period */ |
#define | I2C_PCA_ITO 0x04 /* TIMEOUT */ |
#define | I2C_PCA_IPRESET 0x05 /* Parallel bus reset */ |
#define | I2C_PCA_IMODE 0x06 /* I2C Bus mode */ |
#define | I2C_PCA_MODE_STD 0x00 /* Standard mode */ |
#define | I2C_PCA_MODE_FAST 0x01 /* Fast mode */ |
#define | I2C_PCA_MODE_FASTP 0x02 /* Fast Plus mode */ |
#define | I2C_PCA_MODE_TURBO 0x03 /* Turbo mode */ |
#define | I2C_PCA_CON_AA 0x80 /* Assert Acknowledge */ |
#define | I2C_PCA_CON_ENSIO 0x40 /* Enable */ |
#define | I2C_PCA_CON_STA 0x20 /* Start */ |
#define | I2C_PCA_CON_STO 0x10 /* Stop */ |
#define | I2C_PCA_CON_SI 0x08 /* Serial Interrupt */ |
#define | I2C_PCA_CON_CR 0x07 /* Clock Rate (MASK) */ |
Functions | |
int | i2c_pca_add_bus (struct i2c_adapter *) |
int | i2c_pca_add_numbered_bus (struct i2c_adapter *) |
#define I2C_PCA_ADR 0x02 /* OWN ADR Read/Write */ |
Definition at line 25 of file i2c-algo-pca.h.
#define I2C_PCA_CHIP_9564 0x00 |
Definition at line 5 of file i2c-algo-pca.h.
#define I2C_PCA_CHIP_9665 0x01 |
Definition at line 6 of file i2c-algo-pca.h.
#define I2C_PCA_CON 0x03 /* CONTROL Read/Write */ |
Definition at line 26 of file i2c-algo-pca.h.
#define I2C_PCA_CON_146kHz 0x03 |
Definition at line 15 of file i2c-algo-pca.h.
#define I2C_PCA_CON_217kHz 0x02 |
Definition at line 14 of file i2c-algo-pca.h.
#define I2C_PCA_CON_288kHz 0x01 |
Definition at line 13 of file i2c-algo-pca.h.
#define I2C_PCA_CON_330kHz 0x00 |
Definition at line 12 of file i2c-algo-pca.h.
#define I2C_PCA_CON_36kHz 0x07 |
Definition at line 19 of file i2c-algo-pca.h.
#define I2C_PCA_CON_44kHz 0x06 |
Definition at line 18 of file i2c-algo-pca.h.
#define I2C_PCA_CON_59kHz 0x05 |
Definition at line 17 of file i2c-algo-pca.h.
#define I2C_PCA_CON_88kHz 0x04 |
Definition at line 16 of file i2c-algo-pca.h.
#define I2C_PCA_CON_AA 0x80 /* Assert Acknowledge */ |
Definition at line 48 of file i2c-algo-pca.h.
#define I2C_PCA_CON_CR 0x07 /* Clock Rate (MASK) */ |
Definition at line 53 of file i2c-algo-pca.h.
#define I2C_PCA_CON_ENSIO 0x40 /* Enable */ |
Definition at line 49 of file i2c-algo-pca.h.
#define I2C_PCA_CON_SI 0x08 /* Serial Interrupt */ |
Definition at line 52 of file i2c-algo-pca.h.
#define I2C_PCA_CON_STA 0x20 /* Start */ |
Definition at line 50 of file i2c-algo-pca.h.
#define I2C_PCA_CON_STO 0x10 /* Stop */ |
Definition at line 51 of file i2c-algo-pca.h.
#define I2C_PCA_DAT 0x01 /* DATA Read/Write */ |
Definition at line 24 of file i2c-algo-pca.h.
#define I2C_PCA_IADR 0x01 /* OWN ADR */ |
Definition at line 34 of file i2c-algo-pca.h.
#define I2C_PCA_ICOUNT 0x00 /* Byte Count for buffered mode */ |
Definition at line 33 of file i2c-algo-pca.h.
#define I2C_PCA_IMODE 0x06 /* I2C Bus mode */ |
Definition at line 39 of file i2c-algo-pca.h.
#define I2C_PCA_IND 0x02 /* INDIRECT Read/Write */ |
Definition at line 30 of file i2c-algo-pca.h.
#define I2C_PCA_INDPTR 0x00 /* INDIRECT Pointer Write Only */ |
Definition at line 29 of file i2c-algo-pca.h.
#define I2C_PCA_IPRESET 0x05 /* Parallel bus reset */ |
Definition at line 38 of file i2c-algo-pca.h.
#define I2C_PCA_ISCLH 0x03 /* SCL HIGH period */ |
Definition at line 36 of file i2c-algo-pca.h.
#define I2C_PCA_ISCLL 0x02 /* SCL LOW period */ |
Definition at line 35 of file i2c-algo-pca.h.
#define I2C_PCA_ITO 0x04 /* TIMEOUT */ |
Definition at line 37 of file i2c-algo-pca.h.
#define I2C_PCA_MODE_FAST 0x01 /* Fast mode */ |
Definition at line 43 of file i2c-algo-pca.h.
#define I2C_PCA_MODE_FASTP 0x02 /* Fast Plus mode */ |
Definition at line 44 of file i2c-algo-pca.h.
#define I2C_PCA_MODE_STD 0x00 /* Standard mode */ |
Definition at line 42 of file i2c-algo-pca.h.
#define I2C_PCA_MODE_TURBO 0x03 /* Turbo mode */ |
Definition at line 45 of file i2c-algo-pca.h.
#define I2C_PCA_OSC_PER 3 /* e10-8s */ |
Definition at line 9 of file i2c-algo-pca.h.
#define I2C_PCA_STA 0x00 /* STATUS Read Only */ |
Definition at line 22 of file i2c-algo-pca.h.
#define I2C_PCA_TO 0x00 /* TIMEOUT Write Only */ |
Definition at line 23 of file i2c-algo-pca.h.
int i2c_pca_add_bus | ( | struct i2c_adapter * | ) |
Definition at line 538 of file i2c-algo-pca.c.
int i2c_pca_add_numbered_bus | ( | struct i2c_adapter * | ) |
Definition at line 550 of file i2c-algo-pca.c.