freebsd-dev/sys/dev/acpica
Alexander Motin 2cee045b4d Move time math out of disabled interrupts sections.
We don't need the result before next sleep time, so no reason to
additionally increase interrupt latency.

While there, remove extra PM ticks to microseconds conversion, making
C2/C3 sleep times look 4 times smaller than really.  The conversion
is already done by AcpiGetTimerDuration().  Now I see reported sleep
times up to 0.5s, just as expected for planned 2 wakeups per second.

MFC after:	1 month
2021-03-10 13:52:51 -05:00
..
Osd
acpi_acad.c
acpi_apei.c
acpi_battery.c
acpi_bus_if.m
acpi_button.c
acpi_cmbat.c
acpi_container.c
acpi_cpu.c Move time math out of disabled interrupts sections. 2021-03-10 13:52:51 -05:00
acpi_dock.c
acpi_ec.c
acpi_hpet.c
acpi_hpet.h
acpi_if.m
acpi_isab.c
acpi_lid.c
acpi_package.c
acpi_pci_link.c
acpi_pci.c
acpi_pcib_acpi.c
acpi_pcib_pci.c
acpi_pcib.c
acpi_pcibvar.h
acpi_pcivar.h
acpi_perf.c
acpi_powerres.c
acpi_pxm.c
acpi_quirk.c
acpi_quirks
acpi_resource.c
acpi_smbat.c
acpi_smbus.h
acpi_thermal.c
acpi_throttle.c
acpi_timer.c
acpi_video.c
acpi.c
acpiio.h
acpivar.h