Searched refs:amperage (Results 1 - 4 of 4) sorted by relevance

/linux-master/drivers/macintosh/
H A Dapm_emu.c26 long amperage = 0; local
48 amperage += pmu_batteries[i].amperage;
60 if (amperage < 0) {
62 time_units = (charge * 59) / (amperage * -1);
64 time_units = (charge * 16440) / (amperage * -60);
H A Dvia-pmu.c693 long amperage, voltage, time, max; local
720 amperage = req->reply[5];
722 if (amperage > 200)
723 vb += ((amperage - 200) * 15)/100;
738 if (amperage > 0)
739 time = (charge * 16440) / amperage;
743 amperage = -amperage;
745 charge = max = amperage = voltage = time = 0;
750 pmu_batteries[pmu_cur_battery].amperage
781 int amperage; local
[all...]
/linux-master/include/linux/
H A Dpmu.h70 signed int amperage; /* current, positive if charging */ member in struct:pmu_battery_info
/linux-master/drivers/power/supply/
H A Dpmu_battery.c111 val->intval = pbi->amperage * 1000; /* mA -> ��A */

Completed in 102 milliseconds