pmu_batteries 39 drivers/macintosh/apm_emu.c if (pmu_batteries[i].flags & PMU_BATT_PRESENT) { pmu_batteries 45 drivers/macintosh/apm_emu.c percentage += (pmu_batteries[i].charge * 100) / pmu_batteries 46 drivers/macintosh/apm_emu.c pmu_batteries[i].max_charge; pmu_batteries 47 drivers/macintosh/apm_emu.c charge += pmu_batteries[i].charge; pmu_batteries 48 drivers/macintosh/apm_emu.c amperage += pmu_batteries[i].amperage; pmu_batteries 50 drivers/macintosh/apm_emu.c btype = (pmu_batteries[i].flags & PMU_BATT_TYPE_MASK); pmu_batteries 52 drivers/macintosh/apm_emu.c if ((pmu_batteries[i].flags & PMU_BATT_CHARGING)) pmu_batteries 188 drivers/macintosh/via-pmu.c struct pmu_battery_info pmu_batteries[PMU_MAX_BATTERIES]; pmu_batteries 533 drivers/macintosh/via-pmu.c pmu_batteries[0].flags |= PMU_BATT_TYPE_COMET; pmu_batteries 535 drivers/macintosh/via-pmu.c pmu_batteries[0].flags |= PMU_BATT_TYPE_HOOPER; pmu_batteries 539 drivers/macintosh/via-pmu.c pmu_batteries[0].flags |= PMU_BATT_TYPE_SMART; pmu_batteries 540 drivers/macintosh/via-pmu.c pmu_batteries[1].flags |= PMU_BATT_TYPE_SMART; pmu_batteries 550 drivers/macintosh/via-pmu.c pmu_batteries[0].flags |= PMU_BATT_TYPE_SMART; pmu_batteries 552 drivers/macintosh/via-pmu.c pmu_batteries[1].flags |= PMU_BATT_TYPE_SMART; pmu_batteries 761 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].flags = bat_flags; pmu_batteries 762 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].charge = charge; pmu_batteries 763 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].max_charge = max; pmu_batteries 764 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].amperage = amperage; pmu_batteries 765 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].voltage = voltage; pmu_batteries 766 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].time_remaining = time; pmu_batteries 831 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].flags = bat_flags; pmu_batteries 832 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].charge = capa; pmu_batteries 833 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].max_charge = max; pmu_batteries 834 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].amperage = amperage; pmu_batteries 835 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].voltage = voltage; pmu_batteries 838 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].time_remaining pmu_batteries 841 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].time_remaining pmu_batteries 844 drivers/macintosh/via-pmu.c pmu_batteries[pmu_cur_battery].time_remaining = 0; pmu_batteries 906 drivers/macintosh/via-pmu.c seq_printf(m, "flags : %08x\n", pmu_batteries[batnum].flags); pmu_batteries 907 drivers/macintosh/via-pmu.c seq_printf(m, "charge : %d\n", pmu_batteries[batnum].charge); pmu_batteries 908 drivers/macintosh/via-pmu.c seq_printf(m, "max_charge : %d\n", pmu_batteries[batnum].max_charge); pmu_batteries 909 drivers/macintosh/via-pmu.c seq_printf(m, "current : %d\n", pmu_batteries[batnum].amperage); pmu_batteries 910 drivers/macintosh/via-pmu.c seq_printf(m, "voltage : %d\n", pmu_batteries[batnum].voltage); pmu_batteries 911 drivers/macintosh/via-pmu.c seq_printf(m, "time rem. : %d\n", pmu_batteries[batnum].time_remaining); pmu_batteries 2676 drivers/macintosh/via-pmu.c EXPORT_SYMBOL(pmu_batteries); pmu_batteries 173 drivers/power/supply/pmu_battery.c pbat->pbi = &pmu_batteries[i]; pmu_batteries 76 include/linux/pmu.h extern struct pmu_battery_info pmu_batteries[PMU_MAX_BATTERIES];