Lines Matching refs:method

124 				  obj_desc->method.aml_start,  in acpi_ds_auto_serialize_method()
125 obj_desc->method.aml_length, NULL, 0); in acpi_ds_auto_serialize_method()
184 walk_state->method_desc->method.sync_level = 0; in acpi_ds_detect_named_opcodes()
185 walk_state->method_desc->method.info_flags |= in acpi_ds_detect_named_opcodes()
297 mutex_desc->mutex.sync_level = method_desc->method.sync_level; in acpi_ds_create_method_mutex()
298 method_desc->method.mutex = mutex_desc; in acpi_ds_create_method_mutex()
334 if (obj_desc->method.thread_count == ACPI_UINT8_MAX) { in acpi_ds_begin_method_execution()
343 if (obj_desc->method.info_flags & ACPI_METHOD_SERIALIZED) { in acpi_ds_begin_method_execution()
349 if (!obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
368 (!(obj_desc->method. in acpi_ds_begin_method_execution()
371 obj_desc->method.mutex->mutex.sync_level)) { in acpi_ds_begin_method_execution()
385 !obj_desc->method.mutex->mutex.thread_id || in acpi_ds_begin_method_execution()
387 obj_desc->method.mutex->mutex.thread_id)) { in acpi_ds_begin_method_execution()
393 acpi_ex_system_wait_mutex(obj_desc->method.mutex-> in acpi_ds_begin_method_execution()
403 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
407 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
410 obj_desc->method.sync_level; in acpi_ds_begin_method_execution()
412 obj_desc->method.mutex->mutex. in acpi_ds_begin_method_execution()
414 obj_desc->method.mutex->mutex.sync_level; in acpi_ds_begin_method_execution()
416 obj_desc->method.mutex->mutex.thread_id = in acpi_ds_begin_method_execution()
423 obj_desc->method.mutex->mutex.acquisition_depth++; in acpi_ds_begin_method_execution()
431 if (!obj_desc->method.owner_id) { in acpi_ds_begin_method_execution()
432 status = acpi_ut_allocate_owner_id(&obj_desc->method.owner_id); in acpi_ds_begin_method_execution()
442 obj_desc->method.thread_count++; in acpi_ds_begin_method_execution()
449 if (obj_desc->method.mutex) { in acpi_ds_begin_method_execution()
450 acpi_os_release_mutex(obj_desc->method.mutex->mutex.os_mutex); in acpi_ds_begin_method_execution()
510 next_walk_state = acpi_ds_create_walk_state(obj_desc->method.owner_id, in acpi_ds_call_control_method()
538 obj_desc->method.aml_start, in acpi_ds_call_control_method()
539 obj_desc->method.aml_length, info, in acpi_ds_call_control_method()
551 for (i = 0; i < obj_desc->method.param_count; i++) { in acpi_ds_call_control_method()
566 if (obj_desc->method.info_flags & ACPI_METHOD_INTERNAL_ONLY) { in acpi_ds_call_control_method()
568 obj_desc->method.dispatch.implementation(next_walk_state); in acpi_ds_call_control_method()
715 if (method_desc->method.mutex) { in acpi_ds_terminate_control_method()
719 method_desc->method.mutex->mutex.acquisition_depth--; in acpi_ds_terminate_control_method()
720 if (!method_desc->method.mutex->mutex.acquisition_depth) { in acpi_ds_terminate_control_method()
722 method_desc->method.mutex->mutex. in acpi_ds_terminate_control_method()
725 acpi_os_release_mutex(method_desc->method. in acpi_ds_terminate_control_method()
727 method_desc->method.mutex->mutex.thread_id = 0; in acpi_ds_terminate_control_method()
739 if (!(method_desc->method.info_flags & ACPI_METHOD_MODULE_LEVEL) in acpi_ds_terminate_control_method()
740 && (method_desc->method.thread_count == 1)) { in acpi_ds_terminate_control_method()
754 if (method_desc->method. in acpi_ds_terminate_control_method()
757 method. in acpi_ds_terminate_control_method()
759 method_desc->method.info_flags &= in acpi_ds_terminate_control_method()
767 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method()
768 method_desc->method.thread_count--; in acpi_ds_terminate_control_method()
775 if (method_desc->method.thread_count) { in acpi_ds_terminate_control_method()
782 method_desc->method.thread_count)); in acpi_ds_terminate_control_method()
796 if (method_desc->method. in acpi_ds_terminate_control_method()
816 method_desc->method.info_flags &= in acpi_ds_terminate_control_method()
818 method_desc->method.info_flags |= in acpi_ds_terminate_control_method()
821 method_desc->method.sync_level = 0; in acpi_ds_terminate_control_method()
827 (method_desc->method. in acpi_ds_terminate_control_method()
829 acpi_ut_release_owner_id(&method_desc->method.owner_id); in acpi_ds_terminate_control_method()