summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi
AgeCommit message (Expand)AuthorFilesLines
2020-06-20Shifts (<<) of more than 32 bits must be done on 64-bit values.krw1-2/+2
2020-06-17needs param.h, not types.hderaadt1-2/+2
2020-06-10Give userland a consistent battery and A/C state after resumejca4-20/+78
2020-06-02disable debugging by default and only print unknown events whenjcs1-5/+4
2020-06-02add acpihid(4) for ACPI HID event and 5-button array devicesjcs2-1/+407
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousderaadt2-4/+2
2020-05-27limit clflush before monitor errata workaround to Inteljsg1-2/+3
2020-05-22Use the parsed address and interrupt information fromkettenis6-378/+140
2020-05-19Don't provide backlight control if the list returned by _BCL is empty.kettenis1-4/+6
2020-05-14Bring back the acpi(4) changes. This time around only use the ACPI _CRSkettenis2-2/+4
2020-05-11More accurate remaining power reporting with disparate batteriesjca1-13/+11
2020-05-09aml_die() doesn't return, hint the compilerjca1-2/+2
2020-05-09No need to look at _STA here, all we care about is _PSR.jca1-13/+9
2020-05-08Move parsing of _CRS into acpi(4) and pass the parsed address and interruptkettenis10-334/+281
2020-04-19Move logic to change brightness level in reasonable steps from acpivout(4)kettenis1-69/+5
2020-04-18Remove useless return statement.kettenis1-3/+1
2020-04-14Add bse(4), a driver for the Broadcom GENET v5 network interface found onkettenis2-1/+173
2020-04-14Implement acpi_getprop(), the ACPI equivalent of OF_getprop().kettenis2-3/+55
2020-04-12Add support for the _CCA method. This method indicates whether DMA iskettenis2-4/+9
2020-04-11Use acpi_getsta(); avoids printing "no _STA method" messages and assumeskettenis1-10/+3
2020-04-10The Raspberry Pi4 (suing UEFI firmware in ACPI mode) uses QWord()kettenis1-1/+8
2020-04-07Abstract the head of knote lists. This allows extending the lists,visa1-3/+3
2020-04-06acpi(4): acpi_sleep(): tsleep(9) -> tsleep_nsec(9)cheloha1-7/+6
2020-04-06Update my email address.pirofti4-8/+8
2020-04-03Fix incoherencies of errors returned by various *kqfilter routines.mpi1-2/+2
2020-03-29Add glue to make ipmi(4) attach to FDT.kettenis1-1/+2
2020-03-23Fix brightness control on machines where initial brigness unknown.ratchov1-13/+10
2020-03-16fix a bunch of weird indentations and extra whitespace; no binary changejasper1-15/+13
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowvisa1-2/+2
2020-02-18Cleanup <sys/kthread.h> and <sys/proc.h> includes.mpi1-2/+1
2020-02-08On the Lenovo X395 acpivout(4) does not attach since there ispatrick2-6/+7
2020-01-28Make acpivout(4) call ws_[gs]et_param instead of directlypatrick1-35/+77
2020-01-27Send APM_POWER_CHANGE events to userland after refreshing battery infojca1-1/+4
2020-01-26In amdgpio_pin_intr() disable pins a pending interrupt is seen for whichjsg1-11/+19
2020-01-14Fix screen brightness adjustment through function keyskn1-17/+17
2020-01-09Convert sleeps of 1sec or more to tsleep_nsec(9).mpi1-2/+3
2020-01-06Allow ipmi(4) to attach using mmio. Use the IPMI revision provided by thekettenis1-22/+45
2019-12-31Use C99 designated initializers with struct filterops. In addition,visa1-3/+6
2019-12-31Convert infinite sleeps to {m,t}sleep_nsec(9).mpi1-2/+2
2019-12-31include sys/sensors.h for sensor usejsg2-2/+4
2019-12-23Add amdgpio(4), a driver for the GPIO controller found on newer AMDkettenis2-1/+318
2019-12-14Revert previous. When we get an ACPI notification we already have thepatrick1-36/+20
2019-12-13Make acpivout(4) call ws_[gs]et_param instead of directlypatrick1-20/+36
2019-10-21On newer ThinkPads reporting HKEY version > 1, don't claim wsconsjcs1-3/+5
2019-10-21When incrementing or decrementing screen brightness, don't justjcs1-33/+20
2019-10-16Add a few newer _OSI strings to the parser.mlarkin1-1/+7
2019-10-16Remove trailing whitespace from a linemlarkin1-2/+2
2019-10-13Move ws_get_param/ws_set_param into wsdisplay code.kettenis3-10/+6
2019-10-12Print version number.kettenis1-3/+4
2019-10-10Make reading past the end of an AML array not a panic.mlarkin1-8/+4