Home
last modified time | relevance | path

Searched full:acpi (Results 1 – 25 of 1580) sorted by relevance

12345678910>>...64

/linux/drivers/net/wireless/ath/ath12k/
H A Dacpi.c8 #include "acpi.h"
19 ath12k_dbg(ab, ATH12K_DBG_BOOT, "invalid acpi handler\n"); in ath12k_acpi_dsm_get_data()
34 ab->acpi.func_bit = obj->integer.value; in ath12k_acpi_dsm_get_data()
37 ab->acpi.bit_flag = obj->integer.value; in ath12k_acpi_dsm_get_data()
47 ath12k_warn(ab, "invalid ACPI DSM BDF size: %d\n", in ath12k_acpi_dsm_get_data()
53 memcpy(ab->acpi.bdf_string, obj->string.pointer, in ath12k_acpi_dsm_get_data()
63 ath12k_warn(ab, "invalid ACPI DSM func size: %d\n", in ath12k_acpi_dsm_get_data()
69 ab->acpi.func_bit = 0; in ath12k_acpi_dsm_get_data()
71 ab->acpi.func_bit += obj->buffer.pointer[i] << (i * 8); in ath12k_acpi_dsm_get_data()
76 ath12k_warn(ab, "invalid ACPI DSM TAS config size: %d\n", in ath12k_acpi_dsm_get_data()
[all …]
/linux/sound/soc/intel/common/
H A DMakefile2 snd-soc-acpi-intel-match-y := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \
3 soc-acpi-intel-hsw-bdw-match.o \
4 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
5 soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
6 soc-acpi-intel-cnl-match.o soc-acpi
[all...]
/linux/drivers/acpi/
H A DMakefile3 # Makefile for the Linux ACPI interpreter
13 # ACPI Boot-Time Table Parsing
23 # ACPI Core Subsystem (Interpreter)
25 obj-$(CONFIG_ACPI) += acpi.o \
28 # All the builtin files are in the "acpi." module_param namespace.
29 acpi-y += osi.o osl.o utils.o reboot.o
30 acpi-y += nvs.o
33 acpi-y += wakeup.o
34 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
35 acpi-y += device_sysfs.o device_pm.o
[all …]
/linux/Documentation/firmware-guide/acpi/
H A Ddebug.rst4 ACPI CA Debug Output
7 The ACPI CA can generate debug output. This document describes how to use this
13 The ACPI CA debug output is globally enabled by CONFIG_ACPI_DEBUG. If this
20 you're interested in. At boot-time, use the acpi.debug_layer and
21 acpi.debug_level kernel command line options. After boot, you can use the
22 debug_layer and debug_level files in /sys/module/acpi/parameters/ to control
29 specific part of the ACPI interpreter. To build the debug_layer bitmask, look
30 for the "#define _COMPONENT" in an ACPI source file.
32 You can set the debug_layer mask at boot-time using the acpi.debug_layer
34 to /sys/module/acpi/parameters/debug_layer.
[all …]
H A Dnamespace.rst5 ACPI Device Tree - Representation of ACPI Namespace
17 The Linux ACPI subsystem converts ACPI namespace objects into a Linux
19 receiving ACPI hotplug notification events. For each device object
21 /sys/bus/acpi/devices.
23 This document illustrates the structure of the ACPI device tree.
25 ACPI Definition Blocks
28 The ACPI firmware sets up RSDP (Root System Description Pointer) in the
30 Description Table). The XSDT always points to the FADT (Fixed ACPI
32 includes various fixed-length entries that describe fixed ACPI features
39 blocks that contain definitions of various objects, including ACPI
[all …]
H A Dmethod-tracing.rst30 /sys/module/acpi/parameters/debug_layer) and per-type level (known as
31 debug level, configured via /sys/module/acpi/parameters/debug_level).
46 # cd /sys/module/acpi/parameters
54 # cd /sys/module/acpi/parameters
58 # echo "method" > /sys/module/acpi/parameters/trace_state
63 # cd /sys/module/acpi/parameters
67 # echo "method-once" > /sys/module/acpi/parameters/trace_state
71 Refer to Documentation/firmware-guide/acpi/debug.rst for possible debug layer/level
74 Full path of a control method that can be found in the ACPI namespace.
112 # cd /sys/module/acpi/parameters
[all …]
/linux/drivers/ata/
H A Dpata_acpi.c3 * ACPI PATA driver
15 #include <linux/acpi.h>
40 struct pata_acpi *acpi = ap->private_data; in pacpi_pre_reset() local
41 if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0) in pacpi_pre_reset()
56 struct pata_acpi *acpi = ap->private_data; in pacpi_cable_detect() local
58 if ((acpi->mask[0] | acpi->mask[1]) & (0xF8 << ATA_SHIFT_UDMA)) in pacpi_cable_detect()
65 * pacpi_discover_modes - filter non ACPI modes
69 * Try the modes available and see which ones the ACPI method will
70 * set up sensibly. From this we get a mask of ACPI modes we can use
75 struct pata_acpi *acpi = ap->private_data; in pacpi_discover_modes() local
[all …]
/linux/Documentation/admin-guide/acpi/
H A Dinitrd_table_override.rst4 Upgrading ACPI tables via initrd
11 upgrade the ACPI execution environment that is defined by the ACPI tables
12 via upgrading the ACPI tables provided by the BIOS with an instrumented,
13 modified, more recent version one, or installing brand new ACPI tables.
19 For a full list of ACPI tables that can be upgraded/installed, take a look
21 drivers/acpi/tables.c.
23 All ACPI tables iasl (Intel's ACPI compiler and disassembler) knows should
27 - ACPI_SIG_FACS (does not have an ordinary ACPI table header)
44 ACPI BIOS table compatibility with the Linux kernel by modifying old
45 platform provided ACPI tables or inserting new ACPI tables.
[all …]
/linux/arch/riscv/kernel/
H A Dacpi.c3 * RISC-V Specific Low-Level ACPI Boot Support
16 #include <linux/acpi.h>
25 int acpi_noirq = 1; /* skip ACPI IRQ initialization */
29 int acpi_pci_disabled = 1; /* skip ACPI PCI scan and IRQ initialization */
43 /* "acpi=off" disables both ACPI table parsing and interpreter */ in parse_acpi()
46 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi()
48 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi()
55 early_param("acpi", parse_acpi);
72 * and carry out revision and ACPI HW reduced compliancy tests in acpi_fadt_sanity_check()
90 * the ACPI spec, we need to update this check for exact minor revision in acpi_fadt_sanity_check()
[all …]
/linux/drivers/platform/x86/
H A Dclassmate-laptop.c11 #include <linux/acpi.h>
41 static int cmpc_add_acpi_notify_device(struct acpi_device *acpi, char *name, in cmpc_add_acpi_notify_device() argument
51 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
58 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
62 static int cmpc_remove_acpi_notify_device(struct acpi_device *acpi) in cmpc_remove_acpi_notify_device() argument
64 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device()
204 struct acpi_device *acpi; in cmpc_accel_sensitivity_show_v4() local
208 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show_v4()
209 inputdev = dev_get_drvdata(&acpi->dev); in cmpc_accel_sensitivity_show_v4()
224 struct acpi_device *acpi; in cmpc_accel_sensitivity_store_v4() local
263 struct acpi_device *acpi; cmpc_accel_g_select_show_v4() local
283 struct acpi_device *acpi; cmpc_accel_g_select_store_v4() local
320 struct acpi_device *acpi; cmpc_accel_open_v4() local
340 struct acpi_device *acpi; cmpc_accel_close_v4() local
397 cmpc_accel_add_v4(struct acpi_device * acpi) cmpc_accel_add_v4() argument
442 cmpc_accel_remove_v4(struct acpi_device * acpi) cmpc_accel_remove_v4() argument
568 struct acpi_device *acpi; cmpc_accel_sensitivity_show() local
588 struct acpi_device *acpi; cmpc_accel_sensitivity_store() local
621 struct acpi_device *acpi; cmpc_accel_open() local
631 struct acpi_device *acpi; cmpc_accel_close() local
647 cmpc_accel_add(struct acpi_device * acpi) cmpc_accel_add() argument
681 cmpc_accel_remove(struct acpi_device * acpi) cmpc_accel_remove() argument
741 struct acpi_device *acpi; cmpc_tablet_idev_init() local
753 cmpc_tablet_add(struct acpi_device * acpi) cmpc_tablet_add() argument
759 cmpc_tablet_remove(struct acpi_device * acpi) cmpc_tablet_remove() argument
961 cmpc_ipml_add(struct acpi_device * acpi) cmpc_ipml_add() argument
1005 cmpc_ipml_remove(struct acpi_device * acpi) cmpc_ipml_remove() argument
1077 cmpc_keys_add(struct acpi_device * acpi) cmpc_keys_add() argument
1083 cmpc_keys_remove(struct acpi_device * acpi) cmpc_keys_remove() argument
[all...]
H A DKconfig139 depends on ACPI
170 If you have an ACPI-WMI compatible Acer/ Wistron laptop, say Y or M
176 tristate "Advantech ACPI Software Button Driver"
177 depends on ACPI && INPUT
188 depends on ACPI && PCI
199 depends on ACPI
211 ACPI events and input events, and on the Lucid the built-in
219 If you have an ACPI-compatible ASUS laptop, say Y or M here.
223 depends on ACPI
292 If you have an ACPI-WMI compatible Asus Notebook, say Y or M
[all …]
/linux/drivers/platform/x86/intel/
H A Drst.c6 #include <linux/acpi.h>
17 struct acpi_device *acpi; in irst_show_wakeup_events() local
21 acpi = to_acpi_device(dev); in irst_show_wakeup_events()
23 status = acpi_evaluate_integer(acpi->handle, "GFFS", NULL, &value); in irst_show_wakeup_events()
34 struct acpi_device *acpi; in irst_store_wakeup_events() local
39 acpi = to_acpi_device(dev); in irst_store_wakeup_events()
45 status = acpi_execute_simple_method(acpi->handle, "SFFS", value); in irst_store_wakeup_events()
61 struct acpi_device *acpi; in irst_show_wakeup_time() local
65 acpi = to_acpi_device(dev); in irst_show_wakeup_time()
67 status = acpi_evaluate_integer(acpi->handle, "GFTV", NULL, &value); in irst_show_wakeup_time()
[all …]
/linux/drivers/acpi/pmic/
H A DKconfig6 Select this option to enable support for ACPI operation
14 bool "ACPI operation region support for Bay Trail Crystal Cove PMIC"
17 This config adds ACPI operation region support for the Bay Trail
21 bool "ACPI operation region support for Cherry Trail Crystal Cove PMIC"
24 This config adds ACPI operation region support for the Cherry Trail
28 bool "ACPI operation region support for XPower AXP288 PMIC"
31 This config adds ACPI operation region support for XPower AXP288 PMIC.
34 bool "ACPI operation region support for BXT WhiskeyCove PMIC"
37 This config adds ACPI operation region support for BXT WhiskeyCove PMIC.
40 bool "ACPI operation region support for CHT Whiskey Cove PMIC"
[all …]
/linux/arch/arm64/kernel/
H A Dacpi.c3 * ARM64 Specific Low-Level ACPI Boot Support
13 #define pr_fmt(fmt) "ACPI: " fmt
15 #include <linux/acpi.h>
32 #include <acpi/ghes.h>
33 #include <acpi/processor.h>
39 int acpi_noirq = 1; /* skip ACPI IRQ initialization */
43 int acpi_pci_disabled = 1; /* skip ACPI PCI scan and IRQ initialization */
56 /* "acpi=off" disables both ACPI table parsing and interpreter */ in parse_acpi()
59 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi()
61 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi()
[all …]
/linux/include/acpi/
H A Dactbl.h4 * Name: actbl.h - Basic ACPI Table Definitions
15 * Fundamental ACPI tables
17 * This file contains definitions for the ACPI tables that are directly consumed
18 * by ACPICA. All other tables are consumed by the OS-dependent ACPI-related
21 * The RSDP and FACS do not use the common ACPI table header. All other ACPI
32 #define ACPI_SIG_FADT "FACP" /* Fixed ACPI Description Table */
33 #define ACPI_SIG_FACS "FACS" /* Firmware ACPI Control Structure */
44 * All tables and structures must be byte-packed to match the ACPI
55 * binary wire protocols." (Or ACPI tables and buffers.) "If you ask me,
63 * Master ACPI Table Header. This common header is used by all ACPI tables
[all …]
H A Dacpi.h4 * Name: acpi.h - Master public include file used to interface to ACPICA
18 * all ACPI tables (FADT, MADT, etc.)
22 #include <acpi/platform/acenv.h> /* Environment-specific items */
23 #include <acpi/acnames.h> /* Common ACPI names and strings */
24 #include <acpi/actypes.h> /* ACPICA data types and structures */
25 #include <acpi/acexcep.h> /* ACPICA exceptions */
26 #include <acpi/actbl.h> /* ACPI table definitions */
27 #include <acpi/acrestyp.h> /* Resource Descriptor structs */
28 #include <acpi/platform/acenvex.h> /* Extra environment-specific items */
29 #include <acpi/acoutput.h> /* Error output and Debug macros */
[all …]
/linux/tools/power/acpi/man/
H A Dacpidump.83 acpidump \- dump a system's ACPI tables to an ASCII file
12 dumps the systems ACPI tables to an ASCII file appropriate for
74 Acpi table [DSDT] - 15974 bytes written to DSDT.dat
75 Acpi table [FACS] - 64 bytes written to FACS.dat
76 Acpi table [FACP] - 116 bytes written to FACP.dat
77 Acpi table [APIC] - 120 bytes written to APIC.dat
78 Acpi table [MCFG] - 60 bytes written to MCFG.dat
79 Acpi table [SSDT] - 444 bytes written to SSDT1.dat
80 Acpi table [SSDT] - 439 bytes written to SSDT2.dat
81 Acpi table [SSDT] - 439 bytes written to SSDT3.dat
[all …]
/linux/Documentation/PCI/
H A Dacpi-info.rst4 ACPI considerations for PCI host bridges
7 The general rule is that the ACPI namespace should describe everything the
11 host bridges, so the ACPI namespace must describe each host bridge, the
17 described via ACPI. The OS can discover them via the standard PCI
19 devices and read and size their BARs. However, ACPI may describe PCI
24 ACPI resource description is done via _CRS objects of devices in the ACPI
34 know early in boot, before it can parse the ACPI namespace. If a new table
40 ACPI, that device will have a specific _HID/_CID that tells the OS what
55 ACPI defines a Consumer/Producer bit to distinguish the bridge registers
57 BIOSes didn't use that bit correctly. The result is that the current ACPI
[all …]
/linux/drivers/acpi/acpica/
H A DMakefile10 # use acpi.o to put all files here into acpi.o modparam namespace
11 obj-y += acpi.o
13 acpi-y := \
31 acpi-y += \
48 acpi-y += \
77 acpi-y += \
87 acpi-$(CONFIG_PCI) += hwpci.o
88 acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
90 acpi-y += \
113 acpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
[all …]
H A Dutstrtoul64.c9 #include <acpi/acpi.h>
24 * 2) Runtime "Explicit conversion" as defined in the ACPI specification.
25 * 3) Runtime "Implicit conversion" as defined in the ACPI specification.
35 * acpi_dump - ACPI table physical addresses
48 * In ACPI, the only place where octal numbers are supported is within
50 * interface. According the ACPI specification, there is no ACPI runtime
76 * acpi_dump - ACPI table physical addresses
162 * an "implicit conversion" by the ACPI specification. Used by
171 * Octal strings are not supported, as per the ACPI specification.
177 * Conversion rules as extracted from the ACPI specification:
[all …]
/linux/Documentation/driver-api/cxl/platform/
H A Dacpi.rst4 ACPI Tables
7 ACPI is the "Advanced Configuration and Power Interface", which is a standard
9 For the purpose of this theory of operation, when referring to "ACPI" we will
10 usually refer to "ACPI Tables" - which are the way a platform (BIOS/EFI)
13 The Following ACPI tables contain *static* configuration and performance data
19 acpi/cedt.rst
20 acpi/srat.rst
21 acpi/hmat.rst
22 acpi/slit.rst
23 acpi/dsdt.rst
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-bus-acpi1 What: /sys/bus/acpi/devices/.../path
5 This attribute indicates the full path of ACPI namespace
10 fixed ACPI hardware features (like power and sleep
13 What: /sys/bus/acpi/devices/.../modalias
18 That is acpi:HHHHHHHH:[CCCCCCC:]. Where each HHHHHHHH or
21 What: /sys/bus/acpi/devices/.../hid
30 What: /sys/bus/acpi/devices/.../description
37 What: /sys/bus/acpi/devices/.../adr
42 _ADR control method, which is present for ACPI device
46 What: /sys/bus/acpi/devices/.../uid
[all …]
H A Dsysfs-firmware-acpi1 What: /sys/firmware/acpi/fpdt/
5 ACPI Firmware Performance Data Table (FPDT) provides
44 What: /sys/firmware/acpi/bgrt/
48 The BGRT is an ACPI 5.0 feature that allows the OS
67 What: /sys/firmware/acpi/hotplug/
72 devices supported by ACPI, such as containers, memory modules,
75 that class of devices will be handled by the ACPI core hotplug
77 of /sys/firmware/acpi/hotplug/.
83 enabled: If set, the ACPI core will handle notifications of
95 What: /sys/firmware/acpi/interrupts/
[all …]
/linux/Documentation/wmi/devices/
H A Duniwill-laptop.rst136 EC ACPI interface description
139 The ``INOU0000`` ACPI device is a virtual device used to access various hardware registers
141 by calling ACPI control methods. The ``uniwill-laptop`` driver uses this device to communicate
142 with the EC because the ACPI control methods are faster than the WMI methods described above.
144 ACPI control methods used for reading registers take a single ACPI integer containing the address
145 of the register to read and return a ACPI integer containing the data inside said register. ACPI
146 control methods used for writing registers however take two ACPI integers, with the additional
147 ACPI integer containing the data to be written into the register. Such ACPI control methods return
154 ``MMWB`` for writing) or four bytes (``MMRD`` for reading and ``MMWD`` for writing). Those ACPI
162 (read) and ``ECRW`` (write) ACPI control methods, with the maximum register address being ``0xFFF``.
[all …]
/linux/Documentation/power/
H A Dapm-acpi.rst2 APM or ACPI?
7 Advanced Configuration and Power Interface (ACPI). ACPI is the newer
13 build a kernel with both ACPI and APM enabled (as of 2.3.x ACPI is
14 enabled by default). If a working ACPI implementation is found, the
15 ACPI driver will override and disable APM, otherwise the APM driver
18 No, sorry, you cannot have both ACPI and APM enabled and running at
19 once. Some people with broken ACPI or broken APM implementations
26 Both APM and ACPI rely on user-space daemons, apmd and acpid
30 Go ahead and start both. If ACPI or APM is not available on your

12345678910>>...64