Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/delay.h>
#include <linux/pci.h>
#include <linux/kernel.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 | SMBBA1 0x90 |
#define | SMBBA2 0x80 |
#define | SMBBA3 0xD0 |
#define | SMBHSTSTS (vt596_smba + 0) |
#define | SMBHSTCNT (vt596_smba + 2) |
#define | SMBHSTCMD (vt596_smba + 3) |
#define | SMBHSTADD (vt596_smba + 4) |
#define | SMBHSTDAT0 (vt596_smba + 5) |
#define | SMBHSTDAT1 (vt596_smba + 6) |
#define | SMBBLKDAT (vt596_smba + 7) |
#define | MAX_TIMEOUT 500 |
#define | VT596_QUICK 0x00 |
#define | VT596_BYTE 0x04 |
#define | VT596_BYTE_DATA 0x08 |
#define | VT596_WORD_DATA 0x0C |
#define | VT596_PROC_CALL 0x10 |
#define | VT596_BLOCK_DATA 0x14 |
#define | VT596_I2C_BLOCK_DATA 0x34 |
#define | FEATURE_I2CBLOCK (1<<0) |
Functions | |
module_param (force, bool, 0) | |
MODULE_PARM_DESC (force,"Forcibly enable the SMBus. DANGEROUS!") | |
module_param (force_addr, ushort, 0) | |
MODULE_PARM_DESC (force_addr,"Forcibly enable the SMBus at the given address. ""EXTREMELY DANGEROUS!") | |
MODULE_DEVICE_TABLE (pci, vt596_ids) | |
MODULE_AUTHOR ("Kyosti Malkki <[email protected]>, ""Mark D. Studebaker <[email protected]> and ""Jean Delvare <[email protected]>") | |
MODULE_DESCRIPTION ("vt82c596 SMBus driver") | |
MODULE_LICENSE ("GPL") | |
module_init (i2c_vt596_init) | |
module_exit (i2c_vt596_exit) | |
#define FEATURE_I2CBLOCK (1<<0) |
Definition at line 110 of file i2c-viapro.c.
#define MAX_TIMEOUT 500 |
Definition at line 80 of file i2c-viapro.c.
#define SMBBA1 0x90 |
Definition at line 58 of file i2c-viapro.c.
#define SMBBA2 0x80 |
Definition at line 59 of file i2c-viapro.c.
#define SMBBA3 0xD0 |
Definition at line 60 of file i2c-viapro.c.
#define SMBBLKDAT (vt596_smba + 7) |
Definition at line 70 of file i2c-viapro.c.
#define SMBHSTADD (vt596_smba + 4) |
Definition at line 67 of file i2c-viapro.c.
#define SMBHSTCMD (vt596_smba + 3) |
Definition at line 66 of file i2c-viapro.c.
#define SMBHSTCNT (vt596_smba + 2) |
Definition at line 65 of file i2c-viapro.c.
#define SMBHSTDAT0 (vt596_smba + 5) |
Definition at line 68 of file i2c-viapro.c.
#define SMBHSTDAT1 (vt596_smba + 6) |
Definition at line 69 of file i2c-viapro.c.
#define SMBHSTSTS (vt596_smba + 0) |
Definition at line 64 of file i2c-viapro.c.
#define VT596_BLOCK_DATA 0x14 |
Definition at line 88 of file i2c-viapro.c.
#define VT596_BYTE 0x04 |
Definition at line 84 of file i2c-viapro.c.
#define VT596_BYTE_DATA 0x08 |
Definition at line 85 of file i2c-viapro.c.
#define VT596_I2C_BLOCK_DATA 0x34 |
Definition at line 89 of file i2c-viapro.c.
#define VT596_PROC_CALL 0x10 |
Definition at line 87 of file i2c-viapro.c.
#define VT596_QUICK 0x00 |
Definition at line 83 of file i2c-viapro.c.
#define VT596_WORD_DATA 0x0C |
Definition at line 86 of file i2c-viapro.c.
MODULE_AUTHOR | ( | "Kyosti Malkki <[email protected]> | , |
""Mark D.Studebaker< mdsxyz123 @yahoo.com > and""Jean Delvare< khali @linux-fr.org >" | |||
) |
MODULE_DEVICE_TABLE | ( | pci | , |
vt596_ids | |||
) |
module_exit | ( | i2c_vt596_exit | ) |
module_init | ( | i2c_vt596_init | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_param | ( | force_addr | , |
ushort | , | ||
0 | |||
) |