|
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_ds2780.h"Go to the source code of this file.
Data Structures | |
| struct | ds2780_device_info |
Macros | |
| #define | DS2780_CURRENT_UNITS 1563 |
| #define | DS2780_CHARGE_UNITS 6250 |
| #define | DS2780_USER_EEPROM_SIZE |
| #define | DS2780_PARAM_EEPROM_SIZE |
Enumerations | |
| enum | current_types { CURRENT_NOW, CURRENT_AVG, CURRENT_NOW, CURRENT_AVG } |
Functions | |
| module_platform_driver (ds2780_battery_driver) | |
| MODULE_LICENSE ("GPL") | |
| MODULE_AUTHOR ("Clifton Barnes <[email protected]>") | |
| MODULE_DESCRIPTION ("Maxim/Dallas DS2780 Stand-Alone Fuel Gauage IC driver") | |
| MODULE_ALIAS ("platform:ds2780-battery") | |
| #define DS2780_CHARGE_UNITS 6250 |
Definition at line 30 of file ds2780_battery.c.
| #define DS2780_CURRENT_UNITS 1563 |
Definition at line 28 of file ds2780_battery.c.
| #define DS2780_PARAM_EEPROM_SIZE |
Definition at line 35 of file ds2780_battery.c.
| #define DS2780_USER_EEPROM_SIZE |
Definition at line 32 of file ds2780_battery.c.
| enum current_types |
Definition at line 44 of file ds2780_battery.c.
| MODULE_ALIAS | ( | "platform:ds2780-battery" | ) |
| MODULE_AUTHOR | ( | "Clifton Barnes <[email protected]>" | ) |
| MODULE_DESCRIPTION | ( | "Maxim/Dallas DS2780 Stand-Alone Fuel Gauage IC driver" | ) |
| MODULE_LICENSE | ( | "GPL" | ) |
| module_platform_driver | ( | ds2780_battery_driver | ) |
1.8.2