Linux Kernel
3.7.1
|
#include <linux/module.h>
#include <linux/slab.h>
#include <linux/param.h>
#include <linux/pm.h>
#include <linux/platform_device.h>
#include <linux/power_supply.h>
#include <linux/idr.h>
#include "../w1/w1.h"
#include "../w1/slaves/w1_ds2781.h"
Go to the source code of this file.
Data Structures | |
struct | ds2781_device_info |
Macros | |
#define | DS2781_CURRENT_UNITS 1563 |
#define | DS2781_CHARGE_UNITS 6250 |
#define | DS2781_USER_EEPROM_SIZE |
#define | DS2781_PARAM_EEPROM_SIZE |
Enumerations | |
enum | current_types { CURRENT_NOW, CURRENT_AVG, CURRENT_NOW, CURRENT_AVG } |
Functions | |
module_platform_driver (ds2781_battery_driver) | |
MODULE_LICENSE ("GPL") | |
MODULE_AUTHOR ("Renata Sayakhova <[email protected]>") | |
MODULE_DESCRIPTION ("Maxim/Dallas DS2781 Stand-Alone Fuel Gauage IC driver") | |
MODULE_ALIAS ("platform:ds2781-battery") | |
#define DS2781_CHARGE_UNITS 6250 |
Definition at line 28 of file ds2781_battery.c.
#define DS2781_CURRENT_UNITS 1563 |
Definition at line 26 of file ds2781_battery.c.
#define DS2781_PARAM_EEPROM_SIZE |
Definition at line 33 of file ds2781_battery.c.
#define DS2781_USER_EEPROM_SIZE |
Definition at line 30 of file ds2781_battery.c.
enum current_types |
Definition at line 42 of file ds2781_battery.c.
MODULE_ALIAS | ( | "platform:ds2781-battery" | ) |
MODULE_AUTHOR | ( | "Renata Sayakhova <[email protected]>" | ) |
MODULE_DESCRIPTION | ( | "Maxim/Dallas DS2781 Stand-Alone Fuel Gauage IC driver" | ) |
MODULE_LICENSE | ( | "GPL" | ) |
module_platform_driver | ( | ds2781_battery_driver | ) |