Home
last modified time | relevance | path

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

/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()
/drivers/macintosh/
Dapm_emu.c33 if (pmu_power_flags & PMU_PWR_AC_PRESENT) in pmu_apm_get_power_status()
Dvia-pmu.c184 unsigned int pmu_power_flags = PMU_PWR_AC_PRESENT; variable
709 pmu_power_flags |= PMU_PWR_AC_PRESENT; in done_battery_state_ohare()
711 pmu_power_flags &= ~PMU_PWR_AC_PRESENT; in done_battery_state_ohare()
796 pmu_power_flags |= PMU_PWR_AC_PRESENT; in done_battery_state_smart()
798 pmu_power_flags &= ~PMU_PWR_AC_PRESENT; in done_battery_state_smart()
866 ((pmu_power_flags & PMU_PWR_AC_PRESENT) != 0) || pmu_battery_count == 0); in pmu_info_proc_show()
2671 EXPORT_SYMBOL(pmu_power_flags);