Lines Matching refs:handle
53 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get()
135 acpi_handle_debug(device->handle, "Power state: %s\n", in acpi_device_get_power()
147 status = acpi_evaluate_object(adev->handle, method, NULL, NULL); in acpi_dev_pm_explicit_set()
171 acpi_handle_debug(device->handle, "Power state change: %s -> %s\n", in acpi_device_set_power()
191 acpi_handle_debug(device->handle, "Power state %s not supported\n", in acpi_device_set_power()
201 acpi_handle_debug(device->handle, in acpi_device_set_power()
222 acpi_handle_debug(device->handle, in acpi_device_set_power()
278 acpi_handle_debug(device->handle, in acpi_device_set_power()
283 acpi_handle_debug(device->handle, "Power state changed to %s\n", in acpi_device_set_power()
290 acpi_handle_debug(device->handle, "Already in %s\n", in acpi_device_set_power()
296 int acpi_bus_set_power(acpi_handle handle, int state) in acpi_bus_set_power() argument
298 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_set_power()
454 int acpi_bus_update_power(acpi_handle handle, int *state_p) in acpi_bus_update_power() argument
456 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_update_power()
465 bool acpi_bus_power_manageable(acpi_handle handle) in acpi_bus_power_manageable() argument
467 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_power_manageable()
478 acpi_handle_debug(adev->handle, "Power state: %s\n", in acpi_power_up_if_adr_present()
512 status = acpi_evaluate_integer(adev->handle, "_S0W", NULL, &state); in acpi_dev_power_state_for_wake()
529 static void acpi_pm_notify_handler(acpi_handle handle, u32 val, void *not_used) in acpi_pm_notify_handler() argument
536 acpi_handle_debug(handle, "Wake notify\n"); in acpi_pm_notify_handler()
538 adev = acpi_get_acpi_dev(handle); in acpi_pm_notify_handler()
547 acpi_handle_debug(handle, "Running %pS for %s\n", in acpi_pm_notify_handler()
583 status = acpi_install_notify_handler(adev->handle, ACPI_SYSTEM_NOTIFY, in acpi_add_pm_notifier()
614 status = acpi_remove_notify_handler(adev->handle, in acpi_remove_pm_notifier()
632 bool acpi_bus_can_wakeup(acpi_handle handle) in acpi_bus_can_wakeup() argument
634 struct acpi_device *device = acpi_fetch_acpi_dev(handle); in acpi_bus_can_wakeup()
672 acpi_handle handle = adev->handle; in acpi_dev_pm_get_state() local
699 status = acpi_evaluate_integer(handle, method, NULL, &ret); in acpi_dev_pm_get_state()
750 status = acpi_evaluate_integer(handle, method, NULL, &ret); in acpi_dev_pm_get_state()
886 acpi_handle_debug(adev->handle, "GPE%2X enabled for wakeup\n", in __acpi_device_wakeup_enable()
893 acpi_handle_info(adev->handle, "Wakeup enable count out of bounds!\n"); in __acpi_device_wakeup_enable()