Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
atxp1.c File Reference
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/module.h>
#include <linux/jiffies.h>
#include <linux/i2c.h>
#include <linux/hwmon.h>
#include <linux/hwmon-vid.h>
#include <linux/err.h>
#include <linux/mutex.h>
#include <linux/sysfs.h>
#include <linux/slab.h>

Go to the source code of this file.

Data Structures

struct  atxp1_data
 

Macros

#define ATXP1_VID   0x00
 
#define ATXP1_CVID   0x01
 
#define ATXP1_GPIO1   0x06
 
#define ATXP1_GPIO2   0x0a
 
#define ATXP1_VIDENA   0x20
 
#define ATXP1_VIDMASK   0x1f
 
#define ATXP1_GPIO1MASK   0x0f
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_DESCRIPTION ("System voltages control via Attansic ATXP1")
 
 MODULE_VERSION ("0.6.3")
 
 MODULE_AUTHOR ("Sebastian Witt <[email protected]>")
 
 MODULE_DEVICE_TABLE (i2c, atxp1_id)
 
 module_i2c_driver (atxp1_driver)
 

Macro Definition Documentation

#define ATXP1_CVID   0x01

Definition at line 39 of file atxp1.c.

#define ATXP1_GPIO1   0x06

Definition at line 40 of file atxp1.c.

#define ATXP1_GPIO1MASK   0x0f

Definition at line 44 of file atxp1.c.

#define ATXP1_GPIO2   0x0a

Definition at line 41 of file atxp1.c.

#define ATXP1_VID   0x00

Definition at line 38 of file atxp1.c.

#define ATXP1_VIDENA   0x20

Definition at line 42 of file atxp1.c.

#define ATXP1_VIDMASK   0x1f

Definition at line 43 of file atxp1.c.

Function Documentation

MODULE_AUTHOR ( "Sebastian Witt <[email protected]>"  )
MODULE_DESCRIPTION ( "System voltages control via Attansic ATXP1"  )
MODULE_DEVICE_TABLE ( i2c  ,
atxp1_id   
)
module_i2c_driver ( atxp1_driver  )
MODULE_LICENSE ( "GPL"  )
MODULE_VERSION ( "0.6.3"  )