Home
last modified time | relevance | path

Searched refs:battery_status (Results 1 – 11 of 11) sorted by relevance

/linux-2.6.39/arch/sh/boards/mach-hp6xx/
Dhp6xx_apm.c58 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in hp6x0_apm_get_power_status()
61 info->battery_status = APM_BATTERY_STATUS_CHARGING; in hp6x0_apm_get_power_status()
65 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in hp6x0_apm_get_power_status()
68 info->battery_status = APM_BATTERY_STATUS_LOW; in hp6x0_apm_get_power_status()
71 info->battery_status = APM_BATTERY_STATUS_HIGH; in hp6x0_apm_get_power_status()
/linux-2.6.39/drivers/macintosh/
Dapm_emu.c40 info->battery_status = APM_BATTERY_STATUS_UNKNOWN; in pmu_apm_get_power_status()
79 info->battery_status = APM_BATTERY_STATUS_CHARGING; in pmu_apm_get_power_status()
82 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in pmu_apm_get_power_status()
85 info->battery_status = APM_BATTERY_STATUS_LOW; in pmu_apm_get_power_status()
88 info->battery_status = APM_BATTERY_STATUS_HIGH; in pmu_apm_get_power_status()
/linux-2.6.39/drivers/power/
Dapm_power.c325 info->battery_status = APM_BATTERY_STATUS_CHARGING; in apm_battery_apm_get_power_status()
328 info->battery_status = APM_BATTERY_STATUS_HIGH; in apm_battery_apm_get_power_status()
330 info->battery_status = APM_BATTERY_STATUS_LOW; in apm_battery_apm_get_power_status()
332 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in apm_battery_apm_get_power_status()
334 info->battery_flag = info->battery_status; in apm_battery_apm_get_power_status()
/linux-2.6.39/include/linux/
Dapm-emulation.h27 unsigned char battery_status; member
/linux-2.6.39/drivers/scsi/megaraid/
Dmbox_defs.h465 uint8_t battery_status; member
525 uint8_t battery_status; member
/linux-2.6.39/drivers/scsi/
Dmegaraid.c2421 u8 battery_status = 0; in proc_battery() local
2452 battery_status = ((mega_inquiry3 *)inquiry)->battery_status; in proc_battery()
2455 battery_status = ((mraid_ext_inquiry *)inquiry)-> in proc_battery()
2456 raid_inq.adapter_info.battery_status; in proc_battery()
2462 sprintf(str, "Battery Status:[%d]", battery_status); in proc_battery()
2464 if(battery_status == MEGA_BATT_CHARGE_DONE) in proc_battery()
2467 if(battery_status & MEGA_BATT_MODULE_MISSING) in proc_battery()
2470 if(battery_status & MEGA_BATT_LOW_VOLTAGE) in proc_battery()
2473 if(battery_status & MEGA_BATT_TEMP_HIGH) in proc_battery()
2476 if(battery_status & MEGA_BATT_PACK_MISSING) in proc_battery()
[all …]
Dmegaraid.h344 u8 battery_status; member
381 u8 battery_status; /* member
/linux-2.6.39/drivers/char/
Dapm-emulation.c461 info.battery_status = 0xff; in proc_apm_show()
478 info.ac_line_status, info.battery_status, in proc_apm_show()
/linux-2.6.39/arch/arm/mach-pxa/
Dsharpsl_pm.c863 info->battery_status = APM_BATTERY_STATUS_CHARGING; in sharpsl_apm_get_power_status()
865 info->battery_status = sharpsl_pm.battstat.mainbat_status; in sharpsl_apm_get_power_status()
867 info->battery_flag = (1 << info->battery_status); in sharpsl_apm_get_power_status()
Dzeus.c690 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in zeus_get_power_status()
/linux-2.6.39/arch/x86/kernel/
Dapm_32.c1643 unsigned short battery_status = 0xff; in proc_apm_show() local
1652 battery_status = bx & 0xff; in proc_apm_show()
1708 battery_status, in proc_apm_show()