summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
AgeCommit message (Expand)Author
2024-01-08Implement RootPathString support in the LoadTable() AML function. FixesMark Kettenis
2023-07-08Move /dev/apm related acpi code to acpi_apm.c which is only built onTobias Heider
2023-07-07Add support for multiple batteries to acpithinkpad setchargestart andClaudio Jeker
2023-07-06moving acpiioctl to a different file than acpiopen is not going to workTheo de Raadt
2023-07-05Move acpiioctl to acpi_x86.c, it is only used up on i386 and amd64.Tobias Heider
2023-06-29acpi(4)/acpibtn(4): use opt-in approach for wakeup GPEsDave Voutila
2023-03-15Add missing nameref resolving for the _DEP() package elements that indicateMark Kettenis
2023-02-10Adjust knote(9) APIVisa Hankala
2022-09-13Split out the code that collects data from acpiac(4), acpibat(4) andMark Kettenis
2022-09-12Add support for level-triggered GPIO events.Mark Kettenis
2022-09-10Don't restrict GPIO events to pin numbers below 256. With the _EVT()Mark Kettenis
2022-09-03Make sure we don't suspend if we have no way to wake up the machine.Mark Kettenis
2022-08-10Provide the AML root in ACPI's softc so that drivers that need accessPatrick Wildt
2022-02-17reduce includesJonathan Gray
2022-02-10Embed klist head in acpi_softc to avoid explicit malloc.Visa Hankala
2022-02-09Move x86-only stubs used by kern/subr_suspend.c into dev/acpi/acpi_x86.cTheo de Raadt
2022-02-08The suspend/resume code is a sticky mess of MI, MD, and ACPI sequencing.Theo de Raadt
2022-02-04set the APM_BATT_CHARGING state if the battery is being charged and tryRobert Nagy
2022-02-02acpi_addtask() calls malloc() w/ M_NOWAIT (because some calls come fromTheo de Raadt
2022-02-01GPE_DIRECT is calling the AML parser from interrupt context, which isTheo de Raadt
2022-01-26An ACPI device needs to be both present and enabled for it to function.Mark Kettenis
2022-01-12Make acpi_getpropint() return uint64_t, as ACPI integers are in fact thatPatrick Wildt
2022-01-04acpi_getprop() needs to actually make sure that we're looking at thePatrick Wildt
2021-12-16Attach com over acpi on amd64. Some hardware uses a different interruptAnton Lindqvist
2021-12-07Fix parsing of SR_IRQ resource descriptors.Mark Kettenis
2021-11-02knfTheo de Raadt
2021-10-30Change hw.perfpolicy=auto by default, at startup. If the system has ACTheo de Raadt
2021-07-20Fix trailing whitespace in a few places.Mike Larkin
2021-05-09Some x86 machines advertise the "hardware reduced" ACPI feature, advertiseMark Kettenis
2021-03-15Add acpi_iommu_device_map(), which replaces the DMA tag with one thatPatrick Wildt
2021-03-07Pass standard DMA tag to acpi(4) table drivers.Patrick Wildt
2020-12-27acpi_map_address() cannot be wrapped by SMALL_KERNEL anymore, asTheo de Raadt
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-12-17Fix some issues with referencing named ACPI nodes from Packages.Mark Kettenis
2020-12-05Add support for the _EVT method to the GPIO support code.Mark Kettenis
2020-08-27Reorder the acpi attach process so we look at Processor() CPU nodesJonathan Matthew
2020-08-16Remove sc_maxgpe from acpi_softc which was never read fromgnezdo
2020-07-21acpi can use IPL_BIO (a low interrupt) since it only enqueues operations forTheo de Raadt
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-06-10Give userland a consistent battery and A/C state after resumeJeremie Courreges-Anglas
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousTheo de Raadt
2020-05-14Bring back the acpi(4) changes. This time around only use the ACPI _CRSMark Kettenis
2020-05-11More accurate remaining power reporting with disparate batteriesJeremie Courreges-Anglas
2020-05-08Move parsing of _CRS into acpi(4) and pass the parsed address and interruptMark Kettenis
2020-04-14Implement acpi_getprop(), the ACPI equivalent of OF_getprop().Mark Kettenis
2020-04-12Add support for the _CCA method. This method indicates whether DMA isMark Kettenis
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-04-03Fix incoherencies of errors returned by various *kqfilter routines.Martin Pieuchot
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala