Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
hp6xx_apm.c File Reference
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/interrupt.h>
#include <linux/apm-emulation.h>
#include <linux/io.h>
#include <asm/adc.h>
#include <mach/hp6xx.h>

Go to the source code of this file.

Macros

#define APM_CRITICAL   10
 
#define APM_LOW   30
 
#define HP680_BATTERY_MAX   898
 
#define HP680_BATTERY_MIN   486
 
#define HP680_BATTERY_AC_ON   1023
 
#define MODNAME   "hp6x0_apm"
 
#define PGDR   0xa400012c
 

Functions

 module_init (hp6x0_apm_init)
 
 module_exit (hp6x0_apm_exit)
 
 MODULE_AUTHOR ("Adriy Skulysh")
 
 MODULE_DESCRIPTION ("hp6xx Advanced Power Management")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define APM_CRITICAL   10

Definition at line 20 of file hp6xx_apm.c.

#define APM_LOW   30

Definition at line 21 of file hp6xx_apm.c.

#define HP680_BATTERY_AC_ON   1023

Definition at line 26 of file hp6xx_apm.c.

#define HP680_BATTERY_MAX   898

Definition at line 24 of file hp6xx_apm.c.

#define HP680_BATTERY_MIN   486

Definition at line 25 of file hp6xx_apm.c.

#define MODNAME   "hp6x0_apm"

Definition at line 28 of file hp6xx_apm.c.

#define PGDR   0xa400012c

Definition at line 30 of file hp6xx_apm.c.

Function Documentation

MODULE_AUTHOR ( "Adriy Skulysh"  )
MODULE_DESCRIPTION ( "hp6xx Advanced Power Management"  )
module_exit ( hp6x0_apm_exit  )
module_init ( hp6x0_apm_init  )
MODULE_LICENSE ( "GPL"  )