tangled
alpha
login
or
join now
jcs.org
/
openbsd-src
0
fork
atom
jcs's openbsd hax
openbsd
0
fork
atom
overview
issues
pulls
pipelines
openbsd-src
/
sys
/
dev
/
acpi
/
at
rk3128
82 files
abl.c
Handle the case of multiple MCFG table entries for a single segment by checking that the bus number falls within the range of the MCFG entry.
1 year ago
acpi.c
Implement delayed hibernation. If the machdep.hibernatedelay sysctl is set to a value that isn't zero, this specifies a number of seconds after which the machine will wake up from suspend and hibernate itself.
1 month ago
acpi_apm.c
directly use dev_t for swdevt[], remove struct swdevt ok mpi@ miod@
1 year ago
acpi_x86.c
Implement delayed hibernation. If the machdep.hibernatedelay sysctl is set to a value that isn't zero, this specifies a number of seconds after which the machine will wake up from suspend and hibernate itself.
1 month ago
acpiac.c
constify struct cfattach
4 years ago
acpials.c
Declare hw_{prod,serial,uuid,vendor,ver} in <sys/systm.h>.
5 years ago
acpiasus.c
constify struct cfattach
4 years ago
acpibat.c
Fix reporting if critical battery state.
2 years ago
acpibtn.c
Add missing #ifdef SUSPEND macro.
5 months ago
acpicbkbd.c
constify struct cfattach
4 years ago
acpicmos.c
whitespace
5 months ago
acpicpu_x86.c
Whitelist devices in cfdriver for use when SEV is enabled
6 months ago
acpidebug.c
return type on a dedicated line when declaring functions ok mglocker@
2 years ago
acpidebug.h
Added stack trace to aml_die+acpidebug ok marco@
19 years ago
acpidev.h
Some laptops will generate an EC event shortly after we attempt to enter a low power S0 idle state. Since we register the EC GPE as a wakeup GPE this means we'll wake up immediately. Unfortunately we have to register that GPE as a wakeup GPE otherwise many laptops won't wake up when the user opens the lid (and some laptops won't wake up at all). So add some code to handle EC events while suspended and introduce the concept of wakeup AML notify handlers. Register the acpibtn(4) notify handlers as wakeup notify handlers such that we wake up. We'll go back to sleep immediately if we wake up for any other EC event.
2 years ago
acpidmar.c
acpidmar(4): Recognize reserved 4-byte IVHD device entry
2 weeks ago
acpidmar.h
put opening { on same line as struct name ok claudio@
1 year ago
acpidock.c
Provide the AML root in ACPI's softc so that drivers that need access don't have to declare it using extern.
3 years ago
acpiec.c
Try a short busy-wait in acpiec_wait before falling back to tsleep
5 months ago
acpige.c
constify struct cfattach
4 years ago
acpihid.c
Add acpihid(4), a driver for the Generic Buttons Device defined by the ACPI specification. For now only the power button is supported.
3 months ago
acpihpet.c
Whitelist devices in cfdriver for use when SEV is enabled
6 months ago
acpihve.c
constify struct cfattach
4 years ago
acpimadt.c
Whitelist devices in cfdriver for use when SEV is enabled
6 months ago
acpimcfg.c
Whitelist devices in cfdriver for use when SEV is enabled
6 months ago
acpiprt.c
Whitelist devices in cfdriver for use when SEV is enabled
6 months ago
acpipwrres.c
Revert the guts of rev 1.14. This ends up attempting to turn of power resources for devices that aren't present. And that makes us run AML that clearly hasn't been tested by the vendors. And on my test laptop this no longer seems to make a meaningful difference in the power consumption during suspend-to-idle.
2 years ago
acpireg.h
acpidmar(4): Recognize reserved 4-byte IVHD device entry
2 weeks ago
acpisbs.c
Constify battery check table
3 years ago
acpisectwo.c
Make the Samsung Galaxy Book4 Edge (x1e80100) boot in ACPI mode; Until now the kernel did panic during early boot because we couldn't respond to the battery requests sent to the 0xa1 "bus". This (dummy) driver registers a 0xa1 region space very early, and responds with a static zero value to satisfy the battery requests on 0xa1, which let us boot successfully to multi-user.
2 years ago
acpisony.c
constify struct cfattach
4 years ago
acpisurface.c
Introduce a generic powerbutton_event() function that does everything we expect from a power button event in a consistent manner. This gets rid of some duplicated code and means all drivers now prevent shutdown within the first 10 seconds after resume.
9 months ago
acpithinkpad.c
Add support for multiple batteries to acpithinkpad setchargestart and setchargestop. With this laptops like x270 or x240 properly set the thresholds for both batteries. Tested by kn@ and jmatthew@ OK kettenis@
2 years ago
acpitimer.c
Whitelist devices in cfdriver for use when SEV is enabled
6 months ago
acpitoshiba.c
correct indentation
2 years ago
acpitz.c
Cleanup error reporting in the case the temperature can't be read. There really is no point calling acpitz_gettempreading() immediately again as it already retries reading the temperature a few times. Also fixup the way newlines are printed such that they show up at the right point.
1 year ago
acpiutil.c
needs param.h, not types.h
5 years ago
acpivar.h
Implement delayed hibernation. If the machdep.hibernatedelay sysctl is set to a value that isn't zero, this specifies a number of seconds after which the machine will wake up from suspend and hibernate itself.
1 month ago
acpivideo.c
constify struct cfattach
4 years ago
acpivout.c
correct indentation
2 years ago
acpiwmi.c
spelling
9 months ago
ahci_acpi.c
make attachments use pre-existing activate functions; ok deraadt@
2 years ago
amd_iommu.h
spelling feedback and ok tb@ jmc@ ok ratchov@
4 years ago
amdgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
amdpmc.c
Add Strix/Krackan Point support.
2 months ago
amltypes.h
Many recent AMD SoCs need to have their NVMe placed into D3cold at suspend time to properly resume. Other machines break when we do that. To solve this dilemma, Microsoft introduced a "StorageD3Enable" ACPI property that tells us what to do. Note that despite its name, this property seems to be relevant for PCI devices that aren't storage related as well.
4 months ago
aplgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
asmc.c
Constify global product table
3 years ago
atk0110.c
Fix some spelling.
2 years ago
bytgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
ccp_acpi.c
constify struct cfattach
4 years ago
ccpmic.c
constify struct cfattach
4 years ago
chvgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
com_acpi.c
Too many ACPI implementations advertise serial ports that aren't actually implemented. This leads to hangs when we run "ttyflags -a" in /etc/rc. Add the same probe that we have in the ISA version of the driver to make sure the port is actually there.
3 years ago
dsdt.c
don't call pci functions when an aml node has neither _ADR or _HID
2 months ago
dsdt.h
remove prototypes with no matching function ok mpi@
2 years ago
dwgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
dwiic_acpi.c
Adjust the ACPI GPIO interface to pass the IPL down to the driver level. This allows us to use the IPL_WAKEUP flag to designate GPIO interrupts as wakeup interrupts.
10 months ago
ehci_acpi.c
make attachments use pre-existing activate functions; ok deraadt@
2 years ago
files.acpi
ACPI attachment for qcuart(4).
2 months ago
glkgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
if_bse_acpi.c
Make bse(4) interrupts mp-safe. The code has nothing to do, so only establish interrupt handlers with IPL_MPSAFE bit.
1 month ago
imxiic_acpi.c
constify struct cfattach
4 years ago
intelpmc.c
Fix gasio access size.
2 years ago
inthid.c
Rename acpihid(4) into inthid(4). This driver is really an Intel thing and I'd like to re-use acpihid(4) for a new driver that supports the generic button device that is defined by recent versions of the ACPI standard.
3 months ago
iosf_acpi.c
add iosf(4), a driver for the Intel OnChip System Fabric
3 years ago
ipmi_acpi.c
Ignore SR_IRQ in ipmi_acpi_parse_crs().
1 year ago
ispi_acpi.c
add ispi driver for Intel LPSS SPI controller
4 months ago
ohci_acpi.c
make attachments use pre-existing activate functions; ok deraadt@
2 years ago
pchgpio.c
match on Arrow Lake U/H, uses the same table as Meteor Lake P
7 months ago
pckbc_acpi.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
pluart_acpi.c
Bring back PL011 UART FIFO support to pluart(4). This time with working tx interrupts.
3 years ago
qcgpio.c
Adjust the ACPI GPIO interrupt API to pass down the IPL and do the appropriate splraise()/splx() dance around running the interrupt handler. Get rid of the wrapper in pckbc@acpi.
9 months ago
qciic.c
Adjust the ACPI GPIO interface to pass the IPL down to the driver level. This allows us to use the IPL_WAKEUP flag to designate GPIO interrupts as wakeup interrupts.
10 months ago
qcscm_acpi.c
Make qcscm(4) attach at acpi(4). This lets qcom machines which use qcscm(4) also access EFI variables in ACPI mode. Some arm64/qcom machines, like for example the Samsung Galaxy Book4 Edge, require to set the EFI variables during the installation procedure in ACPI mode, so that the BIOS can successfully boot OpenBSD.
11 months ago
qcuart_acpi.c
ACPI attachment for qcuart(4).
2 months ago
sdhc_acpi.c
Adjust the ACPI GPIO interface to pass the IPL down to the driver level. This allows us to use the IPL_WAKEUP flag to designate GPIO interrupts as wakeup interrupts.
10 months ago
smbus.h
add acpisbs, an acpi smart battery subsystem driver reading data over smbus
9 years ago
tipmic.c
handle polling when cold in tipmic_thermal_opreg_handler().
3 years ago
tpm.c
Implement the guts for "suspend-to-idle" on amd64. This enables suspend on machines that don't support S3. In its current state it doesn't save a lot of power, but this should improve over time. Implementation of wakeup methods is incomplete which means that some machine can't resume at the moment.
2 years ago
ufshci_acpi.c
set activate for ufshci_acpi and ufshci_fdt
2 years ago
xhci_acpi.c
Add ID for Qualcomm QCS6490 USB controllers.
2 months ago