Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
w1_ds2408.c File Reference
#include <linux/kernel.h>
#include <linux/module.h>
#include <linux/moduleparam.h>
#include <linux/device.h>
#include <linux/types.h>
#include <linux/delay.h>
#include <linux/slab.h>
#include "../w1.h"
#include "../w1_int.h"
#include "../w1_family.h"

Go to the source code of this file.

Macros

#define W1_F29_RETRIES   3
 
#define W1_F29_REG_LOGIG_STATE   0x88 /* R */
 
#define W1_F29_REG_OUTPUT_LATCH_STATE   0x89 /* R */
 
#define W1_F29_REG_ACTIVITY_LATCH_STATE   0x8A /* R */
 
#define W1_F29_REG_COND_SEARCH_SELECT_MASK   0x8B /* RW */
 
#define W1_F29_REG_COND_SEARCH_POL_SELECT   0x8C /* RW */
 
#define W1_F29_REG_CONTROL_AND_STATUS   0x8D /* RW */
 
#define W1_F29_FUNC_READ_PIO_REGS   0xF0
 
#define W1_F29_FUNC_CHANN_ACCESS_READ   0xF5
 
#define W1_F29_FUNC_CHANN_ACCESS_WRITE   0x5A
 
#define W1_F29_FUNC_WRITE_COND_SEARCH_REG   0xCC
 
#define W1_F29_FUNC_RESET_ACTIVITY_LATCHES   0xC3
 
#define W1_F29_SUCCESS_CONFIRM_BYTE   0xAA
 
#define NB_SYSFS_BIN_FILES   6
 

Functions

 MODULE_LICENSE ("GPL")
 
 MODULE_AUTHOR ("Jean-Francois Dagenais <[email protected]>")
 
 MODULE_DESCRIPTION ("w1 family 29 driver for DS2408 8 Pin IO")
 
 module_init (w1_f29_init)
 
 module_exit (w1_f29_exit)
 

Macro Definition Documentation

#define NB_SYSFS_BIN_FILES   6

Definition at line 300 of file w1_ds2408.c.

#define W1_F29_FUNC_CHANN_ACCESS_READ   0xF5

Definition at line 37 of file w1_ds2408.c.

#define W1_F29_FUNC_CHANN_ACCESS_WRITE   0x5A

Definition at line 38 of file w1_ds2408.c.

#define W1_F29_FUNC_READ_PIO_REGS   0xF0

Definition at line 36 of file w1_ds2408.c.

#define W1_F29_FUNC_RESET_ACTIVITY_LATCHES   0xC3

Definition at line 41 of file w1_ds2408.c.

#define W1_F29_FUNC_WRITE_COND_SEARCH_REG   0xCC

Definition at line 40 of file w1_ds2408.c.

#define W1_F29_REG_ACTIVITY_LATCH_STATE   0x8A /* R */

Definition at line 31 of file w1_ds2408.c.

#define W1_F29_REG_COND_SEARCH_POL_SELECT   0x8C /* RW */

Definition at line 33 of file w1_ds2408.c.

#define W1_F29_REG_COND_SEARCH_SELECT_MASK   0x8B /* RW */

Definition at line 32 of file w1_ds2408.c.

#define W1_F29_REG_CONTROL_AND_STATUS   0x8D /* RW */

Definition at line 34 of file w1_ds2408.c.

#define W1_F29_REG_LOGIG_STATE   0x88 /* R */

Definition at line 29 of file w1_ds2408.c.

#define W1_F29_REG_OUTPUT_LATCH_STATE   0x89 /* R */

Definition at line 30 of file w1_ds2408.c.

#define W1_F29_RETRIES   3

Definition at line 27 of file w1_ds2408.c.

#define W1_F29_SUCCESS_CONFIRM_BYTE   0xAA

Definition at line 43 of file w1_ds2408.c.

Function Documentation

MODULE_AUTHOR ( "Jean-Francois Dagenais <[email protected]>"  )
MODULE_DESCRIPTION ( "w1 family 29 driver for DS2408 8 Pin IO )
module_exit ( w1_f29_exit  )
module_init ( w1_f29_init  )
MODULE_LICENSE ( "GPL"  )