summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
AgeCommit message (Expand)Author
2024-09-04Push acpi(4) _CRS parsing down after matching skippable and ISA hardware IDs.James Hastings
2024-08-18If FADT indicates FADT_POWER_S0_IDLE_CAPABLE, print "S0ix" insteadTheo de Raadt
2024-08-10cleanup excessive calls to acpi_indicator at suspend time and resume timeTheo de Raadt
2024-07-30Make the Samsung Galaxy Book4 Edge (x1e80100) boot in ACPI mode;Marcus Glocker
2024-07-14For specific hids (currently only ACPI0007, acpicpu(4)), use a printJonathan Matthew
2024-07-14In addition to setting the PCI power state, also run the appropriate _PSxMark Kettenis
2024-07-02Do not attach acpitz(4) if the _STA method indicates that a thermal zoneMark Kettenis
2024-06-25Implement sleep button and EC events as wakeup events. Print the wakeupMark Kettenis
2024-06-11Avoid powering down PCI devices if we're rebooting. This makes someMark Kettenis
2024-06-02Power down PCI devices in S0 as well. Needed for suspend-to-idle.Mark Kettenis
2024-05-29Implement the guts for "suspend-to-idle" on amd64. This enables suspendMark Kettenis
2024-05-13Ignore button events in the first 10 seconds after resume. On some ACPIMark Kettenis
2024-05-13remove prototypes with no matching functionJonathan Gray
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