Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
corgi_pm.c File Reference
#include <linux/module.h>
#include <linux/stat.h>
#include <linux/init.h>
#include <linux/kernel.h>
#include <linux/delay.h>
#include <linux/gpio.h>
#include <linux/gpio-pxa.h>
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/apm-emulation.h>
#include <linux/io.h>
#include <asm/irq.h>
#include <asm/mach-types.h>
#include <mach/hardware.h>
#include <mach/corgi.h>
#include <mach/pxa2xx-regs.h>
#include <mach/sharpsl_pm.h>
#include "generic.h"

Go to the source code of this file.

Macros

#define SHARPSL_CHARGE_ON_VOLT   0x99 /* 2.9V */
 
#define SHARPSL_CHARGE_ON_TEMP   0xe0 /* 2.9V */
 
#define SHARPSL_CHARGE_ON_ACIN_HIGH   0x9b /* 6V */
 
#define SHARPSL_CHARGE_ON_ACIN_LOW   0x34 /* 2V */
 
#define SHARPSL_FATAL_ACIN_VOLT   182 /* 3.45V */
 
#define SHARPSL_FATAL_NOACIN_VOLT   170 /* 3.40V */
 

Functions

unsigned long corgipm_read_devdata (int type)
 
 module_init (corgipm_init)
 
 module_exit (corgipm_exit)
 

Macro Definition Documentation

#define SHARPSL_CHARGE_ON_ACIN_HIGH   0x9b /* 6V */

Definition at line 36 of file corgi_pm.c.

#define SHARPSL_CHARGE_ON_ACIN_LOW   0x34 /* 2V */

Definition at line 37 of file corgi_pm.c.

#define SHARPSL_CHARGE_ON_TEMP   0xe0 /* 2.9V */

Definition at line 35 of file corgi_pm.c.

#define SHARPSL_CHARGE_ON_VOLT   0x99 /* 2.9V */

Definition at line 34 of file corgi_pm.c.

#define SHARPSL_FATAL_ACIN_VOLT   182 /* 3.45V */

Definition at line 38 of file corgi_pm.c.

#define SHARPSL_FATAL_NOACIN_VOLT   170 /* 3.40V */

Definition at line 39 of file corgi_pm.c.

Function Documentation

unsigned long corgipm_read_devdata ( int  type)

Definition at line 146 of file corgi_pm.c.

module_exit ( corgipm_exit  )
module_init ( corgipm_init  )