|
Linux Kernel
3.7.1
|
#include <generic-adc-battery.h>
Data Fields | |
| struct power_supply_info | battery_info |
| int(* | cal_charge )(long value) |
| int | gpio_charge_finished |
| bool | gpio_inverted |
| int | jitter_delay |
struct gab_platform_data - platform_data for generic adc iio battery driver. : recommended structure to specify static power supply parameters : calculate charge level. : gpio for the charger. : Should be 1 if the GPIO is active low otherwise 0 : delay required after the interrupt to check battery status.Default set is 10ms.
Definition at line 21 of file generic-adc-battery.h.
| struct power_supply_info battery_info |
Definition at line 22 of file generic-adc-battery.h.
Definition at line 23 of file generic-adc-battery.h.
| int gpio_charge_finished |
Definition at line 24 of file generic-adc-battery.h.
| bool gpio_inverted |
Definition at line 25 of file generic-adc-battery.h.
| int jitter_delay |
Definition at line 26 of file generic-adc-battery.h.
1.8.2