|
Linux Kernel
3.7.1
|
#include <linux/module.h>#include <linux/pci.h>#include <linux/kernel.h>#include <linux/delay.h>#include <linux/stddef.h>#include <linux/ioport.h>#include <linux/i2c.h>#include <linux/init.h>#include <linux/acpi.h>#include <linux/io.h>Go to the source code of this file.
Macros | |
| #define | SIS96x_BAR 0x04 |
| #define | SMB_STS 0x00 |
| #define | SMB_EN 0x01 |
| #define | SMB_CNT 0x02 |
| #define | SMB_HOST_CNT 0x03 |
| #define | SMB_ADDR 0x04 |
| #define | SMB_CMD 0x05 |
| #define | SMB_PCOUNT 0x06 |
| #define | SMB_COUNT 0x07 |
| #define | SMB_BYTE 0x08 |
| #define | SMB_DEV_ADDR 0x10 |
| #define | SMB_DB0 0x11 |
| #define | SMB_DB1 0x12 |
| #define | SMB_SAA 0x13 |
| #define | SMB_IOSIZE 0x20 |
| #define | MAX_TIMEOUT 500 |
| #define | SIS96x_QUICK 0x00 |
| #define | SIS96x_BYTE 0x01 |
| #define | SIS96x_BYTE_DATA 0x02 |
| #define | SIS96x_WORD_DATA 0x03 |
| #define | SIS96x_PROC_CALL 0x04 |
| #define | SIS96x_BLOCK_DATA 0x05 |
Functions | |
| MODULE_DEVICE_TABLE (pci, sis96x_ids) | |
| module_pci_driver (sis96x_driver) | |
| MODULE_AUTHOR ("Mark M. Hoffman <[email protected]>") | |
| MODULE_DESCRIPTION ("SiS96x SMBus driver") | |
| MODULE_LICENSE ("GPL") | |
| #define MAX_TIMEOUT 500 |
Definition at line 65 of file i2c-sis96x.c.
| #define SIS96x_BAR 0x04 |
Definition at line 44 of file i2c-sis96x.c.
| #define SIS96x_BLOCK_DATA 0x05 |
Definition at line 73 of file i2c-sis96x.c.
| #define SIS96x_BYTE 0x01 |
Definition at line 69 of file i2c-sis96x.c.
| #define SIS96x_BYTE_DATA 0x02 |
Definition at line 70 of file i2c-sis96x.c.
| #define SIS96x_PROC_CALL 0x04 |
Definition at line 72 of file i2c-sis96x.c.
| #define SIS96x_QUICK 0x00 |
Definition at line 68 of file i2c-sis96x.c.
| #define SIS96x_WORD_DATA 0x03 |
Definition at line 71 of file i2c-sis96x.c.
| #define SMB_ADDR 0x04 |
Definition at line 51 of file i2c-sis96x.c.
| #define SMB_BYTE 0x08 |
Definition at line 55 of file i2c-sis96x.c.
| #define SMB_CMD 0x05 |
Definition at line 52 of file i2c-sis96x.c.
| #define SMB_CNT 0x02 |
Definition at line 49 of file i2c-sis96x.c.
| #define SMB_COUNT 0x07 |
Definition at line 54 of file i2c-sis96x.c.
| #define SMB_DB0 0x11 |
Definition at line 57 of file i2c-sis96x.c.
| #define SMB_DB1 0x12 |
Definition at line 58 of file i2c-sis96x.c.
| #define SMB_DEV_ADDR 0x10 |
Definition at line 56 of file i2c-sis96x.c.
| #define SMB_EN 0x01 |
Definition at line 48 of file i2c-sis96x.c.
| #define SMB_HOST_CNT 0x03 |
Definition at line 50 of file i2c-sis96x.c.
| #define SMB_IOSIZE 0x20 |
Definition at line 62 of file i2c-sis96x.c.
| #define SMB_PCOUNT 0x06 |
Definition at line 53 of file i2c-sis96x.c.
| #define SMB_SAA 0x13 |
Definition at line 59 of file i2c-sis96x.c.
| #define SMB_STS 0x00 |
Definition at line 47 of file i2c-sis96x.c.
| MODULE_AUTHOR | ( | "Mark M. Hoffman <[email protected]>" | ) |
| MODULE_DEVICE_TABLE | ( | pci | , |
| sis96x_ids | |||
| ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_pci_driver | ( | sis96x_driver | ) |
1.8.2