Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/init.h>
#include <linux/delay.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
Go to the source code of this file.
Data Structures | |
struct | simtec_i2c_data |
Macros | |
#define | CMD_SET_SDA (1<<2) |
#define | CMD_SET_SCL (1<<3) |
#define | STATE_SDA (1<<0) |
#define | STATE_SCL (1<<1) |
Functions | |
module_platform_driver (simtec_i2c_driver) | |
MODULE_DESCRIPTION ("Simtec Generic I2C Bus driver") | |
MODULE_AUTHOR ("Ben Dooks <[email protected]>") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:simtec-i2c") | |
#define CMD_SET_SCL (1<<3) |
Definition at line 40 of file i2c-simtec.c.
#define CMD_SET_SDA (1<<2) |
Definition at line 39 of file i2c-simtec.c.
#define STATE_SCL (1<<1) |
Definition at line 43 of file i2c-simtec.c.
#define STATE_SDA (1<<0) |
Definition at line 42 of file i2c-simtec.c.
MODULE_ALIAS | ( | "platform:simtec-i2c" | ) |
MODULE_AUTHOR | ( | "Ben Dooks <[email protected]>" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | simtec_i2c_driver | ) |