Home
last modified time | relevance | path

Searched refs:battstat (Results 1 – 2 of 2) sorted by relevance

/arch/arm/mach-pxa/
Dsharpsl_pm.c237 …sharpsl_pm.battstat.ac_status = (sharpsl_pm.machinfo->read_devdata(SHARPSL_STATUS_ACIN) ? APM_AC_O… in sharpsl_battery_thread()
260 if ((sharpsl_pm.battstat.ac_status == APM_AC_ONLINE) in sharpsl_battery_thread()
262 || percent <= sharpsl_pm.battstat.mainbat_percent) { in sharpsl_battery_thread()
263 sharpsl_pm.battstat.mainbat_voltage = voltage; in sharpsl_battery_thread()
264 sharpsl_pm.battstat.mainbat_status = apm_status; in sharpsl_battery_thread()
265 sharpsl_pm.battstat.mainbat_percent = percent; in sharpsl_battery_thread()
269 sharpsl_pm.battstat.mainbat_status, sharpsl_pm.battstat.mainbat_percent, jiffies); in sharpsl_battery_thread()
272 if ((sharpsl_pm.battstat.ac_status != APM_AC_ONLINE) in sharpsl_battery_thread()
273 && (sharpsl_pm.battstat.mainbat_status == APM_BATTERY_STATUS_CRITICAL) in sharpsl_battery_thread()
444 if (sharpsl_pm.battstat.mainbat_status != APM_BATTERY_STATUS_HIGH) { in sharpsl_average_value()
[all …]
/arch/arm/mach-pxa/include/mach/
Dsharpsl_pm.h91 struct battery_stat battstat; member