Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions | Variables
spitz_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 <asm/irq.h>
#include <asm/mach-types.h>
#include <mach/hardware.h>
#include <mach/spitz.h>
#include <mach/pxa27x.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 spitzpm_read_devdata (int type)
 
 module_init (spitzpm_init)
 
 module_exit (spitzpm_exit)
 

Variables

struct sharpsl_charger_machinfo spitz_pm_machinfo
 

Macro Definition Documentation

#define SHARPSL_CHARGE_ON_ACIN_HIGH   0x9b /* 6V */

Definition at line 35 of file spitz_pm.c.

#define SHARPSL_CHARGE_ON_ACIN_LOW   0x34 /* 2V */

Definition at line 36 of file spitz_pm.c.

#define SHARPSL_CHARGE_ON_TEMP   0xe0 /* 2.9V */

Definition at line 34 of file spitz_pm.c.

#define SHARPSL_CHARGE_ON_VOLT   0x99 /* 2.9V */

Definition at line 33 of file spitz_pm.c.

#define SHARPSL_FATAL_ACIN_VOLT   182 /* 3.45V */

Definition at line 37 of file spitz_pm.c.

#define SHARPSL_FATAL_NOACIN_VOLT   170 /* 3.40V */

Definition at line 38 of file spitz_pm.c.

Function Documentation

module_exit ( spitzpm_exit  )
module_init ( spitzpm_init  )
unsigned long spitzpm_read_devdata ( int  type)

Definition at line 177 of file spitz_pm.c.

Variable Documentation

struct sharpsl_charger_machinfo spitz_pm_machinfo

Definition at line 198 of file spitz_pm.c.