#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/mm.h>
#include <linux/timer.h>
#include <linux/spinlock.h>
#include <linux/completion.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/delay.h>
#include <asm/blackfin.h>
#include <asm/portmux.h>
#include <asm/irq.h>
#include <asm/bfin_twi.h>
Go to the source code of this file.
|
int | bfin_twi_do_smbus_xfer (struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) |
|
int | bfin_twi_smbus_xfer (struct i2c_adapter *adap, u16 addr, unsigned short flags, char read_write, u8 command, int size, union i2c_smbus_data *data) |
|
| subsys_initcall (i2c_bfin_twi_init) |
|
| module_exit (i2c_bfin_twi_exit) |
|
| MODULE_AUTHOR ("Bryan Wu, Sonic Zhang") |
|
| MODULE_DESCRIPTION ("Blackfin BF5xx on-chip I2C TWI Contoller Driver") |
|
| MODULE_LICENSE ("GPL") |
|
| MODULE_ALIAS ("platform:i2c-bfin-twi") |
|
#define TWI_I2C_MODE_COMBINED 3 |
#define TWI_I2C_MODE_REPEAT 4 |
#define TWI_I2C_MODE_STANDARD 1 |
#define TWI_I2C_MODE_STANDARDSUB 2 |
MODULE_ALIAS |
( |
"platform:i2c-bfin-twi" |
| ) |
|
MODULE_AUTHOR |
( |
"Bryan |
Wu, |
|
|
Sonic Zhang" |
|
|
) |
| |
MODULE_DESCRIPTION |
( |
"Blackfin BF5xx on-chip I2C TWI Contoller Driver" |
| ) |
|
module_exit |
( |
i2c_bfin_twi_exit |
| ) |
|
subsys_initcall |
( |
i2c_bfin_twi_init |
| ) |
|