Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions | Variables
w1_family.h File Reference
#include <linux/types.h>
#include <linux/device.h>
#include <linux/atomic.h>

Go to the source code of this file.

Data Structures

struct  w1_family_ops
 
struct  w1_family
 

Macros

#define W1_FAMILY_DEFAULT   0
 
#define W1_FAMILY_SMEM_01   0x01
 
#define W1_FAMILY_SMEM_81   0x81
 
#define W1_THERM_DS18S20   0x10
 
#define W1_FAMILY_DS28E04   0x1C
 
#define W1_COUNTER_DS2423   0x1D
 
#define W1_THERM_DS1822   0x22
 
#define W1_EEPROM_DS2433   0x23
 
#define W1_THERM_DS18B20   0x28
 
#define W1_FAMILY_DS2408   0x29
 
#define W1_EEPROM_DS2431   0x2D
 
#define W1_FAMILY_DS2760   0x30
 
#define W1_FAMILY_DS2780   0x32
 
#define W1_THERM_DS1825   0x3B
 
#define W1_FAMILY_DS2781   0x3D
 
#define W1_THERM_DS28EA00   0x42
 
#define MAXNAMELEN   32
 

Functions

void w1_family_put (struct w1_family *)
 
void __w1_family_get (struct w1_family *)
 
struct w1_familyw1_family_registered (u8)
 
void w1_unregister_family (struct w1_family *)
 
int w1_register_family (struct w1_family *)
 

Variables

spinlock_t w1_flock
 

Macro Definition Documentation

#define MAXNAMELEN   32

Definition at line 46 of file w1_family.h.

#define W1_COUNTER_DS2423   0x1D

Definition at line 34 of file w1_family.h.

#define W1_EEPROM_DS2431   0x2D

Definition at line 39 of file w1_family.h.

#define W1_EEPROM_DS2433   0x23

Definition at line 36 of file w1_family.h.

#define W1_FAMILY_DEFAULT   0

Definition at line 29 of file w1_family.h.

#define W1_FAMILY_DS2408   0x29

Definition at line 38 of file w1_family.h.

#define W1_FAMILY_DS2760   0x30

Definition at line 40 of file w1_family.h.

#define W1_FAMILY_DS2780   0x32

Definition at line 41 of file w1_family.h.

#define W1_FAMILY_DS2781   0x3D

Definition at line 43 of file w1_family.h.

#define W1_FAMILY_DS28E04   0x1C

Definition at line 33 of file w1_family.h.

#define W1_FAMILY_SMEM_01   0x01

Definition at line 30 of file w1_family.h.

#define W1_FAMILY_SMEM_81   0x81

Definition at line 31 of file w1_family.h.

#define W1_THERM_DS1822   0x22

Definition at line 35 of file w1_family.h.

#define W1_THERM_DS1825   0x3B

Definition at line 42 of file w1_family.h.

#define W1_THERM_DS18B20   0x28

Definition at line 37 of file w1_family.h.

#define W1_THERM_DS18S20   0x10

Definition at line 32 of file w1_family.h.

#define W1_THERM_DS28EA00   0x42

Definition at line 44 of file w1_family.h.

Function Documentation

void __w1_family_get ( struct w1_family )

Definition at line 132 of file w1_family.c.

void w1_family_put ( struct w1_family )

Definition at line 116 of file w1_family.c.

struct w1_family* w1_family_registered ( u8  )
read

Definition at line 93 of file w1_family.c.

int w1_register_family ( struct w1_family )

Definition at line 34 of file w1_family.c.

void w1_unregister_family ( struct w1_family )

Definition at line 62 of file w1_family.c.

Variable Documentation

spinlock_t w1_flock