Home
last modified time | relevance | path

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

/Linux-v6.6/drivers/power/supply/
Dpmu_battery.c37 (pmu_battery_count == 0); in pmu_get_ac_prop()
161 for (i = 0; i < pmu_battery_count; i++) { in pmu_bat_init()
/Linux-v6.6/drivers/macintosh/
Dvia-pmu.c181 int pmu_battery_count; variable
517 pmu_battery_count = 1; in via_pmu_dev_init()
524 pmu_battery_count = 2; in via_pmu_dev_init()
535 pmu_battery_count = (prim_info[6] >> 16) & 0xff; in via_pmu_dev_init()
537 if (pmu_battery_count > 1) in via_pmu_dev_init()
549 for (i=0; i<pmu_battery_count; i++) { in via_pmu_dev_init()
832 pmu_cur_battery = (pmu_cur_battery + 1) % pmu_battery_count; in done_battery_state_smart()
856 ((pmu_power_flags & PMU_PWR_AC_PRESENT) != 0) || pmu_battery_count == 0); in pmu_info_proc_show()
857 seq_printf(m, "Battery count : %d\n", pmu_battery_count); in pmu_info_proc_show()
1440 if (pmu_battery_count) { in pmu_handle_data()
[all …]
Dapm_emu.c38 for (i=0; i<pmu_battery_count; i++) { in pmu_apm_get_power_status()
/Linux-v6.6/include/linux/
Dpmu.h75 extern int pmu_battery_count;