Home
last modified time | relevance | path

Searched refs:acpi (Results 1 – 25 of 171) sorted by relevance

1234567

/drivers/acpi/
DMakefile16 obj-y += acpi.o \
20 acpi-y += osl.o utils.o reboot.o
21 acpi-y += nvs.o
24 acpi-y += wakeup.o
25 acpi-$(CONFIG_ACPI_SYSTEM_POWER_STATES_SUPPORT) += sleep.o
26 acpi-y += device_sysfs.o device_pm.o
27 acpi-$(CONFIG_ACPI_SLEEP) += proc.o
33 acpi-y += bus.o glue.o
34 acpi-y += scan.o
35 acpi-y += resource.o
[all …]
DKconfig27 <https://01.org/linux-acpi>
40 <http://www.acpi.info>
41 <http://www.uefi.org/acpi/specs>
76 bool "Deprecated power /proc/acpi directories"
80 deprecated power /proc/acpi/ directories to exist, even when
83 /proc/acpi/battery/* (/sys/class/power_supply/*)
84 /proc/acpi/ac_adapter/* (sys/class/power_supply/*)
85 This option has no effect on /proc/acpi/ directories
90 Say N to delete power /proc/acpi/ directories that have moved to /sys/
150 /proc/acpi/battery. If you have a mobile system with a battery,
[all …]
Dhed.c30 MODULE_DEVICE_TABLE(acpi, acpi_hed_ids);
/drivers/ata/
Dpata_acpi.c39 struct pata_acpi *acpi = ap->private_data; in pacpi_pre_reset() local
40 if (ACPI_HANDLE(&ap->tdev) == NULL || ata_acpi_gtm(ap, &acpi->gtm) < 0) in pacpi_pre_reset()
55 struct pata_acpi *acpi = ap->private_data; in pacpi_cable_detect() local
57 if ((acpi->mask[0] | acpi->mask[1]) & (0xF8 << ATA_SHIFT_UDMA)) in pacpi_cable_detect()
74 struct pata_acpi *acpi = ap->private_data; in pacpi_discover_modes() local
78 probe = acpi->gtm; in pacpi_discover_modes()
101 struct pata_acpi *acpi = adev->link->ap->private_data; in pacpi_mode_filter() local
102 return mask & acpi->mask[adev->devno]; in pacpi_mode_filter()
114 struct pata_acpi *acpi = ap->private_data; in pacpi_set_piomode() local
117 if (!(acpi->gtm.flags & 0x10)) in pacpi_set_piomode()
[all …]
/drivers/platform/x86/
Dintel-rst.c31 struct acpi_device *acpi; in irst_show_wakeup_events() local
35 acpi = to_acpi_device(dev); in irst_show_wakeup_events()
37 status = acpi_evaluate_integer(acpi->handle, "GFFS", NULL, &value); in irst_show_wakeup_events()
48 struct acpi_device *acpi; in irst_store_wakeup_events() local
53 acpi = to_acpi_device(dev); in irst_store_wakeup_events()
60 status = acpi_execute_simple_method(acpi->handle, "SFFS", value); in irst_store_wakeup_events()
77 struct acpi_device *acpi; in irst_show_wakeup_time() local
81 acpi = to_acpi_device(dev); in irst_show_wakeup_time()
83 status = acpi_evaluate_integer(acpi->handle, "GFTV", NULL, &value); in irst_show_wakeup_time()
94 struct acpi_device *acpi; in irst_store_wakeup_time() local
[all …]
Dclassmate-laptop.c55 static int cmpc_add_acpi_notify_device(struct acpi_device *acpi, char *name, in cmpc_add_acpi_notify_device() argument
65 inputdev->dev.parent = &acpi->dev; in cmpc_add_acpi_notify_device()
72 dev_set_drvdata(&acpi->dev, inputdev); in cmpc_add_acpi_notify_device()
76 static int cmpc_remove_acpi_notify_device(struct acpi_device *acpi) in cmpc_remove_acpi_notify_device() argument
78 struct input_dev *inputdev = dev_get_drvdata(&acpi->dev); in cmpc_remove_acpi_notify_device()
218 struct acpi_device *acpi; in cmpc_accel_sensitivity_show_v4() local
222 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_show_v4()
223 inputdev = dev_get_drvdata(&acpi->dev); in cmpc_accel_sensitivity_show_v4()
233 struct acpi_device *acpi; in cmpc_accel_sensitivity_store_v4() local
239 acpi = to_acpi_device(dev); in cmpc_accel_sensitivity_store_v4()
[all …]
Dintel-smartconnect.c26 static int smartconnect_acpi_init(struct acpi_device *acpi) in smartconnect_acpi_init() argument
31 status = acpi_evaluate_integer(acpi->handle, "GAOS", NULL, &value); in smartconnect_acpi_init()
36 dev_info(&acpi->dev, "Disabling Intel Smart Connect\n"); in smartconnect_acpi_init()
37 status = acpi_execute_simple_method(acpi->handle, "SAOS", 0); in smartconnect_acpi_init()
60 MODULE_DEVICE_TABLE(acpi, smartconnect_ids);
Dpanasonic-laptop.c187 MODULE_DEVICE_TABLE(acpi, pcc_device_ids);
370 struct acpi_device *acpi = to_acpi_device(dev); in show_numbatt() local
371 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_numbatt()
382 struct acpi_device *acpi = to_acpi_device(dev); in show_lcdtype() local
383 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_lcdtype()
394 struct acpi_device *acpi = to_acpi_device(dev); in show_mute() local
395 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_mute()
406 struct acpi_device *acpi = to_acpi_device(dev); in show_sticky() local
407 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_sticky()
418 struct acpi_device *acpi = to_acpi_device(dev); in set_sticky() local
[all …]
Dthinkpad_acpi.c281 struct tp_acpi_drv_struct *acpi; member
750 if (!ibm || !ibm->acpi || !ibm->acpi->notify) in dispatch_acpi_notify()
753 ibm->acpi->notify(ibm, event); in dispatch_acpi_notify()
761 BUG_ON(!ibm->acpi); in setup_acpi_notify()
763 if (!*ibm->acpi->handle) in setup_acpi_notify()
769 rc = acpi_bus_get_device(*ibm->acpi->handle, &ibm->acpi->device); in setup_acpi_notify()
775 ibm->acpi->device->driver_data = ibm; in setup_acpi_notify()
776 sprintf(acpi_device_class(ibm->acpi->device), "%s/%s", in setup_acpi_notify()
780 status = acpi_install_notify_handler(*ibm->acpi->handle, in setup_acpi_notify()
781 ibm->acpi->type, dispatch_acpi_notify, ibm); in setup_acpi_notify()
[all …]
Dpvpanic.c40 MODULE_DEVICE_TABLE(acpi, pvpanic_device_ids);
/drivers/acpi/acpica/
DMakefile9 obj-y += acpi.o
11 acpi-y := \
28 acpi-y += \
45 acpi-y += \
71 acpi-y += \
82 acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
84 acpi-y += \
107 acpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
109 acpi-y += \
122 acpi-y += \
[all …]
/drivers/gpu/drm/i915/
Dintel_opregion.c596 struct opregion_acpi *acpi; in intel_opregion_video_event() local
605 acpi = system_opregion->acpi; in intel_opregion_video_event()
607 if (event->type == 0x80 && ((acpi->cevt & 1) == 0)) in intel_opregion_video_event()
610 acpi->csts = 0; in intel_opregion_video_event()
629 if (i < ARRAY_SIZE(opregion->acpi->didl)) { in get_did()
630 did = opregion->acpi->didl[i]; in get_did()
632 i -= ARRAY_SIZE(opregion->acpi->didl); in get_did()
634 if (WARN_ON(i >= ARRAY_SIZE(opregion->acpi->did2))) in get_did()
637 did = opregion->acpi->did2[i]; in get_did()
645 if (i < ARRAY_SIZE(opregion->acpi->didl)) { in set_did()
[all …]
/drivers/gpu/drm/gma500/
Dopregion.c247 struct opregion_acpi *acpi; in psb_intel_opregion_video_event() local
252 acpi = system_opregion->acpi; in psb_intel_opregion_video_event()
253 acpi->csts = 0; in psb_intel_opregion_video_event()
270 if (opregion->acpi) { in psb_intel_opregion_init()
274 opregion->acpi->csts = 0; in psb_intel_opregion_init()
275 opregion->acpi->drdy = 1; in psb_intel_opregion_init()
290 if (opregion->acpi) { in psb_intel_opregion_fini()
291 opregion->acpi->drdy = 0; in psb_intel_opregion_fini()
302 opregion->acpi = NULL; in psb_intel_opregion_fini()
343 opregion->acpi = base + OPREGION_ACPI_OFFSET; in psb_intel_opregion_setup()
/drivers/gpu/drm/nouveau/nvkm/engine/device/
Dacpi.c33 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()
DKbuild1 nvkm-y += nvkm/engine/device/acpi.o
/drivers/xen/
DMakefile14 dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
15 xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
33 obj-$(CONFIG_XEN_ACPI_HOTPLUG_MEMORY) += xen-acpi-memhotplug.o
34 obj-$(CONFIG_XEN_ACPI_HOTPLUG_CPU) += xen-acpi-cpuhotplug.o
35 obj-$(CONFIG_XEN_ACPI_PROCESSOR) += xen-acpi-processor.o
/drivers/firmware/efi/
Defi.c32 .acpi = EFI_INVALID_TABLE_ADDR,
97 if (efi.acpi != EFI_INVALID_TABLE_ADDR) in systab_show()
98 str += sprintf(str, "ACPI=0x%lx\n", efi.acpi); in systab_show()
330 {ACPI_TABLE_GUID, "ACPI", &efi.acpi},
/drivers/cpufreq/
DMakefile30 obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
106 obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
/drivers/usb/core/
DMakefile11 usbcore-$(CONFIG_ACPI) += usb-acpi.o
/drivers/iio/gyro/
Dbmg160_i2c.c47 MODULE_DEVICE_TABLE(acpi, bmg160_acpi_match);
/drivers/iio/accel/
Dbmc150-accel-spi.c64 MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
Dbmc150-accel-i2c.c74 MODULE_DEVICE_TABLE(acpi, bmc150_accel_acpi_match);
/drivers/pwm/
Dpwm-lpss-platform.c61 MODULE_DEVICE_TABLE(acpi, pwm_lpss_acpi_match);
/drivers/platform/goldfish/
Dgoldfish_pipe.c126 MODULE_DEVICE_TABLE(acpi, goldfish_pipe_acpi_match);
/drivers/mfd/
Dintel-lpss-acpi.c50 MODULE_DEVICE_TABLE(acpi, intel_lpss_acpi_ids);

1234567