Home
last modified time | relevance | path

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

/Linux-v5.15/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-v5.15/include/linux/
Dpmu.h55 #define PMU_PWR_AC_PRESENT 0x00000001 macro
/Linux-v5.15/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;
708 pmu_power_flags |= PMU_PWR_AC_PRESENT; in done_battery_state_ohare()
710 pmu_power_flags &= ~PMU_PWR_AC_PRESENT; in done_battery_state_ohare()
795 pmu_power_flags |= PMU_PWR_AC_PRESENT; in done_battery_state_smart()
797 pmu_power_flags &= ~PMU_PWR_AC_PRESENT; in done_battery_state_smart()
865 ((pmu_power_flags & PMU_PWR_AC_PRESENT) != 0) || pmu_battery_count == 0); in pmu_info_proc_show()