Searched refs:battery_status (Results 1 – 11 of 11) sorted by relevance
58 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()
40 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()
325 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()
27 unsigned char battery_status; member
465 uint8_t battery_status; member525 uint8_t battery_status; member
2421 u8 battery_status = 0; in proc_battery() local2452 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 …]
344 u8 battery_status; member381 u8 battery_status; /* member
461 info.battery_status = 0xff; in proc_apm_show()478 info.ac_line_status, info.battery_status, in proc_apm_show()
863 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()
690 info->battery_status = APM_BATTERY_STATUS_NOT_PRESENT; in zeus_get_power_status()
1643 unsigned short battery_status = 0xff; in proc_apm_show() local1652 battery_status = bx & 0xff; in proc_apm_show()1708 battery_status, in proc_apm_show()