Linux Kernel
3.7.1
|
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/i2c.h>
#include <linux/i2c-algo-bit.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/io.h>
#include <linux/of_i2c.h>
Go to the source code of this file.
Data Structures | |
struct | i2c_versatile |
Macros | |
#define | I2C_CONTROL 0x00 |
#define | I2C_CONTROLS 0x00 |
#define | I2C_CONTROLC 0x04 |
#define | SCL (1 << 0) |
#define | SDA (1 << 1) |
Functions | |
MODULE_DEVICE_TABLE (of, i2c_versatile_match) | |
subsys_initcall (i2c_versatile_init) | |
module_exit (i2c_versatile_exit) | |
MODULE_DESCRIPTION ("ARM Versatile I2C bus driver") | |
MODULE_LICENSE ("GPL") | |
MODULE_ALIAS ("platform:versatile-i2c") | |
#define I2C_CONTROL 0x00 |
Definition at line 21 of file i2c-versatile.c.
#define I2C_CONTROLC 0x04 |
Definition at line 23 of file i2c-versatile.c.
#define I2C_CONTROLS 0x00 |
Definition at line 22 of file i2c-versatile.c.
#define SCL (1 << 0) |
Definition at line 24 of file i2c-versatile.c.
#define SDA (1 << 1) |
Definition at line 25 of file i2c-versatile.c.
MODULE_ALIAS | ( | "platform:versatile-i2c" | ) |
MODULE_DEVICE_TABLE | ( | of | , |
i2c_versatile_match | |||
) |
module_exit | ( | i2c_versatile_exit | ) |
MODULE_LICENSE | ( | "GPL" | ) |
subsys_initcall | ( | i2c_versatile_init | ) |