Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/stddef.h>
#include <linux/init.h>
#include <linux/i2c.h>
#include <linux/acpi.h>
Go to the source code of this file.
Data Structures | |
struct | smbus_methods_t |
struct | acpi_smbus_cmi |
Macros | |
#define | ACPI_SMBUS_HC_CLASS "smbus" |
#define | ACPI_SMBUS_HC_DEVICE_NAME "cmi" |
#define | ACPI_SMBUS_STATUS_OK 0x00 |
#define | ACPI_SMBUS_STATUS_FAIL 0x07 |
#define | ACPI_SMBUS_STATUS_DNAK 0x10 |
#define | ACPI_SMBUS_STATUS_DERR 0x11 |
#define | ACPI_SMBUS_STATUS_CMD_DENY 0x12 |
#define | ACPI_SMBUS_STATUS_UNKNOWN 0x13 |
#define | ACPI_SMBUS_STATUS_ACC_DENY 0x17 |
#define | ACPI_SMBUS_STATUS_TIMEOUT 0x18 |
#define | ACPI_SMBUS_STATUS_NOTSUP 0x19 |
#define | ACPI_SMBUS_STATUS_BUSY 0x1a |
#define | ACPI_SMBUS_STATUS_PEC 0x1f |
#define | ACPI_SMBUS_PRTCL_WRITE 0x00 |
#define | ACPI_SMBUS_PRTCL_READ 0x01 |
#define | ACPI_SMBUS_PRTCL_QUICK 0x02 |
#define | ACPI_SMBUS_PRTCL_BYTE 0x04 |
#define | ACPI_SMBUS_PRTCL_BYTE_DATA 0x06 |
#define | ACPI_SMBUS_PRTCL_WORD_DATA 0x08 |
#define | ACPI_SMBUS_PRTCL_BLOCK_DATA 0x0a |
Functions | |
ACPI_MODULE_NAME ("smbus_cmi") | |
MODULE_DEVICE_TABLE (acpi, acpi_smbus_cmi_ids) | |
module_acpi_driver (acpi_smbus_cmi_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Crane Cai <[email protected]>") | |
MODULE_DESCRIPTION ("ACPI SMBus CMI driver") | |
#define ACPI_SMBUS_HC_CLASS "smbus" |
Definition at line 19 of file i2c-scmi.c.
#define ACPI_SMBUS_HC_DEVICE_NAME "cmi" |
Definition at line 20 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_BLOCK_DATA 0x0a |
Definition at line 77 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_BYTE 0x04 |
Definition at line 74 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_BYTE_DATA 0x06 |
Definition at line 75 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_QUICK 0x02 |
Definition at line 73 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_READ 0x01 |
Definition at line 72 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_WORD_DATA 0x08 |
Definition at line 76 of file i2c-scmi.c.
#define ACPI_SMBUS_PRTCL_WRITE 0x00 |
Definition at line 71 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_ACC_DENY 0x17 |
Definition at line 65 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_BUSY 0x1a |
Definition at line 68 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_CMD_DENY 0x12 |
Definition at line 63 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_DERR 0x11 |
Definition at line 62 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_DNAK 0x10 |
Definition at line 61 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_FAIL 0x07 |
Definition at line 60 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_NOTSUP 0x19 |
Definition at line 67 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_OK 0x00 |
Definition at line 59 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_PEC 0x1f |
Definition at line 69 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_TIMEOUT 0x18 |
Definition at line 66 of file i2c-scmi.c.
#define ACPI_SMBUS_STATUS_UNKNOWN 0x13 |
Definition at line 64 of file i2c-scmi.c.
ACPI_MODULE_NAME | ( | "smbus_cmi" | ) |
module_acpi_driver | ( | acpi_smbus_cmi_driver | ) |
MODULE_AUTHOR | ( | "Crane Cai <[email protected]>" | ) |
MODULE_DEVICE_TABLE | ( | acpi | , |
acpi_smbus_cmi_ids | |||
) |
MODULE_LICENSE | ( | "GPL" | ) |