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

Go to the source code of this file.

Data Structures

struct  ltc4151_data
 

Macros

#define LTC4151_SENSE_H   0x00
 
#define LTC4151_SENSE_L   0x01
 
#define LTC4151_VIN_H   0x02
 
#define LTC4151_VIN_L   0x03
 
#define LTC4151_ADIN_H   0x04
 
#define LTC4151_ADIN_L   0x05
 

Functions

 MODULE_DEVICE_TABLE (i2c, ltc4151_id)
 
 module_i2c_driver (ltc4151_driver)
 
 MODULE_AUTHOR ("Per Dalen <[email protected]>")
 
 MODULE_DESCRIPTION ("LTC4151 driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define LTC4151_ADIN_H   0x04

Definition at line 46 of file ltc4151.c.

#define LTC4151_ADIN_L   0x05

Definition at line 47 of file ltc4151.c.

#define LTC4151_SENSE_H   0x00

Definition at line 42 of file ltc4151.c.

#define LTC4151_SENSE_L   0x01

Definition at line 43 of file ltc4151.c.

#define LTC4151_VIN_H   0x02

Definition at line 44 of file ltc4151.c.

#define LTC4151_VIN_L   0x03

Definition at line 45 of file ltc4151.c.

Function Documentation

MODULE_AUTHOR ( "Per Dalen <[email protected]>"  )
MODULE_DESCRIPTION ( "LTC4151 driver )
MODULE_DEVICE_TABLE ( i2c  ,
ltc4151_id   
)
module_i2c_driver ( ltc4151_driver  )
MODULE_LICENSE ( "GPL"  )