Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
ds1620.c File Reference
#include <linux/module.h>
#include <linux/miscdevice.h>
#include <linux/delay.h>
#include <linux/proc_fs.h>
#include <linux/capability.h>
#include <linux/init.h>
#include <linux/mutex.h>
#include <mach/hardware.h>
#include <asm/mach-types.h>
#include <asm/uaccess.h>
#include <asm/therm.h>

Go to the source code of this file.

Macros

#define THERM_START_CONVERT   0xee
 
#define THERM_RESET   0xaf
 
#define THERM_READ_CONFIG   0xac
 
#define THERM_READ_TEMP   0xaa
 
#define THERM_READ_TL   0xa2
 
#define THERM_READ_TH   0xa1
 
#define THERM_WRITE_CONFIG   0x0c
 
#define THERM_WRITE_TL   0x02
 
#define THERM_WRITE_TH   0x01
 
#define CFG_CPU   2
 
#define CFG_1SHOT   1
 

Functions

 module_init (ds1620_init)
 
 module_exit (ds1620_exit)
 
 MODULE_LICENSE ("GPL")
 

Variables

unsigned int system_rev
 

Macro Definition Documentation

#define CFG_1SHOT   1

Definition at line 35 of file ds1620.c.

#define CFG_CPU   2

Definition at line 34 of file ds1620.c.

#define THERM_READ_CONFIG   0xac

Definition at line 26 of file ds1620.c.

#define THERM_READ_TEMP   0xaa

Definition at line 27 of file ds1620.c.

#define THERM_READ_TH   0xa1

Definition at line 29 of file ds1620.c.

#define THERM_READ_TL   0xa2

Definition at line 28 of file ds1620.c.

#define THERM_RESET   0xaf

Definition at line 25 of file ds1620.c.

#define THERM_START_CONVERT   0xee

Definition at line 24 of file ds1620.c.

#define THERM_WRITE_CONFIG   0x0c

Definition at line 30 of file ds1620.c.

#define THERM_WRITE_TH   0x01

Definition at line 32 of file ds1620.c.

#define THERM_WRITE_TL   0x02

Definition at line 31 of file ds1620.c.

Function Documentation

module_exit ( ds1620_exit  )
module_init ( ds1620_init  )
MODULE_LICENSE ( "GPL"  )

Variable Documentation

unsigned int system_rev

Definition at line 88 of file setup.c.