Searched refs:batnum (Results 1 – 1 of 1) sorted by relevance
/linux-6.1.9/drivers/macintosh/ |
D | via-pmu.c | 894 long batnum = (long)m->private; in pmu_battery_proc_show() local 897 seq_printf(m, "flags : %08x\n", pmu_batteries[batnum].flags); in pmu_battery_proc_show() 898 seq_printf(m, "charge : %d\n", pmu_batteries[batnum].charge); in pmu_battery_proc_show() 899 seq_printf(m, "max_charge : %d\n", pmu_batteries[batnum].max_charge); in pmu_battery_proc_show() 900 seq_printf(m, "current : %d\n", pmu_batteries[batnum].amperage); in pmu_battery_proc_show() 901 seq_printf(m, "voltage : %d\n", pmu_batteries[batnum].voltage); in pmu_battery_proc_show() 902 seq_printf(m, "time rem. : %d\n", pmu_batteries[batnum].time_remaining); in pmu_battery_proc_show()
|