Lines Matching refs:pmu_battery_count
181 int pmu_battery_count; variable
522 pmu_battery_count = 1; in via_pmu_dev_init()
529 pmu_battery_count = 2; in via_pmu_dev_init()
540 pmu_battery_count = (prim_info[6] >> 16) & 0xff; in via_pmu_dev_init()
542 if (pmu_battery_count > 1) in via_pmu_dev_init()
554 for (i=0; i<pmu_battery_count; i++) { in via_pmu_dev_init()
837 pmu_cur_battery = (pmu_cur_battery + 1) % pmu_battery_count; in done_battery_state_smart()
860 ((pmu_power_flags & PMU_PWR_AC_PRESENT) != 0) || pmu_battery_count == 0); in pmu_info_proc_show()
861 seq_printf(m, "Battery count : %d\n", pmu_battery_count); in pmu_info_proc_show()
1443 if (pmu_battery_count) { in pmu_handle_data()
1452 if (pmu_battery_count) in pmu_handle_data()
2664 EXPORT_SYMBOL(pmu_battery_count);