Home
last modified time | relevance | path

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

12345678910>>...134

/kernel/linux/linux-6.6/drivers/acpi/
DMakefile3 # Makefile for the Linux ACPI interpreter
9 # ACPI Boot-Time Table Parsing
20 # ACPI Core Subsystem (Interpreter)
22 obj-$(CONFIG_ACPI) += acpi.o \
25 # All the builtin files are in the "acpi." module_param namespace.
26 acpi-y += osi.o osl.o utils.o reboot.o
27 acpi-y += nvs.o
30 acpi-y += wakeup.o
31 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
32 acpi-y += device_sysfs.o device_pm.o
[all …]
DKconfig3 # ACPI Configuration
9 menuconfig ACPI config
10 bool "ACPI (Advanced Configuration and Power Interface) Support"
17 Advanced Configuration and Power Interface (ACPI) support for
18 Linux requires an ACPI-compliant platform (hardware/firmware),
23 Linux ACPI provides a robust functional replacement for several
27 Management (APM) specification. If both ACPI and APM support
28 are configured, ACPI is used.
30 Linux support for ACPI is based on Intel Corporation's ACPI
31 Component Architecture (ACPI CA). For more information on the
[all …]
/kernel/linux/linux-5.10/drivers/acpi/
DMakefile3 # Makefile for the Linux ACPI interpreter
9 # ACPI Boot-Time Table Parsing
20 # ACPI Core Subsystem (Interpreter)
22 obj-$(CONFIG_ACPI) += acpi.o \
25 # All the builtin files are in the "acpi." module_param namespace.
26 acpi-y += osi.o osl.o utils.o reboot.o
27 acpi-y += nvs.o
30 acpi-y += wakeup.o
31 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
32 acpi-y += device_sysfs.o device_pm.o
[all …]
DKconfig3 # ACPI Configuration
9 menuconfig ACPI config
10 bool "ACPI (Advanced Configuration and Power Interface) Support"
16 Advanced Configuration and Power Interface (ACPI) support for
17 Linux requires an ACPI-compliant platform (hardware/firmware),
22 Linux ACPI provides a robust functional replacement for several
26 Management (APM) specification. If both ACPI and APM support
27 are configured, ACPI is used.
29 The project home page for the Linux ACPI subsystem is here:
30 <https://01.org/linux-acpi>
[all …]
/kernel/linux/linux-5.10/Documentation/arm64/
Darm-acpi.rst2 ACPI on ARMv8 Servers
5 ACPI can be used for ARMv8 general purpose servers designed to follow
11 The ARMv8 kernel implements the reduced hardware model of ACPI version
15 by the specification can be found via http://www.uefi.org/acpi.
18 or cannot be described using the mechanisms defined in the required ACPI
19 specifications, then ACPI may not be a good fit for the hardware.
24 ACPI and Linux only, on an ARMv8 system -- that is, what Linux expects of
25 ACPI and what ACPI can expect of Linux.
28 Why ACPI on ARM?
30 Before examining the details of the interface between ACPI and Linux, it is
[all …]
/kernel/linux/linux-6.6/Documentation/arch/arm64/
Darm-acpi.rst2 ACPI on Arm systems
5 ACPI can be used for Armv8 and Armv9 systems designed to follow
12 The Arm kernel implements the reduced hardware model of ACPI version
16 by the specification can be found via http://www.uefi.org/acpi.
19 or cannot be described using the mechanisms defined in the required ACPI
20 specifications, then ACPI may not be a good fit for the hardware.
25 ACPI and Linux only, on an Arm system -- that is, what Linux expects of
26 ACPI and what ACPI can expect of Linux.
29 Why ACPI on Arm?
31 Before examining the details of the interface between ACPI and Linux, it is
[all …]
/kernel/linux/linux-5.10/Documentation/firmware-guide/acpi/
Ddebug.rst4 ACPI Debug Output
7 The ACPI CA, the Linux ACPI core, and some ACPI drivers can generate debug
13 ACPI debug output is globally enabled by CONFIG_ACPI_DEBUG. If this config
21 you're interested in. At boot-time, use the acpi.debug_layer and
22 acpi.debug_level kernel command line options. After boot, you can use the
23 debug_layer and debug_level files in /sys/module/acpi/parameters/ to control
30 specific driver or part of the ACPI interpreter. To build the debug_layer
31 bitmask, look for the "#define _COMPONENT" in an ACPI source file.
33 You can set the debug_layer mask at boot-time using the acpi.debug_layer
35 to /sys/module/acpi/parameters/debug_layer.
[all …]
Denumeration.rst4 ACPI Based Device Enumeration
7 ACPI 5 introduced a set of new resources (UartTSerialBus, I2cSerialBus,
12 SoC/Chipset to appear only in ACPI namespace. These are typically devices
25 As both ACPI and Device Tree represent a tree of devices (and their
29 The ACPI implementation enumerates devices behind busses (platform, SPI and
30 I2C), creates the physical devices and binds them to their ACPI handle in
31 the ACPI namespace.
34 enumerated from ACPI namespace. This handle can be used to extract other
42 for the device and add supported ACPI IDs. If this same IP-block is used on
43 some other non-ACPI platform, the driver might work out of the box or needs
[all …]
/kernel/linux/linux-6.6/sound/soc/intel/common/
DMakefile4 snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \
5 soc-acpi-intel-hsw-bdw-match.o \
6 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
7 soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
8 soc-acpi-intel-cnl-match.o soc-acpi-intel-cfl-match.o \
9 soc-acpi-intel-cml-match.o soc-acpi-intel-icl-match.o \
10 soc-acpi-intel-tgl-match.o soc-acpi-intel-ehl-match.o \
11 soc-acpi-intel-jsl-match.o soc-acpi-intel-adl-match.o \
12 soc-acpi-intel-rpl-match.o soc-acpi-intel-mtl-match.o \
13 soc-acpi-intel-arl-match.o \
[all …]
/kernel/linux/linux-6.6/Documentation/firmware-guide/acpi/
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 …]
/kernel/linux/linux-6.6/arch/riscv/kernel/
Dacpi.c3 * RISC-V Specific Low-Level ACPI Boot Support
16 #include <linux/acpi.h>
21 int acpi_noirq = 1; /* skip ACPI IRQ initialization */
25 int acpi_pci_disabled = 1; /* skip ACPI PCI scan and IRQ initialization */
39 /* "acpi=off" disables both ACPI table parsing and interpreter */ in parse_acpi()
42 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi()
44 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi()
51 early_param("acpi", parse_acpi);
68 * and carry out revision and ACPI HW reduced compliancy tests in acpi_fadt_sanity_check()
86 * the ACPI spec, we need to update this check for exact minor revision in acpi_fadt_sanity_check()
[all …]
/kernel/linux/linux-5.10/drivers/ata/
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 …]
/kernel/linux/linux-6.6/drivers/ata/
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 …]
/kernel/linux/linux-6.6/Documentation/admin-guide/acpi/
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 …]
/kernel/linux/linux-5.10/Documentation/admin-guide/acpi/
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 …]
/kernel/linux/linux-5.10/sound/soc/intel/common/
DMakefile4 snd-soc-acpi-intel-match-objs := soc-acpi-intel-byt-match.o soc-acpi-intel-cht-match.o \
5 soc-acpi-intel-hsw-bdw-match.o \
6 soc-acpi-intel-skl-match.o soc-acpi-intel-kbl-match.o \
7 soc-acpi-intel-bxt-match.o soc-acpi-intel-glk-match.o \
8 soc-acpi-intel-cnl-match.o soc-acpi-intel-cfl-match.o \
9 soc-acpi-intel-cml-match.o soc-acpi-intel-icl-match.o \
10 soc-acpi-intel-tgl-match.o soc-acpi-intel-ehl-match.o \
11 soc-acpi-intel-jsl-match.o \
12 soc-acpi-intel-hda-match.o
15 obj-$(CONFIG_SND_SOC_ACPI_INTEL_MATCH) += snd-soc-acpi-intel-match.o
/kernel/linux/linux-6.6/drivers/platform/x86/intel/
Drst.c6 #include <linux/acpi.h>
16 struct acpi_device *acpi; in irst_show_wakeup_events() local
20 acpi = to_acpi_device(dev); in irst_show_wakeup_events()
22 status = acpi_evaluate_integer(acpi->handle, "GFFS", NULL, &value); in irst_show_wakeup_events()
33 struct acpi_device *acpi; in irst_store_wakeup_events() local
38 acpi = to_acpi_device(dev); in irst_store_wakeup_events()
44 status = acpi_execute_simple_method(acpi->handle, "SFFS", value); in irst_store_wakeup_events()
60 struct acpi_device *acpi; in irst_show_wakeup_time() local
64 acpi = to_acpi_device(dev); in irst_show_wakeup_time()
66 status = acpi_evaluate_integer(acpi->handle, "GFTV", NULL, &value); in irst_show_wakeup_time()
[all …]
/kernel/linux/linux-5.10/drivers/platform/x86/
Dintel-rst.c6 #include <linux/acpi.h>
16 struct acpi_device *acpi; in irst_show_wakeup_events() local
20 acpi = to_acpi_device(dev); in irst_show_wakeup_events()
22 status = acpi_evaluate_integer(acpi->handle, "GFFS", NULL, &value); in irst_show_wakeup_events()
33 struct acpi_device *acpi; in irst_store_wakeup_events() local
38 acpi = to_acpi_device(dev); in irst_store_wakeup_events()
44 status = acpi_execute_simple_method(acpi->handle, "SFFS", value); in irst_store_wakeup_events()
60 struct acpi_device *acpi; in irst_show_wakeup_time() local
64 acpi = to_acpi_device(dev); in irst_show_wakeup_time()
66 status = acpi_evaluate_integer(acpi->handle, "GFTV", NULL, &value); in irst_show_wakeup_time()
[all …]
Dclassmate-laptop.c11 #include <linux/acpi.h>
42 static int cmpc_add_acpi_notify_device(struct acpi_device *acpi, char *name, in cmpc_add_acpi_notify_device() argument
52 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
59 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
63 static int cmpc_remove_acpi_notify_device(struct acpi_device *acpi) in cmpc_remove_acpi_notify_device() argument
65 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device()
205 struct acpi_device *acpi; in cmpc_accel_sensitivity_show_v4() local
209 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show_v4()
210 inputdev = dev_get_drvdata(&acpi->dev); in cmpc_accel_sensitivity_show_v4()
220 struct acpi_device *acpi; in cmpc_accel_sensitivity_store_v4() local
[all …]
/kernel/linux/linux-6.6/drivers/acpi/pmic/
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 …]
/kernel/linux/linux-5.10/drivers/acpi/pmic/
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 …]
/kernel/linux/linux-6.6/drivers/platform/x86/
Dclassmate-laptop.c11 #include <linux/acpi.h>
42 static int cmpc_add_acpi_notify_device(struct acpi_device *acpi, char *name, in cmpc_add_acpi_notify_device() argument
52 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
59 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
63 static int cmpc_remove_acpi_notify_device(struct acpi_device *acpi) in cmpc_remove_acpi_notify_device() argument
65 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device()
205 struct acpi_device *acpi; in cmpc_accel_sensitivity_show_v4() local
209 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show_v4()
210 inputdev = dev_get_drvdata(&acpi->dev); in cmpc_accel_sensitivity_show_v4()
220 struct acpi_device *acpi; in cmpc_accel_sensitivity_store_v4() local
[all …]
/kernel/linux/linux-5.10/arch/arm64/kernel/
Dacpi.c3 * ARM64 Specific Low-Level ACPI Boot Support
13 #define pr_fmt(fmt) "ACPI: " fmt
15 #include <linux/acpi.h>
29 #include <acpi/ghes.h>
35 int acpi_noirq = 1; /* skip ACPI IRQ initialization */
39 int acpi_pci_disabled = 1; /* skip ACPI PCI scan and IRQ initialization */
51 /* "acpi=off" disables both ACPI table parsing and interpreter */ in parse_acpi()
54 else if (strcmp(arg, "on") == 0) /* prefer ACPI over DT */ in parse_acpi()
56 else if (strcmp(arg, "force") == 0) /* force ACPI to be enabled */ in parse_acpi()
63 early_param("acpi", parse_acpi);
[all …]
/kernel/linux/linux-6.6/Documentation/wmi/
Dacpi-interface.rst4 ACPI WMI interface
7 The ACPI WMI interface is a proprietary extension of the ACPI specification made
9 objects inside their ACPI firmware. Typical functions implemented over ACPI WMI
12 PNP0C14 ACPI device
15 Discovery of WMI objects is handled by defining ACPI devices with a PNP ID
16 of ``PNP0C14``. These devices will contain a set of ACPI buffers and methods
19 unique ACPI UID.
46 The method/notification ID is used to construct the ACPI method names used for
49 WQxx ACPI methods
53 by this required ACPI method. The last two characters of the ACPI method name
[all …]
/kernel/linux/linux-6.6/tools/power/acpi/man/
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 …]

12345678910>>...134