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()
485 if (this_walk_state->num_operands < obj_desc->method.param_count) { in acpi_ds_call_control_method()
492 else if (this_walk_state->num_operands > obj_desc->method.param_count) { in acpi_ds_call_control_method()
511 acpi_ds_create_walk_state(obj_desc->method.owner_id, NULL, obj_desc, in acpi_ds_call_control_method()
539 obj_desc->method.aml_start, in acpi_ds_call_control_method()
540 obj_desc->method.aml_length, info, in acpi_ds_call_control_method()
574 if (obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ds_call_control_method()
576 obj_desc->method.dispatch.implementation(next_walk_state); in acpi_ds_call_control_method()
731 if (!(method_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) in acpi_ds_terminate_control_method()
732 && (method_desc->method.thread_count == 1)) { in acpi_ds_terminate_control_method()
748 if (method_desc->method. in acpi_ds_terminate_control_method()
752 method. in acpi_ds_terminate_control_method()
755 method_desc->method.info_flags &= in acpi_ds_terminate_control_method()
764 if (method_desc->method.mutex) { in acpi_ds_terminate_control_method()
768 method_desc->method.mutex->mutex.acquisition_depth--; in acpi_ds_terminate_control_method()
769 if (!method_desc->method.mutex->mutex.acquisition_depth) { in acpi_ds_terminate_control_method()
771 method_desc->method.mutex->mutex. in acpi_ds_terminate_control_method()
774 acpi_os_release_mutex(method_desc->method. in acpi_ds_terminate_control_method()
776 method_desc->method.mutex->mutex.thread_id = 0; in acpi_ds_terminate_control_method()
783 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method()
784 method_desc->method.thread_count--; in acpi_ds_terminate_control_method()
791 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method()
798 method_desc->method.thread_count)); in acpi_ds_terminate_control_method()
812 if (method_desc->method. in acpi_ds_terminate_control_method()
832 method_desc->method.info_flags &= in acpi_ds_terminate_control_method()
835 method_desc->method.info_flags |= in acpi_ds_terminate_control_method()
838 method_desc->method.sync_level = 0; in acpi_ds_terminate_control_method()
844 (method_desc->method. in acpi_ds_terminate_control_method()
846 acpi_ut_release_owner_id(&method_desc->method.owner_id); in acpi_ds_terminate_control_method()
851 method.node, method_desc, walk_state); in acpi_ds_terminate_control_method()