Home
last modified time | relevance | path

Searched defs:bat (Results 1 – 20 of 20) sorted by relevance

/drivers/power/supply/
Dsurface_battery.c155 static bool spwr_battery_present(struct spwr_battery_device *bat) in spwr_battery_present()
162 static int spwr_battery_load_sta(struct spwr_battery_device *bat) in spwr_battery_load_sta()
169 static int spwr_battery_load_bix(struct spwr_battery_device *bat) in spwr_battery_load_bix()
189 static int spwr_battery_load_bst(struct spwr_battery_device *bat) in spwr_battery_load_bst()
199 static int spwr_battery_set_alarm_unlocked(struct spwr_battery_device *bat, u32 value) in spwr_battery_set_alarm_unlocked()
209 static int spwr_battery_update_bst_unlocked(struct spwr_battery_device *bat, bool cached) in spwr_battery_update_bst_unlocked()
231 static int spwr_battery_update_bst(struct spwr_battery_device *bat, bool cached) in spwr_battery_update_bst()
242 static int spwr_battery_update_bix_unlocked(struct spwr_battery_device *bat) in spwr_battery_update_bix_unlocked()
267 static u32 sprw_battery_get_full_cap_safe(struct spwr_battery_device *bat) in sprw_battery_get_full_cap_safe()
279 static bool spwr_battery_is_full(struct spwr_battery_device *bat) in spwr_battery_is_full()
[all …]
Dda9052-battery.c185 static int da9052_read_chgend_current(struct da9052_battery *bat, in da9052_read_chgend_current()
202 static int da9052_read_chg_current(struct da9052_battery *bat, int *current_mA) in da9052_read_chg_current()
218 static int da9052_bat_check_status(struct da9052_battery *bat, int *status) in da9052_bat_check_status()
285 static int da9052_bat_read_volt(struct da9052_battery *bat, int *volt_mV) in da9052_bat_read_volt()
298 static int da9052_bat_check_presence(struct da9052_battery *bat, int *illegal) in da9052_bat_check_presence()
353 static int da9052_bat_read_capacity(struct da9052_battery *bat, int *capacity) in da9052_bat_read_capacity()
406 static int da9052_bat_check_health(struct da9052_battery *bat, int *health) in da9052_bat_check_health()
438 struct da9052_battery *bat = data; in da9052_bat_irq() local
464 struct da9052_battery *bat = container_of(nb, struct da9052_battery, in da9052_USB_current_notifier() local
498 struct da9052_battery *bat = power_supply_get_drvdata(psy); in da9052_bat_get_property() local
[all …]
Dacer_a500_battery.c63 static bool a500_battery_update_capacity(struct a500_battery *bat) in a500_battery_update_capacity()
83 static int a500_battery_get_status(struct a500_battery *bat) in a500_battery_get_status()
149 struct a500_battery *bat = power_supply_get_drvdata(psy); in a500_battery_get_property() local
201 struct a500_battery *bat; in a500_battery_poll_work() local
226 struct a500_battery *bat; in a500_battery_probe() local
256 struct a500_battery *bat = dev_get_drvdata(&pdev->dev); in a500_battery_remove() local
265 struct a500_battery *bat = dev_get_drvdata(dev); in a500_battery_suspend() local
274 struct a500_battery *bat = dev_get_drvdata(dev); in a500_battery_resume() local
Dtosa_battery.c50 static unsigned long tosa_read_bat(struct tosa_bat *bat) in tosa_read_bat()
70 static unsigned long tosa_read_temp(struct tosa_bat *bat) in tosa_read_temp()
95 struct tosa_bat *bat = power_supply_get_drvdata(psy); in tosa_bat_get_property() local
137 static bool tosa_jacket_bat_is_present(struct tosa_bat *bat) in tosa_jacket_bat_is_present()
154 static void tosa_bat_update(struct tosa_bat *bat) in tosa_bat_update()
Dingenic-battery.c28 struct ingenic_battery *bat = power_supply_get_drvdata(psy); in ingenic_battery_get_property() local
61 static int ingenic_battery_set_scale(struct ingenic_battery *bat) in ingenic_battery_set_scale()
126 struct ingenic_battery *bat; in ingenic_battery_probe() local
Ds3c_adc_battery.c72 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_backup_bat_get_property() local
129 static int charge_finished(struct s3c_adc_bat *bat) in charge_finished()
138 struct s3c_adc_bat *bat = power_supply_get_drvdata(psy); in s3c_adc_bat_get_property() local
243 struct s3c_adc_bat *bat = &main_bat; in s3c_adc_bat_work() local
Dcollie_battery.c54 static unsigned long collie_read_bat(struct collie_bat *bat) in collie_read_bat()
73 static unsigned long collie_read_temp(struct collie_bat *bat) in collie_read_temp()
98 struct collie_bat *bat = power_supply_get_drvdata(psy); in collie_bat_get_property() local
152 static void collie_bat_update(struct collie_bat *bat) in collie_bat_update()
Dtwl4030_madc_battery.c75 static int twl4030_madc_bat_voltscale(struct twl4030_madc_battery *bat, in twl4030_madc_bat_voltscale()
111 struct twl4030_madc_battery *bat = power_supply_get_drvdata(psy); in twl4030_madc_bat_get_property() local
255 struct twl4030_madc_battery *bat = platform_get_drvdata(pdev); in twl4030_madc_battery_remove() local
Dpmu_battery.c17 struct power_supply *bat; member
Drx51_battery.c18 struct power_supply *bat; member
Dapm_power.c37 struct power_supply *bat; member
Dmax1721x_battery.c60 struct power_supply *bat; member
Dds2760_battery.c111 struct power_supply *bat; member
Daxp288_fuel_gauge.c113 struct power_supply *bat; member
Dds2781_battery.c34 struct power_supply *bat; member
Dds2780_battery.c36 struct power_supply *bat; member
Dcpcap-battery.c101 struct power_supply_battery_info bat; member
Dpm2301_charger.h477 struct pm2xxx_bm_data *bat; member
/drivers/acpi/
Dsbs.c55 struct power_supply *bat; member
597 struct acpi_battery *bat; in acpi_sbs_callback() local
Dbattery.c103 struct power_supply *bat; member