Lines Matching refs:handle

91 acpi_status acpi_bus_get_status_handle(acpi_handle handle,  in acpi_bus_get_status_handle()  argument
96 status = acpi_evaluate_integer(handle, "_STA", NULL, sta); in acpi_bus_get_status_handle()
113 status = acpi_bus_get_status_handle(device->handle, &sta); in acpi_bus_get_status()
131 void acpi_bus_private_data_handler(acpi_handle handle, in acpi_bus_private_data_handler() argument
138 int acpi_bus_attach_private_data(acpi_handle handle, void *data) in acpi_bus_attach_private_data() argument
142 status = acpi_attach_data(handle, in acpi_bus_attach_private_data()
145 acpi_handle_debug(handle, "Error attaching device data\n"); in acpi_bus_attach_private_data()
153 int acpi_bus_get_private_data(acpi_handle handle, void **data) in acpi_bus_get_private_data() argument
160 status = acpi_get_data(handle, acpi_bus_private_data_handler, data); in acpi_bus_get_private_data()
162 acpi_handle_debug(handle, "No context for object\n"); in acpi_bus_get_private_data()
170 void acpi_bus_detach_private_data(acpi_handle handle) in acpi_bus_detach_private_data() argument
172 acpi_detach_data(handle, acpi_bus_private_data_handler); in acpi_bus_detach_private_data()
176 static void acpi_print_osc_error(acpi_handle handle, in acpi_print_osc_error() argument
182 if (ACPI_FAILURE(acpi_get_name(handle, ACPI_FULL_PATHNAME, &buffer))) in acpi_print_osc_error()
217 acpi_status acpi_run_osc(acpi_handle handle, struct acpi_osc_context *context) in acpi_run_osc() argument
248 status = acpi_evaluate_object(handle, "_OSC", &input, &output); in acpi_run_osc()
258 acpi_print_osc_error(handle, context, in acpi_run_osc()
267 acpi_print_osc_error(handle, context, in acpi_run_osc()
270 acpi_print_osc_error(handle, context, in acpi_run_osc()
273 acpi_print_osc_error(handle, context, in acpi_run_osc()
314 acpi_handle handle; in acpi_bus_osc_support() local
327 if (ACPI_FAILURE(acpi_get_handle(NULL, "\\_SB", &handle))) in acpi_bus_osc_support()
329 if (ACPI_SUCCESS(acpi_run_osc(handle, &context))) { in acpi_bus_osc_support()
348 static void acpi_bus_notify(acpi_handle handle, u32 type, void *data) in acpi_bus_notify() argument
357 acpi_handle_debug(handle, "ACPI_NOTIFY_BUS_CHECK event\n"); in acpi_bus_notify()
362 acpi_handle_debug(handle, "ACPI_NOTIFY_DEVICE_CHECK event\n"); in acpi_bus_notify()
367 acpi_handle_debug(handle, "ACPI_NOTIFY_DEVICE_WAKE event\n"); in acpi_bus_notify()
371 acpi_handle_debug(handle, "ACPI_NOTIFY_EJECT_REQUEST event\n"); in acpi_bus_notify()
376 acpi_handle_debug(handle, "ACPI_NOTIFY_DEVICE_CHECK_LIGHT event\n"); in acpi_bus_notify()
381 acpi_handle_err(handle, "Device cannot be configured due " in acpi_bus_notify()
386 acpi_handle_err(handle, "Device cannot be configured due " in acpi_bus_notify()
391 acpi_handle_err(handle, "Device has suffered a power fault\n"); in acpi_bus_notify()
395 acpi_handle_debug(handle, "Unknown event type 0x%x\n", type); in acpi_bus_notify()
399 adev = acpi_bus_get_acpi_device(handle); in acpi_bus_notify()
415 acpi_evaluate_ost(handle, type, ost_code, NULL); in acpi_bus_notify()
418 static void acpi_device_notify(acpi_handle handle, u32 event, void *data) in acpi_device_notify() argument
454 status = acpi_install_notify_handler(device->handle, in acpi_device_install_notify_handler()
473 acpi_remove_notify_handler(device->handle, ACPI_DEVICE_NOTIFY, in acpi_device_remove_notify_handler()