Home
last modified time | relevance | path

Searched refs:battery_flag (Results 1 – 8 of 8) sorted by relevance

/Linux-v5.10/arch/sh/boards/mach-hp6xx/
Dhp6xx_apm.c57 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()
/Linux-v5.10/drivers/macintosh/
Dapm_emu.c30 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()
/Linux-v5.10/include/linux/
Dapm-emulation.h34 unsigned char battery_flag; member
/Linux-v5.10/drivers/char/
Dapm-emulation.c443 info.battery_flag = 0xff; in proc_apm_show()
460 info.battery_flag, info.battery_life, in proc_apm_show()
/Linux-v5.10/drivers/power/supply/
Dapm_power.c335 info->battery_flag = info->battery_status; in apm_battery_apm_get_power_status()
/Linux-v5.10/arch/x86/kernel/
Dapm_32.c1643 unsigned short battery_flag = 0xff; in proc_apm_show() local
1656 battery_flag = (cx >> 8) & 0xff; in proc_apm_show()
1708 battery_flag, in proc_apm_show()
/Linux-v5.10/arch/arm/mach-pxa/
Dzeus.c728 info->battery_flag = APM_BATTERY_FLAG_NOT_PRESENT; in zeus_get_power_status()
Dsharpsl_pm.c815 info->battery_flag = (1 << info->battery_status); in sharpsl_apm_get_power_status()