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

Go to the source code of this file.

Macros

#define MAX8688_MFR_VOUT_PEAK   0xd4
 
#define MAX8688_MFR_IOUT_PEAK   0xd5
 
#define MAX8688_MFR_TEMPERATURE_PEAK   0xd6
 
#define MAX8688_MFG_STATUS   0xd8
 
#define MAX8688_STATUS_OC_FAULT   (1 << 4)
 
#define MAX8688_STATUS_OV_FAULT   (1 << 5)
 
#define MAX8688_STATUS_OV_WARNING   (1 << 8)
 
#define MAX8688_STATUS_UV_FAULT   (1 << 9)
 
#define MAX8688_STATUS_UV_WARNING   (1 << 10)
 
#define MAX8688_STATUS_UC_FAULT   (1 << 11)
 
#define MAX8688_STATUS_OC_WARNING   (1 << 12)
 
#define MAX8688_STATUS_OT_FAULT   (1 << 13)
 
#define MAX8688_STATUS_OT_WARNING   (1 << 14)
 

Functions

 MODULE_DEVICE_TABLE (i2c, max8688_id)
 
 module_i2c_driver (max8688_driver)
 
 MODULE_AUTHOR ("Guenter Roeck")
 
 MODULE_DESCRIPTION ("PMBus driver for Maxim MAX8688")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define MAX8688_MFG_STATUS   0xd8

Definition at line 31 of file max8688.c.

#define MAX8688_MFR_IOUT_PEAK   0xd5

Definition at line 29 of file max8688.c.

#define MAX8688_MFR_TEMPERATURE_PEAK   0xd6

Definition at line 30 of file max8688.c.

#define MAX8688_MFR_VOUT_PEAK   0xd4

Definition at line 28 of file max8688.c.

#define MAX8688_STATUS_OC_FAULT   (1 << 4)

Definition at line 33 of file max8688.c.

#define MAX8688_STATUS_OC_WARNING   (1 << 12)

Definition at line 39 of file max8688.c.

#define MAX8688_STATUS_OT_FAULT   (1 << 13)

Definition at line 40 of file max8688.c.

#define MAX8688_STATUS_OT_WARNING   (1 << 14)

Definition at line 41 of file max8688.c.

#define MAX8688_STATUS_OV_FAULT   (1 << 5)

Definition at line 34 of file max8688.c.

#define MAX8688_STATUS_OV_WARNING   (1 << 8)

Definition at line 35 of file max8688.c.

#define MAX8688_STATUS_UC_FAULT   (1 << 11)

Definition at line 38 of file max8688.c.

#define MAX8688_STATUS_UV_FAULT   (1 << 9)

Definition at line 36 of file max8688.c.

#define MAX8688_STATUS_UV_WARNING   (1 << 10)

Definition at line 37 of file max8688.c.

Function Documentation

MODULE_AUTHOR ( "Guenter Roeck"  )
MODULE_DESCRIPTION ( "PMBus driver for Maxim MAX8688"  )
MODULE_DEVICE_TABLE ( i2c  ,
max8688_id   
)
module_i2c_driver ( max8688_driver  )
MODULE_LICENSE ( "GPL"  )