opnsense-src/sys/dev/acpica
Bjoern A. Zeeb 945eaca155 ACPI: change arguments to internal acpi_find_dsd()
acpi_find_dsd() is not a bus function and we only need the acpi_device (ad).
The only caller has already looked up the ad (from ivars) for us.
Directly pass the ad to acpi_find_dsd() instead of bus, dev and remove
the extra call to device_get_ivars(); the changed argument also means we
now call AcpiEvaluateObject directly on the handle.

This optimisation was done a while ago while debugging a driver which
ended up with a bad bus, dev combination making the old version fail.

MFC after:	2 weeks
Reviewed by:	mw
Differential Revision: https://reviews.freebsd.org/D35558
2022-06-28 12:57:04 +00:00
..
Osd acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi.c ACPI: change arguments to internal acpi_find_dsd() 2022-06-28 12:57:04 +00:00
acpi_acad.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_apei.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_battery.c Mark more nodes as CTLFLAG_MPSAFE or CTLFLAG_NEEDGIANT (17 of many) 2020-02-26 14:26:36 +00:00
acpi_bus_if.m Remove "All Rights Reserved" from FreeBSD Foundation sys/ copyrights 2021-08-08 10:42:24 -04:00
acpi_button.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_cmbat.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_container.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_cpu.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_dock.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_ec.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_hpet.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_hpet.h hpet: Allow a MMIO window smaller than 1K 2022-03-28 11:23:45 -04:00
acpi_if.m acpica: add ACPI_GET_PROPERTY to access Device Specific Data (DSD) 2021-09-20 16:31:08 +02:00
acpi_isab.c Remove isab_devclass from ISA bridge drivers. 2022-05-06 15:39:28 -07:00
acpi_lid.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_package.c Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpi_pci.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_pci_link.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_pcib.c acpica: rework INTRNG interrupts 2018-11-19 03:02:47 +00:00
acpi_pcib_acpi.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_pcib_pci.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_pcibvar.h
acpi_pcivar.h Drop "All rights reserved" from my copyright statements. 2019-03-06 22:11:45 +00:00
acpi_perf.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_powerres.c acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_pxm.c acpi: Ensure that adjacent memory affinity table entries are coalesced 2020-12-18 16:04:48 +00:00
acpi_quirk.c Merge ACPICA 20190329. 2019-03-29 20:21:28 +00:00
acpi_quirks
acpi_resource.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_smbat.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_smbus.h acpica: clean up empty lines in .c and .h files 2020-09-01 21:32:41 +00:00
acpi_thermal.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_throttle.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_timer.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpi_video.c acpi: Remove unused devclass arguments to DRIVER_MODULE. 2022-05-06 15:39:28 -07:00
acpiio.h Add _BIX (Battery Information Extended) object support. 2020-02-19 06:28:55 +00:00
acpivar.h bus: Add ACPI locator support 2022-03-01 08:06:41 -07:00