Home
last modified time | relevance | path

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

/linux-4.4.14/drivers/macintosh/
Dapm_emu.c32 int time_units = -1; in pmu_apm_get_power_status() local
73 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()
/linux-4.4.14/arch/x86/kernel/
Dapm_32.c1644 int time_units = -1; in proc_apm_show() local
1658 time_units = dx & 0x7fff; in proc_apm_show()
1709 time_units, in proc_apm_show()