Home
last modified time | relevance | path

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

12345678910>>...15

/drivers/ata/
Dpata_acpi.c40 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 …]
/drivers/platform/x86/
Dintel-rst.c16 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 …]
Dclassmate-laptop.c42 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 …]
Dintel-smartconnect.c11 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);
Dpanasonic-laptop.c174 MODULE_DEVICE_TABLE(acpi, pcc_device_ids);
353 struct acpi_device *acpi = to_acpi_device(dev); in show_numbatt() local
354 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_numbatt()
365 struct acpi_device *acpi = to_acpi_device(dev); in show_lcdtype() local
366 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_lcdtype()
377 struct acpi_device *acpi = to_acpi_device(dev); in show_mute() local
378 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_mute()
389 struct acpi_device *acpi = to_acpi_device(dev); in show_sticky() local
390 struct pcc_acpi *pcc = acpi_driver_data(acpi); in show_sticky()
401 struct acpi_device *acpi = to_acpi_device(dev); in set_sticky() local
[all …]
Dthinkpad_acpi.c283 struct tp_acpi_drv_struct *acpi; member
772 if (!ibm || !ibm->acpi || !ibm->acpi->notify) in dispatch_acpi_notify()
775 ibm->acpi->notify(ibm, event); in dispatch_acpi_notify()
783 BUG_ON(!ibm->acpi); in setup_acpi_notify()
785 if (!*ibm->acpi->handle) in setup_acpi_notify()
791 rc = acpi_bus_get_device(*ibm->acpi->handle, &ibm->acpi->device); in setup_acpi_notify()
797 ibm->acpi->device->driver_data = ibm; in setup_acpi_notify()
798 sprintf(acpi_device_class(ibm->acpi->device), "%s/%s", in setup_acpi_notify()
802 status = acpi_install_notify_handler(*ibm->acpi->handle, in setup_acpi_notify()
803 ibm->acpi->type, dispatch_acpi_notify, ibm); in setup_acpi_notify()
[all …]
Dintel_scu_pltdrv.c45 MODULE_DEVICE_TABLE(acpi, intel_scu_acpi_ids);
/drivers/acpi/acpica/
DMakefile10 obj-y += acpi.o
12 acpi-y := \
30 acpi-y += \
47 acpi-y += \
76 acpi-y += \
86 acpi-$(CONFIG_PCI) += hwpci.o
87 acpi-$(ACPI_FUTURE_USAGE) += hwtimer.o
89 acpi-y += \
112 acpi-$(ACPI_FUTURE_USAGE) += nsdumpdv.o
114 acpi-y += \
[all …]
/drivers/gpu/drm/gma500/
Dopregion.c244 struct opregion_acpi *acpi; in psb_intel_opregion_video_event() local
249 acpi = system_opregion->acpi; in psb_intel_opregion_video_event()
250 acpi->csts = 0; in psb_intel_opregion_video_event()
267 if (opregion->acpi) { in psb_intel_opregion_init()
271 opregion->acpi->csts = 0; in psb_intel_opregion_init()
272 opregion->acpi->drdy = 1; in psb_intel_opregion_init()
287 if (opregion->acpi) { in psb_intel_opregion_fini()
288 opregion->acpi->drdy = 0; in psb_intel_opregion_fini()
299 opregion->acpi = NULL; in psb_intel_opregion_fini()
340 opregion->acpi = base + OPREGION_ACPI_OFFSET; in psb_intel_opregion_setup()
/drivers/gpu/drm/i915/display/
Dintel_opregion.c632 struct opregion_acpi *acpi; in intel_opregion_video_event() local
638 acpi = opregion->acpi; in intel_opregion_video_event()
640 if (event->type == 0x80 && ((acpi->cevt & 1) == 0)) in intel_opregion_video_event()
643 acpi->csts = 0; in intel_opregion_video_event()
656 if (i < ARRAY_SIZE(opregion->acpi->didl)) { in set_did()
657 opregion->acpi->didl[i] = val; in set_did()
659 i -= ARRAY_SIZE(opregion->acpi->didl); in set_did()
661 if (WARN_ON(i >= ARRAY_SIZE(opregion->acpi->did2))) in set_did()
664 opregion->acpi->did2[i] = val; in set_did()
682 max_outputs = ARRAY_SIZE(opregion->acpi->didl) + in intel_didl_outputs()
[all …]
/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()
DKbuild2 nvkm-y += nvkm/engine/device/acpi.o
/drivers/xen/
DMakefile13 dom0-$(CONFIG_XEN_ACPI) += acpi.o $(xen-pad-y)
14 xen-pad-$(CONFIG_X86) += xen-acpi-pad.o
30 obj-$(CONFIG_XEN_ACPI_HOTPLUG_MEMORY) += xen-acpi-memhotplug.o
31 obj-$(CONFIG_XEN_ACPI_HOTPLUG_CPU) += xen-acpi-cpuhotplug.o
32 obj-$(CONFIG_XEN_ACPI_PROCESSOR) += xen-acpi-processor.o
/drivers/firmware/efi/
Ddev-path-parser.c44 'A' + ((node->acpi.hid >> 10) & 0x1f) - 1, in parse_acpi_path()
45 'A' + ((node->acpi.hid >> 5) & 0x1f) - 1, in parse_acpi_path()
46 'A' + ((node->acpi.hid >> 0) & 0x1f) - 1, in parse_acpi_path()
47 node->acpi.hid >> 16); in parse_acpi_path()
48 sprintf(hid_uid.uid, "%u", node->acpi.uid); in parse_acpi_path()
/drivers/acpi/
DKconfig30 <https://01.org/linux-acpi>
77 Export /sys/kernel/debug/acpi/acpidbg for userspace utilities
156 /proc/acpi/battery. If you have a mobile system with a battery,
335 See Documentation/admin-guide/acpi/dsdt-override.rst
357 See Documentation/admin-guide/acpi/initrd_table_override.rst for details
367 See Documentation/admin-guide/acpi/initrd_table_override.rst for details
375 Use the acpi.debug_layer and acpi.debug_level kernel command-line
376 parameters documented in Documentation/firmware-guide/acpi/debug.rst and
447 Documentation/firmware-guide/acpi/method-customizing.rst.
462 /sys/firmware/acpi/bgrt/ .
[all …]
DMakefile25 # All the builtin files are in the "acpi." module_param namespace.
Dtiny-power-button.c20 MODULE_DEVICE_TABLE(acpi, tiny_power_button_device_ids);
/drivers/platform/mips/
DMakefile3 obj-$(CONFIG_RS780E_ACPI) += rs780e-acpi.o
/drivers/dma/dw/
DMakefile4 dw_dmac_core-$(CONFIG_ACPI) += acpi.o
/drivers/cpufreq/
DMakefile32 obj-$(CONFIG_X86_ACPI_CPUFREQ) += acpi-cpufreq.o
111 obj-$(CONFIG_IA64_ACPI_CPUFREQ) += ia64-acpi-cpufreq.o
/drivers/iio/magnetometer/
Dbmc150_magn_spi.c53 MODULE_DEVICE_TABLE(acpi, bmc150_magn_acpi_match);
/drivers/iio/imu/
Dfxos8700_spi.c38 MODULE_DEVICE_TABLE(acpi, fxos8700_acpi_match);
/drivers/thunderbolt/
DMakefile7 thunderbolt-${CONFIG_ACPI} += acpi.o
/drivers/usb/core/
DMakefile13 usbcore-$(CONFIG_ACPI) += usb-acpi.o
/drivers/iio/imu/bmi160/
Dbmi160_spi.c40 MODULE_DEVICE_TABLE(acpi, bmi160_acpi_match);

12345678910>>...15