Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/macintosh/
Dapm_emu.c21 int time_units = -1; in pmu_apm_get_power_status() local
62 time_units = (charge * 59) / (amperage * -1); in pmu_apm_get_power_status()
64 time_units = (charge * 16440) / (amperage * -60); in pmu_apm_get_power_status()
83 info->time = time_units; in pmu_apm_get_power_status()
/Linux-v5.10/arch/x86/kernel/
Dapm_32.c1645 int time_units = -1; in proc_apm_show() local
1659 time_units = dx & 0x7fff; in proc_apm_show()
1710 time_units, in proc_apm_show()