Searched refs:time_units (Results 1 – 2 of 2) sorted by relevance
32 int time_units = -1; in pmu_apm_get_power_status() local73 time_units = (charge * 59) / (amperage * -1); in pmu_apm_get_power_status()75 time_units = (charge * 16440) / (amperage * -60); in pmu_apm_get_power_status()94 info->time = time_units; in pmu_apm_get_power_status()
1644 int time_units = -1; in proc_apm_show() local1658 time_units = dx & 0x7fff; in proc_apm_show()1709 time_units, in proc_apm_show()