Lines Matching refs:acpi_gbl_db_method_info
52 static struct acpi_db_method_info acpi_gbl_db_method_info; variable
401 memset(&acpi_gbl_db_method_info, 0, in acpi_db_execute()
406 acpi_gbl_db_method_info.name = name_string; in acpi_db_execute()
407 acpi_gbl_db_method_info.args = args; in acpi_db_execute()
408 acpi_gbl_db_method_info.types = types; in acpi_db_execute()
409 acpi_gbl_db_method_info.flags = flags; in acpi_db_execute()
414 status = acpi_db_execute_setup(&acpi_gbl_db_method_info); in acpi_db_execute()
422 status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, in acpi_db_execute()
423 &acpi_gbl_db_method_info.method); in acpi_db_execute()
426 acpi_db_execute_method(&acpi_gbl_db_method_info, in acpi_db_execute()
450 allocations, acpi_gbl_db_method_info.pathname); in acpi_db_execute()
456 acpi_gbl_db_method_info.pathname, in acpi_db_execute()
464 acpi_gbl_db_method_info.pathname, in acpi_db_execute()
475 acpi_gbl_db_method_info.method)->name.ascii), in acpi_db_execute()
482 acpi_gbl_db_method_info.pathname); in acpi_db_execute()
669 memset(&acpi_gbl_db_method_info, 0, sizeof(struct acpi_db_method_info)); in acpi_db_create_execution_threads()
673 acpi_gbl_db_method_info.num_threads = num_threads; in acpi_db_create_execution_threads()
674 size = sizeof(acpi_thread_id) * acpi_gbl_db_method_info.num_threads; in acpi_db_create_execution_threads()
676 acpi_gbl_db_method_info.threads = acpi_os_allocate(size); in acpi_db_create_execution_threads()
677 if (acpi_gbl_db_method_info.threads == NULL) { in acpi_db_create_execution_threads()
684 memset(acpi_gbl_db_method_info.threads, 0, size); in acpi_db_create_execution_threads()
688 acpi_gbl_db_method_info.name = method_name_arg; in acpi_db_create_execution_threads()
689 acpi_gbl_db_method_info.flags = 0; in acpi_db_create_execution_threads()
690 acpi_gbl_db_method_info.num_loops = num_loops; in acpi_db_create_execution_threads()
691 acpi_gbl_db_method_info.main_thread_gate = main_thread_gate; in acpi_db_create_execution_threads()
692 acpi_gbl_db_method_info.thread_complete_gate = thread_complete_gate; in acpi_db_create_execution_threads()
693 acpi_gbl_db_method_info.info_gate = info_gate; in acpi_db_create_execution_threads()
697 acpi_gbl_db_method_info.init_args = 1; in acpi_db_create_execution_threads()
698 acpi_gbl_db_method_info.args = acpi_gbl_db_method_info.arguments; in acpi_db_create_execution_threads()
699 acpi_gbl_db_method_info.arguments[0] = in acpi_db_create_execution_threads()
700 acpi_gbl_db_method_info.num_threads_str; in acpi_db_create_execution_threads()
701 acpi_gbl_db_method_info.arguments[1] = in acpi_db_create_execution_threads()
702 acpi_gbl_db_method_info.id_of_thread_str; in acpi_db_create_execution_threads()
703 acpi_gbl_db_method_info.arguments[2] = in acpi_db_create_execution_threads()
704 acpi_gbl_db_method_info.index_of_thread_str; in acpi_db_create_execution_threads()
705 acpi_gbl_db_method_info.arguments[3] = NULL; in acpi_db_create_execution_threads()
707 acpi_gbl_db_method_info.types = acpi_gbl_db_method_info.arg_types; in acpi_db_create_execution_threads()
708 acpi_gbl_db_method_info.arg_types[0] = ACPI_TYPE_INTEGER; in acpi_db_create_execution_threads()
709 acpi_gbl_db_method_info.arg_types[1] = ACPI_TYPE_INTEGER; in acpi_db_create_execution_threads()
710 acpi_gbl_db_method_info.arg_types[2] = ACPI_TYPE_INTEGER; in acpi_db_create_execution_threads()
713 acpi_gbl_db_method_info.num_threads_str); in acpi_db_create_execution_threads()
715 status = acpi_db_execute_setup(&acpi_gbl_db_method_info); in acpi_db_create_execution_threads()
722 status = acpi_get_handle(NULL, acpi_gbl_db_method_info.pathname, in acpi_db_create_execution_threads()
723 &acpi_gbl_db_method_info.method); in acpi_db_create_execution_threads()
727 acpi_gbl_db_method_info.pathname); in acpi_db_create_execution_threads()
740 &acpi_gbl_db_method_info); in acpi_db_create_execution_threads()
762 acpi_os_free(acpi_gbl_db_method_info.threads); in acpi_db_create_execution_threads()
763 acpi_gbl_db_method_info.threads = NULL; in acpi_db_create_execution_threads()