summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
AgeCommit message (Expand)Author
2022-02-17If S4 is not available, use S5 for the ACPI-transitions in hibernate support.Theo de Raadt
2022-02-17remove unused definesJonathan Gray
2022-02-17reduce includesJonathan Gray
2022-02-17reduce includesJonathan Gray
2022-02-16rev 1.4 was wrong to put potential IO operations after _GTS.Theo de Raadt
2022-02-16if the lids indicate we are not supposed to wakeup, return EAGAIN ratherTheo de Raadt
2022-02-16change MD gosleep() and sleep_finish() to return int, the MI code will beTheo de Raadt
2022-02-15Since acpitoshiba brightness button processing no longer plays gamesTheo de Raadt
2022-02-15Defer the actual setting of the display brightness to the acpi thread.Mark Kettenis
2022-02-15when the MI suspend code encounters problems, we need a way toTheo de Raadt
2022-02-15com at acpi like com at isa needs com_active() for suspend/resume support.Claudio Jeker
2022-02-15MI disable_lid_wakeups() is not needed, x86 systems can do thisTheo de Raadt
2022-02-15The DVACT_POWERDOWN step was accidentally moved in relation to some MDTheo de Raadt
2022-02-14Make sure we call acpi_resume_cpu() with the right ACPI state. This wasMark Kettenis
2022-02-14acpi_indicator() can take the softc*, instead of void*Theo de Raadt
2022-02-14test the correct pointer for acpi_intr_establish() resultJonathan 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-09add Surface Go 3 hid to acpibat(4)Dave Voutila
2022-02-09add newline to acpitz(4) attach conditionDave Voutila
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-18Improve how quirks are handled on sdhc(4)-compatible drivers. So farPatrick Wildt
2022-01-12Make acpi_getpropint() return uint64_t, as ACPI integers are in fact thatPatrick Wildt
2022-01-09spellingJonathan Gray
2022-01-04acpi_getprop() needs to actually make sure that we're looking at thePatrick Wildt
2022-01-02preferense -> preferenceJonathan Gray
2021-12-29Allow ohci(4) and ehci(4) to attach to acpi(4).Patrick Wildt
2021-12-29acpi_intr_disestablish() is available on all our ACPI platforms whichPatrick Wildt
2021-12-26Add address locators for the ACPI "bus" and use these to fix the order ofMark Kettenis
2021-12-21Move checks on attach arguments from attach into match.Mark Kettenis
2021-12-21Rename local variable intrfn to intr, matches what dev/fdt/com_fdt.cAnton Lindqvist
2021-12-21Do not attach com at acpi when there's no address or irq present. FixesAnton Lindqvist
2021-12-16Attach com over acpi on amd64. Some hardware uses a different interruptAnton Lindqvist
2021-12-09Broken ACPI tables containing scopes that are larger than their outer shellPatrick Wildt
2021-12-07Fix typo in Tiger Lake H configuration.Mark Kettenis
2021-12-07print the failed method numberTheo de Raadt
2021-12-07Fix parsing of SR_IRQ resource descriptors here as well.Mark Kettenis
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-10-23tpm(4): add support for tpm2 CRB interfaceDave Voutila
2021-09-29Add support for Cannon Lake H and Tiger Lake H platforms.Mark Kettenis
2021-09-21During resume, also restore pins that we configured as GPIO interrupt pins.Mark Kettenis
2021-09-18Work around a BIOS bug on Lenovo Thinkpads based on Intel's Tiger LakeMark Kettenis
2021-09-11Identify TPM2.0 devices and perform the 2.0-specific "suspend" commandTheo de Raadt
2021-08-30Remove magic offset from data structures. This makes it much easier toMark Kettenis