Home
last modified time | relevance | path

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

/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()
/drivers/power/
Dtest_power.c33 static int battery_status = POWER_SUPPLY_STATUS_DISCHARGING; variable
85 val->intval = battery_status; in test_power_get_battery_property()
232 battery_status = POWER_SUPPLY_STATUS_DISCHARGING; in test_power_exit()
368 battery_status = map_get_value(map_status, key, battery_status); in param_set_battery_status()
375 strcpy(buffer, map_get_key(map_status, battery_status, "unknown")); in param_get_battery_status()
515 module_param(battery_status, battery_status, 0644);
516 MODULE_PARM_DESC(battery_status,
Dapm_power.c326 info->battery_status = APM_BATTERY_STATUS_CHARGING; in apm_battery_apm_get_power_status()
329 info->battery_status = APM_BATTERY_STATUS_HIGH; in apm_battery_apm_get_power_status()
331 info->battery_status = APM_BATTERY_STATUS_LOW; in apm_battery_apm_get_power_status()
333 info->battery_status = APM_BATTERY_STATUS_CRITICAL; in apm_battery_apm_get_power_status()
335 info->battery_flag = info->battery_status; in apm_battery_apm_get_power_status()
/drivers/scsi/
Dmegaraid.c2231 u8 battery_status; in proc_show_battery() local
2246 battery_status = ((mega_inquiry3 *)inquiry)->battery_status; in proc_show_battery()
2249 battery_status = ((mraid_ext_inquiry *)inquiry)-> in proc_show_battery()
2250 raid_inq.adapter_info.battery_status; in proc_show_battery()
2256 seq_printf(m, "Battery Status:[%d]", battery_status); in proc_show_battery()
2258 if(battery_status == MEGA_BATT_CHARGE_DONE) in proc_show_battery()
2261 if(battery_status & MEGA_BATT_MODULE_MISSING) in proc_show_battery()
2264 if(battery_status & MEGA_BATT_LOW_VOLTAGE) in proc_show_battery()
2267 if(battery_status & MEGA_BATT_TEMP_HIGH) in proc_show_battery()
2270 if(battery_status & MEGA_BATT_PACK_MISSING) in proc_show_battery()
[all …]
Dmegaraid.h309 u8 battery_status; member
346 u8 battery_status; /* member
/drivers/scsi/megaraid/
Dmbox_defs.h465 uint8_t battery_status; member
525 uint8_t battery_status; member
/drivers/char/
Dapm-emulation.c448 info.battery_status = 0xff; in proc_apm_show()
465 info.ac_line_status, info.battery_status, in proc_apm_show()