/freebsd/share/man/man4/ |
H A D | acpi_battery.4 | 31 .Nd ACPI battery management subsystem 33 .Cd "device acpi" 37 is a driver for battery management features of the ACPI module. 39 An ACPI-compatible battery device supports either a Control 42 .Pq ACPI Machine Language 44 and the latter is controlled directly through the ACPI EC 65 .Bl -tag -width indent 71 .Bl -tag -width indent 78 .Bl -tag -width indent 93 .Li -1 [all …]
|
H A D | acpi.4 | 30 .Nm acpi 33 .Cd "device acpi" 40 driver provides support for the Intel/Microsoft/Compaq/Toshiba ACPI 45 ACPI core support is provided by the ACPI CA reference implementation 53 compiled into the kernel on platforms where ACPI is mandatory. 64 .Va hw.acpi.acline ) . 65 .Bl -tag -width indent 66 .It Va debug.acpi.enable_debug_objects 81 To enable ACPI CPU idling control, 84 .Li acpi [all …]
|
H A D | timecounters.4 | 32 The kernel uses several types of time-related devices, such as: real time clocks, 38 periodically, to run different time-based events. 45 performance-critical places like the process scheduler. 63 .Bd -literal 64 kern.timecounter.choice: TSC-low(-100) HPET(950) i8254(0) ACPI-fast(900) dummy(-1000000) 65 kern.timecounter.tc.ACPI-fast.mask: 16777215 66 kern.timecounter.tc.ACPI-fast.counter: 13467909 67 kern.timecounter.tc.ACPI-fast.frequency: 3579545 68 kern.timecounter.tc.ACPI-fast.quality: 900 77 kern.timecounter.tc.TSC-low.mask: 4294967295 [all …]
|
H A D | aibs.4 | 23 .Nd "ASUSTeK AI Booster ACPI ATK0110 voltage, temperature and fan sensor" 28 .Bd -ragged -offset indent 35 .Bd -literal -offset indent 45 .Tn ACPI 59 .Tn ACPI . 62 .Bl -bullet 79 For example, on an ASUS V3-P5G965 barebone: 80 .Bd -literal -offset indent 91 > sysctl -d dev.aibs.0.{volt,temp,fan} 126 .Bl -bullet [all …]
|
H A D | wdatwd.4 | 1 .\"- 30 .Nd device driver for the ACPI WDAT based watchdog interrupt timer 35 .Bd -ragged -offset indent 42 .Bd -literal -offset indent 50 support for the watchdog interrupt timer in ACPI WDAT (Watchdog Action Table). 56 The following read-only 59 .Bl -tag -width indent 82 .%U http://msdn.microsoft.com/en-us/windows/hardware/gg463320.aspx 86 .An -nosplit
|
H A D | cpufreq.4 | 79 configured P-state.) 87 .Bl -tag -width indent 111 If enabled, the AMD hwpstate driver limits administrative control of P-states 117 P-state, which results in the inability to ever raise the P-state back to P0 126 .Bl -tag -compact -width "hwpstate_intel(4)" 128 ACPI CPU performance states 140 Intel SMI-based SpeedStep for PIIX4 146 .Bl -tag -compact -width "acpi_throttle" 148 ACPI CPU throttling 232 Kernel drivers offering hardware-specific CPU frequency control export [all …]
|
/freebsd/sys/dev/iicbus/controller/vybrid/ |
H A D | vf_i2c_acpi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright (c) 2024 Pierre-Luc Drouin <pldrouin@pldrouin.net> 29 * Vybrid Family Inter-Integrated Circuit (I2C) 30 * Originally based on Chapter 48, Vybrid Reference Manual, Rev. 5, 07/2013 31 * Currently based on Chapter 21, LX2160A Reference Manual, Rev. 1, 10/2021 33 * The current implementation is based on the original driver by Ruslan Bukin, 34 * later modified by Dawid Górecki, and split into FDT and ACPI drivers by Val 47 #include <contrib/dev/acpica/include/acpi.h> 83 sc->dev = dev; in vf_i2c_acpi_attach() [all …]
|
H A D | vf_i2c.h | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 5 * Copyright (c) 2024 Pierre-Luc Drouin <pldrouin@pldrouin.net> 30 * Vybrid Family Inter-Integrated Circuit (I2C) 31 * Originally based on Chapter 48, Vybrid Reference Manual, Rev. 5, 07/2013 32 * Currently based on Chapter 21, LX2160A Reference Manual, Rev. 1, 10/2021 34 * The current implementation is based on the original driver by Ruslan Bukin, 35 * later modified by Dawid Górecki, and split into FDT and ACPI drivers by Val 49 #define VF_I2C_DEVSTR "Vybrid Family Inter-Integrated Circuit (I2C)"
|
/freebsd/sys/dev/acpica/ |
H A D | acpi_timer.c | 1 /*- 42 #include <contrib/dev/acpica/include/acpi.h> 49 * A timecounter based on the free-running ACPI timer. 51 * Based on the i386-only mp_clock.c by <phk@FreeBSD.ORG>. 54 /* Hooks for the ACPI CA debugging infrastructure */ 92 DRIVER_MODULE(acpi_timer, acpi, acpi_timer_driver, 0, 0); 93 MODULE_DEPEND(acpi_timer, acpi, 1, 1, 1); 100 "ACPI", /* name */ 101 -1 /* quality (chosen later) */ 112 * Locate the ACPI timer using the FADT, set up and allocate the I/O resources [all …]
|
H A D | acpi_if.m | 1 #- 31 #include <contrib/dev/acpica/include/acpi.h> 33 INTERFACE acpi; 74 # EISA PNP IDs or ACPI _HID/_CID values. 98 # Evaluate an ACPI method or object, given its path. 103 # Specify NULL to begin the search at the ACPI root. 145 # Get the highest power state (D0-D3) that is usable for a device when 171 # Specify NULL to begin the scan at the ACPI root. 180 # Returns: AE_OK or an error value, based on the callback return value
|
/freebsd/sys/contrib/device-tree/src/arm64/qcom/ |
H A D | msm8992-msft-lumia-talkman.dts | 1 // SPDX-License-Identifier: BSD-3-Clause 6 /dts-v1/; 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/input/gpio-keys.h> 19 * hence there is no need for msm-id and friends. 22 /* This enables graphical output via bootloader-enabled display. 23 * acpi=no is required due to WP platforms having ACPI support, but 24 * only for Windows-based OSes. 27 bootargs = "earlycon=efifb console=efifb acpi=no"; 29 #address-cells = <2>; [all …]
|
/freebsd/sbin/devd/ |
H A D | devd.conf | 7 # NB: device-name is shorthand for 'match device-name' 12 # that they are returned from readdir(3). The rule-sets are combined 16 pid-file "/var/run/devd.pid"; 19 #XXX Yes, this is gross -- imp 20 set wifi-driver-regex 21 "(ath|ath[0-9]+k|bwi|bwn|ipw|iwlwifi|iwi|iwm|iwn|malo|mwl|mt79|mtw|otus|\ 22 ral|rsu|rtw|rtwn|rum|run|uath|upgt|ural|urtw|wpi|wtap|zyd)[0-9]+"; 41 match "subsystem" "!(usbus|wlan)[0-9]+"; 51 device-name "$wifi-driver-regex"; 52 action "/etc/pccard_ether $device-name startchildren"; [all …]
|
H A D | devd.conf.5 | 26 .\" Copyright (c) 1999-2000 by Internet Software Consortium 59 .Bl -tag -width ".Ic options" 94 .Bd -literal -offset indent 101 .Ss Sub-statements 102 The following sub-statements are supported within the 105 .Bl -tag -width ".Ic directory" 114 .It Ic pid-file Qq Pa /var/run/devd.pid ; 116 .It Ic set Ar regexp-name Qq Ar (some|regexp) ; 118 .Ar regexp-name . 130 The following sub-statements are supported within the [all …]
|
/freebsd/sys/dev/virtio/mmio/ |
H A D | virtio_mmio_acpi.c | 1 /*- 7 * Cambridge Computer Laboratory under DARPA/AFRL contract (FA8750-10-C-0237) 37 * This driver is heavily based on VirtIO PCI interface driver. 48 #include <contrib/dev/acpica/include/acpi.h> 65 DRIVER_MODULE(virtio_mmio, acpi, vtmmio_acpi_driver, 0,0); 66 MODULE_DEPEND(virtio_mmio, acpi, 1, 1, 1);
|
/freebsd/sys/contrib/device-tree/Bindings/ |
H A D | incomplete-devices.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/incomplete-devices.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 16 Examples are devices using ACPI PRP0001 with non-updatable firmware/ACPI 17 tables or old PowerPC platforms without in-tree DTS. 21 un-approved compatible. 29 - description: 30 Rejected compatibles in Devicetree, but used in ACPI-based devices [all …]
|
/freebsd/sys/x86/acpica/ |
H A D | acpi_apm.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include <contrib/dev/acpica/include/acpi.h> 86 if (battp->state & ACPI_BATT_STAT_DISCHARG) { in acpi_capm_convert_battstate() 87 if (battp->cap >= 50) in acpi_capm_convert_battstate() 92 if (battp->state & ACPI_BATT_STAT_CRITICAL) in acpi_capm_convert_battstate() 94 if (battp->state & ACPI_BATT_STAT_CHARGING) in acpi_capm_convert_battstate() 97 /* If still unknown, determine it based on the battery capacity. */ in acpi_capm_convert_battstate() 99 if (battp->cap >= 50) in acpi_capm_convert_battstate() 115 if (battp->cap >= 50) in acpi_capm_convert_battflags() [all …]
|
H A D | madt.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 44 #include <contrib/dev/acpica/include/acpi.h> 67 static MALLOC_DEFINE(M_MADT, "madt_table", "ACPI MADT Table Items"); 100 * Look for an ACPI Multiple APIC Description Table ("APIC") 109 return (-50); in madt_probe() 120 madt_length = madt->Header.Length; in madt_probe_cpus() 121 KASSERT(madt != NULL, ("Unable to re-map MADT")); in madt_probe_cpus() 154 if ((dmartbl->Flags & ACPI_DMAR_X2APIC_OPT_OUT) != 0) in madt_x2apic_disable_reason() 174 * It seems that some SandyBridge-based notebook in madt_x2apic_disable_reason() [all …]
|
/freebsd/sys/arm64/acpica/ |
H A D | acpi_iort.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 39 #include <contrib/dev/acpica/include/acpi.h> 93 enum AcpiIortNodeType type; /* ACPI type */ 94 u_int node_offset; /* offset in IORT - node ID */ 120 switch(node->type) { in iort_entry_get_id_mapping_index() 123 if (node->revision < 1) in iort_entry_get_id_mapping_index() 124 return (-1); in iort_entry_get_id_mapping_index() 127 * If all the control interrupts are GISCV based the ID in iort_entry_get_id_mapping_index() 130 if (node->data.smmu_v3.EventGsiv != 0 && in iort_entry_get_id_mapping_index() [all …]
|
/freebsd/stand/lua/ |
H A D | core.lua | 1 -- 2 -- SPDX-License-Identifier: BSD-2-Clause 3 -- 4 -- Copyright (c) 2015 Pedro Souza <pedrosouza@freebsd.org> 5 -- Copyright (c) 2018 Kyle Evans <kevans@FreeBSD.org> 6 -- All rights reserved. 7 -- 8 -- Redistribution and use in source and binary forms, with or without 9 -- modification, are permitted provided that the following conditions 10 -- are met: [all …]
|
/freebsd/sys/contrib/dev/acpica/components/hardware/ |
H A D | hwregs.c | 3 * Module Name: hwregs - Read/write access functions for the various ACPI 12 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 29 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 105 * re-exports any such software from a foreign destination, Licensee shall 106 * ensure that the distribution and export/re-export of the software is in 109 * any of its subsidiaries will export/re-export any technical data, process, 131 * 3. Neither the names of the above-listed copyright holders nor the names 153 #include <contrib/dev/acpica/include/acpi.h> 190 * PARAMETERS: Address - GAS register address 191 * Reg - GAS register structure [all …]
|
/freebsd/sys/dev/dpaa2/ |
H A D | dpaa2_mc_acpi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 4 * Copyright © 2021-2022 Dmitry Salychev 31 * The DPAA2 Management Complex (MC) Bus Driver (ACPI-based). 35 * hardware objects used in network-oriented packet processing applications. 48 #include <contrib/dev/acpica/include/acpi.h> 80 if (s == -1) in dpaa2_mac_dev_probe() 99 s = acpi_GetInteger(h, "_UID", &sc->uid); in dpaa2_mac_dev_attach() 105 s = device_get_property(dev, "reg", &sc->reg, sizeof(sc->reg), in dpaa2_mac_dev_attach() 107 if (s == -1) { in dpaa2_mac_dev_attach() [all …]
|
/freebsd/libexec/rc/rc.d/ |
H A D | power_profile | 3 # Modify the power profile based on AC line state. This script is 17 desc="Modify the power profile based on AC line state" 19 LOGGER="logger -t power_profile -p daemon.notice" 33 if [ -z "$(sysctl -n ${node} 2> /dev/null)" ]; then 53 if [ -n "${value}" ]; then 60 if [ $# -ne 1 ]; then 84 # Set the various sysctls based on the profile's values. 85 node="hw.acpi.cpu.cx_lowest" 92 highest_value="`(sysctl -n dev.cpu.0.freq_levels | \ 93 awk '{ split($0, a, "[/ ]"); print a[1] }' -) 2> /dev/null`" [all …]
|
/freebsd/sys/contrib/dev/acpica/include/ |
H A D | actbl2.h | 3 * Name: actbl2.h - ACPI Table Definitions 11 * Some or all of this work - Copyright (c) 1999 - 2025, Intel Corp. 28 * 2.3. Intel grants Licensee a non-exclusive and non-transferable patent 104 * re-exports any such software from a foreign destination, Licensee shall 105 * ensure that the distribution and export/re-export of the software is in 108 * any of its subsidiaries will export/re-export any technical data, process, 130 * 3. Neither the names of the above-listed copyright holders nor the names 158 * Additional ACPI Tables (2) 173 #define ACPI_SIG_BDAT "BDAT" /* BIOS Data ACPI Table */ 198 #define ACPI_SIG_RHCT "RHCT" /* RISC-V Hart Capabilities Table */ [all …]
|
/freebsd/sys/dev/acpi_support/ |
H A D | acpi_toshiba.c | 1 /*- 35 #include <contrib/dev/acpica/include/acpi.h> 47 * dedicated ACPI methods instead of using this primitive interface. 48 * However, the ACPI methods seem to be incomplete in some areas (for 79 #define HCI_LCD_BRIGHTNESS_SHIFT (16 - HCI_LCD_BRIGHTNESS_BITS) 80 #define HCI_LCD_BRIGHTNESS_MAX ((1 << HCI_LCD_BRIGHTNESS_BITS) - 1) 86 #define HCI_CPU_SPEED_SHIFT (16 - HCI_CPU_SPEED_BITS) 87 #define HCI_CPU_SPEED_MAX ((1 << HCI_CPU_SPEED_BITS) - 1) 152 ACPI_SERIAL_DECL(toshiba, "ACPI Toshiba Extras"); 182 DRIVER_MODULE(acpi_toshiba, acpi, acpi_toshiba_driver, 0, 0); [all …]
|
/freebsd/sys/dev/fdc/ |
H A D | fdc_acpi.c | 1 /*- 2 * SPDX-License-Identifier: BSD-2-Clause 37 #include <contrib/dev/acpica/include/acpi.h> 106 sc->fdc_dev = dev; in fdc_acpi_attach() 127 * this fails, fall back to the ISA hints-based probe method. in fdc_acpi_attach() 137 error = fdc_acpi_probe_children(bus, dev, obj->Buffer.Pointer); in fdc_acpi_attach() 163 bcopy(fde, ctx->fd_present, sizeof(ctx->fd_present)); in fdc_acpi_probe_children() 164 ctx->index = 0; in fdc_acpi_probe_children() 165 ctx->dev = dev; in fdc_acpi_probe_children() 166 ctx->acpi_dev = bus; in fdc_acpi_probe_children() [all …]
|