Lines Matching refs:method

70 	op = acpi_ps_alloc_op(AML_METHOD_OP, obj_desc->method.aml_start);  in acpi_ds_auto_serialize_method()
88 obj_desc->method.aml_start, in acpi_ds_auto_serialize_method()
89 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method()
146 walk_state->method_desc->method.sync_level = 0; in acpi_ds_detect_named_opcodes()
147 walk_state->method_desc->method.info_flags |= in acpi_ds_detect_named_opcodes()
269 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex()
270 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex()
308 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution()
317 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution()
323 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
342 (!(obj_desc->method. in acpi_ds_begin_method_execution()
345 obj_desc->method.mutex->mutex.sync_level)) { in acpi_ds_begin_method_execution()
360 !obj_desc->method.mutex->mutex.thread_id || in acpi_ds_begin_method_execution()
362 obj_desc->method.mutex->mutex.thread_id)) { in acpi_ds_begin_method_execution()
368 acpi_ex_system_wait_mutex(obj_desc->method.mutex-> in acpi_ds_begin_method_execution()
378 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
382 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
392 if (!(obj_desc->method.info_flags & in acpi_ds_begin_method_execution()
395 obj_desc->method.sync_level; in acpi_ds_begin_method_execution()
398 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
400 obj_desc->method.mutex->mutex.sync_level; in acpi_ds_begin_method_execution()
402 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
409 obj_desc->method.mutex->mutex.acquisition_depth++; in acpi_ds_begin_method_execution()
417 if (!obj_desc->method.owner_id) { in acpi_ds_begin_method_execution()
418 status = acpi_ut_allocate_owner_id(&obj_desc->method.owner_id); in acpi_ds_begin_method_execution()
428 obj_desc->method.thread_count++; in acpi_ds_begin_method_execution()
435 if (obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
436 acpi_os_release_mutex(obj_desc->method.mutex->mutex.os_mutex); in acpi_ds_begin_method_execution()
498 acpi_ds_create_walk_state(obj_desc->method.owner_id, NULL, obj_desc, in acpi_ds_call_control_method()
526 obj_desc->method.aml_start, in acpi_ds_call_control_method()
527 obj_desc->method.aml_length, info, in acpi_ds_call_control_method()
542 for (i = 0; i < obj_desc->method.param_count; i++) { in acpi_ds_call_control_method()
568 if (obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ds_call_control_method()
570 obj_desc->method.dispatch.implementation(next_walk_state); in acpi_ds_call_control_method()
725 if (!(method_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) in acpi_ds_terminate_control_method()
726 && (method_desc->method.thread_count == 1)) { in acpi_ds_terminate_control_method()
742 if (method_desc->method. in acpi_ds_terminate_control_method()
746 method. in acpi_ds_terminate_control_method()
749 method_desc->method.info_flags &= in acpi_ds_terminate_control_method()
758 if (method_desc->method.mutex) { in acpi_ds_terminate_control_method()
762 method_desc->method.mutex->mutex.acquisition_depth--; in acpi_ds_terminate_control_method()
763 if (!method_desc->method.mutex->mutex.acquisition_depth) { in acpi_ds_terminate_control_method()
765 method_desc->method.mutex->mutex. in acpi_ds_terminate_control_method()
768 acpi_os_release_mutex(method_desc->method. in acpi_ds_terminate_control_method()
770 method_desc->method.mutex->mutex.thread_id = 0; in acpi_ds_terminate_control_method()
777 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method()
778 method_desc->method.thread_count--; in acpi_ds_terminate_control_method()
785 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method()
792 method_desc->method.thread_count)); in acpi_ds_terminate_control_method()
806 if (method_desc->method. in acpi_ds_terminate_control_method()
826 method_desc->method.info_flags &= in acpi_ds_terminate_control_method()
829 method_desc->method.info_flags |= in acpi_ds_terminate_control_method()
832 method_desc->method.sync_level = 0; in acpi_ds_terminate_control_method()
838 (method_desc->method. in acpi_ds_terminate_control_method()
840 acpi_ut_release_owner_id(&method_desc->method.owner_id); in acpi_ds_terminate_control_method()
845 method.node, method_desc, walk_state); in acpi_ds_terminate_control_method()