Searched refs:battery_flag (Results 1 – 7 of 7) sorted by relevance
57 info->battery_flag = 0x80; in hp6x0_apm_get_power_status()60 info->battery_flag = 0x08; in hp6x0_apm_get_power_status()64 info->battery_flag = 0x04; in hp6x0_apm_get_power_status()67 info->battery_flag = 0x02; in hp6x0_apm_get_power_status()70 info->battery_flag = 0x01; in hp6x0_apm_get_power_status()
30 info->battery_flag = APM_BATTERY_FLAG_UNKNOWN; in pmu_apm_get_power_status()69 info->battery_flag = APM_BATTERY_FLAG_CHARGING; in pmu_apm_get_power_status()72 info->battery_flag = APM_BATTERY_FLAG_CRITICAL; in pmu_apm_get_power_status()75 info->battery_flag = APM_BATTERY_FLAG_LOW; in pmu_apm_get_power_status()78 info->battery_flag = APM_BATTERY_FLAG_HIGH; in pmu_apm_get_power_status()
34 unsigned char battery_flag; member
443 info.battery_flag = 0xff; in proc_apm_show()460 info.battery_flag, info.battery_life, in proc_apm_show()
335 info->battery_flag = info->battery_status; in apm_battery_apm_get_power_status()
1644 unsigned short battery_flag = 0xff; in proc_apm_show() local1657 battery_flag = (cx >> 8) & 0xff; in proc_apm_show()1709 battery_flag, in proc_apm_show()
809 info->battery_flag = (1 << info->battery_status); in sharpsl_apm_get_power_status()