summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
AgeCommit message (Expand)Author
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
2019-12-31Convert infinite sleeps to {m,t}sleep_nsec(9).Martin Pieuchot
2019-12-31include sys/sensors.h for sensor useJonathan Gray
2019-09-07Revert acpipci(4) changes. Too many systems are broken. We'll try againMark Kettenis
2019-08-28Use ACPI information to attach PCI busses like we do on arm64. There are aMark Kettenis
2019-08-27On amd64 the bootup and resume paths for SP/BP/SP were not performingTheo de Raadt
2019-07-02acpi_set_gpehandler: turn edge arg into flags, add support forJoshua Stein
2019-06-10Print proper ACPI version number.Mark Kettenis
2019-06-08When establishing the mapping between ACPI device nodes and PCI devices,Mark Kettenis
2019-06-07Introduce acpi_getsta() and use it to eliminate some duplicated code.Mark Kettenis
2019-05-12Make sure the extended PM register descriptions actually exist beforeMark Kettenis
2019-05-12Add support for mapping ACPI PM registers using the "extended" gasioMark Kettenis
2019-05-11Fix incorrect error message.Lawrence Teo
2019-05-08free size. the allocation is the header plus the length.Ted Unangst
2019-04-04Avoid potential null-pointer dereference. Found by Kent R. Spillner.Mark Kettenis
2019-01-20fix SMALL_KERNEL build after changes in rev 1.361Jonathan Gray
2019-01-19Add a pwraction sysctl that controls what the power button does on acpi.Ted Unangst
2018-10-26Add acpipci(4) on amd64. For now this only calls the PCI-specific _OSCMark Kettenis
2018-08-30Move softbutton check before the check that skips attaching certain acpiMark Kettenis
2018-08-25Match ACPI devices based on _CID if no match for _HID is found.Mark Kettenis
2018-08-19Add support for multiple PCI segments. Only really implemented for arm64Mark Kettenis
2018-08-03Let ahci(4) match on _CLS instead of _HID when attaching at acpi(4). AvoidsMark Kettenis
2018-07-10Make legacy interrupts work in acpipci(4).Mark Kettenis
2018-07-05Add acpipci(4), a driver that supports generic ECAM-compatible PCI hostMark Kettenis
2018-07-04Properly pass around the PCI "chipset tag" in acpi(4) and refactorMark Kettenis
2018-07-01Move acpi(4) attach glue into acpi_machdep.c.Mark Kettenis
2018-07-01Add support for _DSD Device Properties.Mark Kettenis
2018-06-30Add intr_enable() function, intended for MI use to amd64 and i386 and useMark Kettenis
2018-06-29Use <stdint.h> types.Mark Kettenis
2018-06-29ACPI: Allow (with warning) GPE handler reassignment, instead of returningMike Larkin
2018-06-26knfMike Larkin
2018-06-26Let acpi(4) pass down the bus dma tag.Mark Kettenis
2018-06-25Reorganize acpi(4) code a bit in preparation for upcoming arm64 support.Mark Kettenis
2018-05-20Wake up the acpi thread after scheduling a gpio event.Mark Kettenis
2018-05-17Sprinkle some #ifndef SMALL_KERNEL such that RAMDISK kernels cuild again.Mark Kettenis
2018-05-17Implement GenericSerialBus OpRegion support.Mark Kettenis
2018-03-27Add acpicmos(4), a driver that implements SystemCMOS OperationRegionMark Kettenis
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-02-10Syncronize filesystems to disk when suspending. Each mountpoint's vnodesTheo de Raadt