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

Go to the source code of this file.

Data Structures

struct  max6875_data
 

Macros

#define SLICE_SIZE   16
 
#define SLICE_BITS   4
 
#define USER_EEPROM_BASE   0x8100
 
#define USER_EEPROM_SIZE   0x0200
 
#define USER_EEPROM_SLICES   32
 
#define MAX6875_CMD_BLK_READ   0x84
 

Functions

 module_i2c_driver (max6875_driver)
 
 MODULE_AUTHOR ("Ben Gardner <[email protected]>")
 
 MODULE_DESCRIPTION ("MAX6875 driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX6875_CMD_BLK_READ   0x84

Definition at line 46 of file max6875.c.

#define SLICE_BITS   4

Definition at line 38 of file max6875.c.

#define SLICE_SIZE   16

Definition at line 37 of file max6875.c.

#define USER_EEPROM_BASE   0x8100

Definition at line 41 of file max6875.c.

#define USER_EEPROM_SIZE   0x0200

Definition at line 42 of file max6875.c.

#define USER_EEPROM_SLICES   32

Definition at line 43 of file max6875.c.

Function Documentation

MODULE_AUTHOR ( "Ben Gardner <[email protected]>"  )
MODULE_DESCRIPTION ( "MAX6875 driver )
module_i2c_driver ( max6875_driver  )
MODULE_LICENSE ( "GPL"  )