Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
s3c_adc_battery.c File Reference
#include <linux/interrupt.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>
#include <linux/leds.h>
#include <linux/gpio.h>
#include <linux/err.h>
#include <linux/timer.h>
#include <linux/jiffies.h>
#include <linux/s3c_adc_battery.h>
#include <linux/errno.h>
#include <linux/init.h>
#include <linux/module.h>
#include <plat/adc.h>

Go to the source code of this file.

Data Structures

struct  s3c_adc_bat
 

Macros

#define BAT_POLL_INTERVAL   10000 /* ms */
 
#define JITTER_DELAY   500 /* ms */
 
#define s3c_adc_bat_suspend   NULL
 
#define s3c_adc_bat_resume   NULL
 

Functions

 module_platform_driver (s3c_adc_bat_driver)
 
 MODULE_AUTHOR ("Vasily Khoruzhick <[email protected]>")
 
 MODULE_DESCRIPTION ("iPAQ H1930/H1940/RX1950 battery controller driver")
 
 MODULE_LICENSE ("GPL")
 

Macro Definition Documentation

#define BAT_POLL_INTERVAL   10000 /* ms */

Definition at line 27 of file s3c_adc_battery.c.

#define JITTER_DELAY   500 /* ms */

Definition at line 28 of file s3c_adc_battery.c.

#define s3c_adc_bat_resume   NULL

Definition at line 430 of file s3c_adc_battery.c.

#define s3c_adc_bat_suspend   NULL

Definition at line 429 of file s3c_adc_battery.c.

Function Documentation

MODULE_AUTHOR ( "Vasily Khoruzhick <[email protected]>"  )
MODULE_DESCRIPTION ( "iPAQ H1930/H1940/RX1950 battery controller driver )
MODULE_LICENSE ( "GPL"  )
module_platform_driver ( s3c_adc_bat_driver  )