Lines Matching refs:acpi_gbl_db_method_info
16 static struct acpi_db_method_info acpi_gbl_db_method_info; variable
389 memset(&acpi_gbl_db_method_info, 0, sizeof(struct acpi_db_method_info)); in acpi_db_execute()
404 acpi_gbl_db_method_info.name = name_string; in acpi_db_execute()
411 acpi_gbl_db_method_info.name = name_string; in acpi_db_execute()
412 acpi_gbl_db_method_info.args = args; in acpi_db_execute()
413 acpi_gbl_db_method_info.types = types; in acpi_db_execute()
414 acpi_gbl_db_method_info.flags = flags; in acpi_db_execute()
420 status = acpi_db_execute_setup(&acpi_gbl_db_method_info); in acpi_db_execute()
428 status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, in acpi_db_execute()
429 &acpi_gbl_db_method_info.method); in acpi_db_execute()
431 status = acpi_db_execute_method(&acpi_gbl_db_method_info, in acpi_db_execute()
454 allocations, acpi_gbl_db_method_info.pathname); in acpi_db_execute()
460 acpi_gbl_db_method_info.pathname, in acpi_db_execute()
468 acpi_gbl_db_method_info.pathname, in acpi_db_execute()
480 acpi_gbl_db_method_info.method)->name.ascii), in acpi_db_execute()
487 acpi_gbl_db_method_info.pathname); in acpi_db_execute()
631 acpi_gbl_db_method_info.pathname, in acpi_db_single_execution_thread()
663 memset(&acpi_gbl_db_method_info, 0, sizeof(struct acpi_db_method_info)); in acpi_db_create_execution_thread()
664 acpi_gbl_db_method_info.name = method_name_arg; in acpi_db_create_execution_thread()
665 acpi_gbl_db_method_info.init_args = 1; in acpi_db_create_execution_thread()
666 acpi_gbl_db_method_info.args = acpi_gbl_db_method_info.arguments; in acpi_db_create_execution_thread()
667 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_thread()
672 acpi_gbl_db_method_info.arguments[i] = *arguments; in acpi_db_create_execution_thread()
675 acpi_gbl_db_method_info.arg_types[i] = *types; in acpi_db_create_execution_thread()
679 status = acpi_db_execute_setup(&acpi_gbl_db_method_info); in acpi_db_create_execution_thread()
686 status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, in acpi_db_create_execution_thread()
687 &acpi_gbl_db_method_info.method); in acpi_db_create_execution_thread()
691 acpi_gbl_db_method_info.pathname); in acpi_db_create_execution_thread()
697 &acpi_gbl_db_method_info); in acpi_db_create_execution_thread()
780 memset(&acpi_gbl_db_method_info, 0, sizeof(struct acpi_db_method_info)); in acpi_db_create_execution_threads()
784 acpi_gbl_db_method_info.num_threads = num_threads; in acpi_db_create_execution_threads()
785 size = sizeof(acpi_thread_id) * acpi_gbl_db_method_info.num_threads; in acpi_db_create_execution_threads()
787 acpi_gbl_db_method_info.threads = acpi_os_allocate(size); in acpi_db_create_execution_threads()
788 if (acpi_gbl_db_method_info.threads == NULL) { in acpi_db_create_execution_threads()
795 memset(acpi_gbl_db_method_info.threads, 0, size); in acpi_db_create_execution_threads()
799 acpi_gbl_db_method_info.name = method_name_arg; in acpi_db_create_execution_threads()
800 acpi_gbl_db_method_info.flags = 0; in acpi_db_create_execution_threads()
801 acpi_gbl_db_method_info.num_loops = num_loops; in acpi_db_create_execution_threads()
802 acpi_gbl_db_method_info.main_thread_gate = main_thread_gate; in acpi_db_create_execution_threads()
803 acpi_gbl_db_method_info.thread_complete_gate = thread_complete_gate; in acpi_db_create_execution_threads()
804 acpi_gbl_db_method_info.info_gate = info_gate; in acpi_db_create_execution_threads()
808 acpi_gbl_db_method_info.init_args = 1; in acpi_db_create_execution_threads()
809 acpi_gbl_db_method_info.args = acpi_gbl_db_method_info.arguments; in acpi_db_create_execution_threads()
810 acpi_gbl_db_method_info.arguments[0] = in acpi_db_create_execution_threads()
811 acpi_gbl_db_method_info.num_threads_str; in acpi_db_create_execution_threads()
812 acpi_gbl_db_method_info.arguments[1] = in acpi_db_create_execution_threads()
813 acpi_gbl_db_method_info.id_of_thread_str; in acpi_db_create_execution_threads()
814 acpi_gbl_db_method_info.arguments[2] = in acpi_db_create_execution_threads()
815 acpi_gbl_db_method_info.index_of_thread_str; in acpi_db_create_execution_threads()
816 acpi_gbl_db_method_info.arguments[3] = NULL; in acpi_db_create_execution_threads()
818 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_threads()
819 acpi_gbl_db_method_info.arg_types[0] = ACPI_TYPE_INTEGER; in acpi_db_create_execution_threads()
820 acpi_gbl_db_method_info.arg_types[1] = ACPI_TYPE_INTEGER; in acpi_db_create_execution_threads()
821 acpi_gbl_db_method_info.arg_types[2] = ACPI_TYPE_INTEGER; in acpi_db_create_execution_threads()
824 acpi_gbl_db_method_info.num_threads_str); in acpi_db_create_execution_threads()
826 status = acpi_db_execute_setup(&acpi_gbl_db_method_info); in acpi_db_create_execution_threads()
833 status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, in acpi_db_create_execution_threads()
834 &acpi_gbl_db_method_info.method); in acpi_db_create_execution_threads()
838 acpi_gbl_db_method_info.pathname); in acpi_db_create_execution_threads()
851 &acpi_gbl_db_method_info); in acpi_db_create_execution_threads()
873 acpi_os_free(acpi_gbl_db_method_info.threads); in acpi_db_create_execution_threads()
874 acpi_gbl_db_method_info.threads = NULL; in acpi_db_create_execution_threads()