Home
last modified time | relevance | path

Searched refs:pmu_power_flags (Results 1 – 4 of 4) sorted by relevance

/linux-6.6.21/drivers/power/supply/
Dpmu_battery.c36 val->intval = (!!(pmu_power_flags & PMU_PWR_AC_PRESENT)) || in pmu_get_ac_prop()
93 else if (pmu_power_flags & PMU_PWR_AC_PRESENT) in pmu_bat_get_property()
/linux-6.6.21/include/linux/
Dpmu.h77 extern unsigned int pmu_power_flags;
/linux-6.6.21/drivers/macintosh/
Dapm_emu.c33 if (pmu_power_flags & PMU_PWR_AC_PRESENT) in pmu_apm_get_power_status()
Dvia-pmu.c183 unsigned int pmu_power_flags = PMU_PWR_AC_PRESENT; variable
698 pmu_power_flags |= PMU_PWR_AC_PRESENT; in done_battery_state_ohare()
700 pmu_power_flags &= ~PMU_PWR_AC_PRESENT; in done_battery_state_ohare()
785 pmu_power_flags |= PMU_PWR_AC_PRESENT; in done_battery_state_smart()
787 pmu_power_flags &= ~PMU_PWR_AC_PRESENT; in done_battery_state_smart()
856 ((pmu_power_flags & PMU_PWR_AC_PRESENT) != 0) || pmu_battery_count == 0); in pmu_info_proc_show()
2663 EXPORT_SYMBOL(pmu_power_flags);