/openbmc/linux/drivers/acpi/ |
H A D | Makefile | 22 obj-$(CONFIG_ACPI) += acpi.o \ 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 33 acpi-$(CONFIG_ACPI_SLEEP) += proc.o 39 acpi-y += bus.o glue.o 40 acpi-y += scan.o 41 acpi-y += resource.o [all …]
|
/openbmc/linux/sound/soc/intel/common/ |
H A D | Makefile | 4 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 …]
|
/openbmc/linux/drivers/ata/ |
H A D | pata_acpi.c | 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() 75 struct pata_acpi *acpi = ap->private_data; in pacpi_discover_modes() local 79 probe = acpi->gtm; in pacpi_discover_modes() 102 struct pata_acpi *acpi = adev->link->ap->private_data; in pacpi_mode_filter() local 103 return mask & acpi->mask[adev->devno]; in pacpi_mode_filter() 115 struct pata_acpi *acpi = ap->private_data; in pacpi_set_piomode() local 118 if (!(acpi->gtm.flags & 0x10)) in pacpi_set_piomode() [all …]
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | rst.c | 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() 77 struct acpi_device *acpi; in irst_store_wakeup_time() local [all …]
|
H A D | smartconnect.c | 11 static int smartconnect_acpi_init(struct acpi_device *acpi) in smartconnect_acpi_init() argument 16 status = acpi_evaluate_integer(acpi->handle, "GAOS", NULL, &value); in smartconnect_acpi_init() 21 dev_info(&acpi->dev, "Disabling Intel Smart Connect\n"); in smartconnect_acpi_init() 22 status = acpi_execute_simple_method(acpi->handle, "SAOS", 0); in smartconnect_acpi_init() 32 MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
|
/openbmc/linux/drivers/platform/x86/ |
H A D | classmate-laptop.c | 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 226 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_store_v4() [all …]
|
H A D | panasonic-laptop.c | 196 MODULE_DEVICE_TABLE(acpi, pcc_device_ids); 506 struct acpi_device *acpi = to_acpi_device(dev); in numbatt_show() local 507 struct pcc_acpi *pcc = acpi_driver_data(acpi); in numbatt_show() 518 struct acpi_device *acpi = to_acpi_device(dev); in lcdtype_show() local 519 struct pcc_acpi *pcc = acpi_driver_data(acpi); in lcdtype_show() 530 struct acpi_device *acpi = to_acpi_device(dev); in mute_show() local 531 struct pcc_acpi *pcc = acpi_driver_data(acpi); in mute_show() 542 struct acpi_device *acpi = to_acpi_device(dev); in mute_store() local 543 struct pcc_acpi *pcc = acpi_driver_data(acpi); in mute_store() 560 struct acpi_device *acpi = to_acpi_device(dev); in sticky_key_show() local [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | debug.rst | 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 32 You can set the debug_layer mask at boot-time using the acpi.debug_layer 34 to /sys/module/acpi/parameters/debug_layer. 36 The possible components are defined in include/acpi/acoutput.h. 38 Reading /sys/module/acpi/parameters/debug_layer shows the supported mask values:: 66 You can set the debug_level mask at boot-time using the acpi.debug_level 68 to /sys/module/acpi/parameters/debug_level. 70 The possible levels are defined in include/acpi/acoutput.h. Reading [all …]
|
H A D | method-tracing.rst | 30 /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 112 # cd /sys/module/acpi/parameters 120 # cd /sys/module/acpi/parameters [all …]
|
/openbmc/linux/drivers/acpi/acpica/ |
H A D | Makefile | 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 115 acpi-y += \ [all …]
|
/openbmc/qemu/tests/functional/acpi-bits/bits-tests/ |
H A D | testacpi.py2 | 33 import acpi 54 cpupaths = acpi.get_cpupaths() 55 apic = acpi.parse_apic() 60 processor = acpi.evaluate(cpupath) 62 uid = acpi.evaluate(cpupath + "._UID") 63 mat_buffer = acpi.evaluate(cpupath + "._MAT") 67 mat = acpi._MAT(mat_buffer) 69 if subtable.subtype == acpi.MADT_TYPE_LOCAL_APIC: 80 if subtable.subtype == acpi.MADT_TYPE_LOCAL_X2APIC: 92 uniques = acpi.parse_cpu_method("_PSS") [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-platform-dptf | 4 Contact: linux-acpi@vger.kernel.org 11 Contact: linux-acpi@vger.kernel.org 19 Contact: linux-acpi@vger.kernel.org 27 Contact: linux-acpi@vger.kernel.org 43 Contact: linux-acpi@vger.kernel.org 50 Contact: linux-acpi@vger.kernel.org 57 Contact: linux-acpi@vger.kernel.org 64 Contact: linux-acpi@vger.kernel.org 71 Contact: linux-acpi@vger.kernel.org 78 Contact: linux-acpi@vger.kernel.org [all …]
|
H A D | sysfs-bus-acpi | 1 What: /sys/bus/acpi/devices/.../path 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 46 What: /sys/bus/acpi/devices/.../uid 53 What: /sys/bus/acpi/devices/.../eject 61 What: /sys/bus/acpi/devices/.../status 91 What: /sys/bus/acpi/devices/.../hrv
|
H A D | sysfs-devices-platform-dock | 4 Contact: linux-acpi@vger.kernel.org 12 Contact: linux-acpi@vger.kernel.org 20 Contact: linux-acpi@vger.kernel.org 27 Contact: linux-acpi@vger.kernel.org 36 Contact: linux-acpi@vger.kernel.org
|
/openbmc/u-boot/lib/efi_loader/ |
H A D | efi_acpi.c | 22 u64 acpi = U32_MAX; in efi_acpi_register() local 27 EFI_RUNTIME_SERVICES_DATA, 16, &acpi); in efi_acpi_register() 36 assert(!(acpi & 0xf)); in efi_acpi_register() 37 write_acpi_tables(acpi); in efi_acpi_register() 41 (void *)(uintptr_t)acpi); in efi_acpi_register()
|
/openbmc/linux/drivers/gpu/drm/gma500/ |
H A D | opregion.c | 241 struct opregion_acpi *acpi; in psb_intel_opregion_video_event() local 246 acpi = system_opregion->acpi; in psb_intel_opregion_video_event() 247 acpi->csts = 0; in psb_intel_opregion_video_event() 264 if (opregion->acpi) { in psb_intel_opregion_init() 268 opregion->acpi->csts = 0; in psb_intel_opregion_init() 269 opregion->acpi->drdy = 1; in psb_intel_opregion_init() 284 if (opregion->acpi) { in psb_intel_opregion_fini() 285 opregion->acpi->drdy = 0; in psb_intel_opregion_fini() 296 opregion->acpi = NULL; in psb_intel_opregion_fini() 338 opregion->acpi = base + OPREGION_ACPI_OFFSET; in psb_intel_opregion_setup()
|
/openbmc/openbmc/poky/meta/recipes-bsp/acpid/acpid/ |
H A D | init | 4 test -d /proc/acpi || exit 0 5 mkdir -p /etc/acpi/events 10 if [ ! -d /etc/acpi/events ]; then 13 start-stop-daemon -o -S -x /usr/sbin/acpid -- -c /etc/acpi/events
|
/openbmc/linux/drivers/gpu/drm/nouveau/nvkm/engine/device/ |
H A D | acpi.c | 33 struct nvkm_device *device = container_of(nb, typeof(*device), acpi.nb); in nvkm_acpi_ntfy() 47 unregister_acpi_notifier(&device->acpi.nb); in nvkm_acpi_fini() 55 device->acpi.nb.notifier_call = nvkm_acpi_ntfy; in nvkm_acpi_init() 56 register_acpi_notifier(&device->acpi.nb); in nvkm_acpi_init()
|
/openbmc/qemu/hw/acpi/ |
H A D | meson.build | 10 acpi_ss.add(when: 'CONFIG_ACPI_CPU_HOTPLUG', if_false: files('acpi-cpu-hotplug-stub.c')) 12 acpi_ss.add(when: 'CONFIG_ACPI_MEMORY_HOTPLUG', if_false: files('acpi-mem-hotplug-stub.c')) 14 acpi_ss.add(when: 'CONFIG_ACPI_NVDIMM', if_false: files('acpi-nvdimm-stub.c')) 24 acpi_ss.add(when: 'CONFIG_ACPI_PCIHP', if_false: files('acpi-pci-hotplug-stub.c')) 29 acpi_ss.add(when: 'CONFIG_PC', if_false: files('acpi-x86-stub.c')) 33 system_ss.add(when: 'CONFIG_ACPI', if_false: files('acpi-stub.c', 'aml-build-stub.c', 'ghes-stub.c'… 36 system_ss.add(files('acpi-qmp-cmds.c'))
|
/openbmc/linux/drivers/firmware/efi/ |
H A D | dev-path-parser.c | 28 'A' + ((node->acpi.hid >> 10) & 0x1f) - 1, in parse_acpi_path() 29 'A' + ((node->acpi.hid >> 5) & 0x1f) - 1, in parse_acpi_path() 30 'A' + ((node->acpi.hid >> 0) & 0x1f) - 1, in parse_acpi_path() 31 node->acpi.hid >> 16); in parse_acpi_path() 35 if (ret == 0 && node->acpi.uid == uid) in parse_acpi_path() 37 if (ret == -ENODATA && node->acpi.uid == 0) in parse_acpi_path()
|
/openbmc/linux/Documentation/admin-guide/acpi/ |
H A D | initrd_table_override.rst | 21 drivers/acpi/tables.c. 70 # They must be put into a /kernel/firmware/acpi directory inside the cpio 77 mkdir -p kernel/firmware/acpi 78 cp dsdt.aml kernel/firmware/acpi 83 cp facp.aml kernel/firmware/acpi 84 cp ssdt1.aml kernel/firmware/acpi 91 # reboot with increased acpi debug level, e.g. boot params: 92 acpi.debug_level=0x2 acpi.debug_layer=0xFFFFFFFF 111 ftp://kernel.org/pub/linux/kernel/people/lenb/acpi/utils/pmtools/acpidump 115 /sys/firmware/acpi/tables
|
/openbmc/linux/drivers/gpu/drm/i915/display/ |
H A D | intel_opregion.c | 657 struct opregion_acpi *acpi; in intel_opregion_video_event() local 663 acpi = opregion->acpi; in intel_opregion_video_event() 665 if (event->type == 0x80 && ((acpi->cevt & 1) == 0)) in intel_opregion_video_event() 668 acpi->csts = 0; in intel_opregion_video_event() 681 if (i < ARRAY_SIZE(opregion->acpi->didl)) { in set_did() 682 opregion->acpi->didl[i] = val; in set_did() 684 i -= ARRAY_SIZE(opregion->acpi->didl); in set_did() 686 if (WARN_ON(i >= ARRAY_SIZE(opregion->acpi->did2))) in set_did() 689 opregion->acpi->did2[i] = val; in set_did() 707 max_outputs = ARRAY_SIZE(opregion->acpi->didl) + in intel_didl_outputs() [all …]
|
/openbmc/linux/Documentation/driver-api/acpi/ |
H A D | linuxized-acpica.rst | 16 ACPICA and Linux. It also describes how ACPICA code in drivers/acpi/acpica, 17 include/acpi and tools/power/acpi is automatically updated to follow the 85 include/acpi/acpiosxf.h 86 drivers/acpi/osl.c 87 include/acpi/platform 93 drivers/acpi/acpica 94 include/acpi/ac*.h 95 tools/power/acpi 101 drivers/acpi 102 include/linux/acpi.h [all …]
|
/openbmc/linux/Documentation/admin-guide/laptops/ |
H A D | thinkpad-acpi.rst | 12 http://ibm-acpi.sf.net/ 19 This driver used to be named ibm-acpi until kernel 2.6.21 and release 20 0.13-20070314. It used to be in the drivers/acpi tree, but it was 21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel 25 The driver is named "thinkpad-acpi". In some places, like module 29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too 58 site, http://ibm-acpi.sf.net/. I appreciate any success or failure 89 The procfs interface creates the /proc/acpi/ibm directory. There is a 106 thinkpad-acpi's implementation of sysfs interfaces. 108 Also, any bugs in the thinkpad-acpi sysfs driver code or in the [all …]
|
/openbmc/qemu/hw/display/ |
H A D | meson.build | 44 system_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-vga.c'), 45 if_false: files('acpi-vga-stub.c')) 52 qxl_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-vga.c'), 53 if_false: files('acpi-vga-stub.c')) 120 virtio_vga_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-vga.c'), 121 if_false: files('acpi-vga-stub.c')) 128 virtio_vga_gl_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-vga.c'), 129 if_false: files('acpi-vga-stub.c')) 137 virtio_vga_rutabaga_ss.add(when: 'CONFIG_ACPI', if_true: files('acpi-vga.c'), 138 if_false: files('acpi-vga-stub.c'))
|