Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/macintosh/
Dvia-pmu.c900 long batnum = (long)m->private; in pmu_battery_proc_show() local
903 seq_printf(m, "flags : %08x\n", pmu_batteries[batnum].flags); in pmu_battery_proc_show()
904 seq_printf(m, "charge : %d\n", pmu_batteries[batnum].charge); in pmu_battery_proc_show()
905 seq_printf(m, "max_charge : %d\n", pmu_batteries[batnum].max_charge); in pmu_battery_proc_show()
906 seq_printf(m, "current : %d\n", pmu_batteries[batnum].amperage); in pmu_battery_proc_show()
907 seq_printf(m, "voltage : %d\n", pmu_batteries[batnum].voltage); in pmu_battery_proc_show()
908 seq_printf(m, "time rem. : %d\n", pmu_batteries[batnum].time_remaining); in pmu_battery_proc_show()