|
Linux Kernel
3.7.1
|
#include <linux/kernel.h>#include <linux/module.h>#include <linux/sched.h>#include <linux/init.h>#include <linux/of_platform.h>#include <linux/of_i2c.h>#include <linux/slab.h>#include <linux/io.h>#include <linux/fsl_devices.h>#include <linux/i2c.h>#include <linux/interrupt.h>#include <linux/delay.h>#include <asm/mpc52xx.h>#include <sysdev/fsl_soc.h>Go to the source code of this file.
Data Structures | |
| struct | mpc_i2c |
| struct | mpc_i2c_divider |
| struct | mpc_i2c_data |
Macros | |
| #define | DRV_NAME "mpc-i2c" |
| #define | MPC_I2C_CLOCK_LEGACY 0 |
| #define | MPC_I2C_CLOCK_PRESERVE (~0U) |
| #define | MPC_I2C_FDR 0x04 |
| #define | MPC_I2C_CR 0x08 |
| #define | MPC_I2C_SR 0x0c |
| #define | MPC_I2C_DR 0x10 |
| #define | MPC_I2C_DFSRR 0x14 |
| #define | CCR_MEN 0x80 |
| #define | CCR_MIEN 0x40 |
| #define | CCR_MSTA 0x20 |
| #define | CCR_MTX 0x10 |
| #define | CCR_TXAK 0x08 |
| #define | CCR_RSTA 0x04 |
| #define | CSR_MCF 0x80 |
| #define | CSR_MAAS 0x40 |
| #define | CSR_MBB 0x20 |
| #define | CSR_MAL 0x10 |
| #define | CSR_SRW 0x04 |
| #define | CSR_MIF 0x02 |
| #define | CSR_RXAK 0x01 |
Functions | |
| MODULE_DEVICE_TABLE (of, mpc_i2c_of_match) | |
| module_platform_driver (mpc_i2c_driver) | |
| MODULE_AUTHOR ("Adrian Cox <[email protected]>") | |
| MODULE_DESCRIPTION ("I2C-Bus adapter for MPC107 bridge and ""MPC824x/83xx/85xx/86xx/512x/52xx processors") | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR | ( | "Adrian Cox <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "I2C-Bus adapter for MPC107 bridge and ""MPC824x/83xx/85xx/86xx/512x/52xx processors" | ) |
| MODULE_DEVICE_TABLE | ( | of | , |
| mpc_i2c_of_match | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | mpc_i2c_driver | ) |
1.8.2