Lines Matching +full:entry +full:- +full:method
1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: utpredef - support functions for predefined names
6 * Copyright (C) 2000 - 2023, Intel Corp.
33 * PARAMETERS: this_name - Entry in the predefined method/name table
35 * RETURN: Pointer to next entry in predefined table.
37 * DESCRIPTION: Get the next entry in the predefine method table. Handles the
38 * cases where a package info entry follows a method name that
49 * Skip next entry in the table if this name returns a Package in acpi_ut_get_next_predefined_method()
50 * (next entry contains the package info) in acpi_ut_get_next_predefined_method()
52 if ((this_name->info.expected_btypes & ACPI_RTYPE_PACKAGE) && in acpi_ut_get_next_predefined_method()
53 (this_name->info.expected_btypes != ACPI_RTYPE_ALL)) { in acpi_ut_get_next_predefined_method()
65 * PARAMETERS: name - Name to find
67 * RETURN: Pointer to entry in predefined table. NULL indicates not found.
83 /* Search info table for a predefined method/object name */ in acpi_ut_match_predefined_method()
86 while (this_name->info.name[0]) { in acpi_ut_match_predefined_method()
87 if (ACPI_COMPARE_NAMESEG(name, this_name->info.name)) { in acpi_ut_match_predefined_method()
101 * PARAMETERS: buffer - Where the formatted string is returned
102 * expected_Btypes - Bitfield of expected data types
178 * PARAMETERS: name - Name to find
180 * RETURN: Pointer to entry in the resource table. NULL indicates not
200 /* Search info table for a predefined method/object name */ in acpi_ut_match_resource_name()
203 while (this_name->info.name[0]) { in acpi_ut_match_resource_name()
204 if (ACPI_COMPARE_NAMESEG(name, this_name->info.name)) { in acpi_ut_match_resource_name()
218 * PARAMETERS: buffer - Scratch buffer for this function
219 * this_name - Entry in the predefined method/name table
220 * multi_line - TRUE if output should be on >1 line
224 * DESCRIPTION: Display information about a predefined method. Number and
242 this_name->info.argument_list); in acpi_ut_display_predefined_method()
249 this_name->info.name, in acpi_ut_display_predefined_method()
250 (this_name->info.argument_list & ARG_COUNT_IS_MINIMUM) ? in acpi_ut_display_predefined_method()
265 if (this_name->info.expected_btypes) { in acpi_ut_display_predefined_method()
267 this_name->info. in acpi_ut_display_predefined_method()
279 * PARAMETERS: buffer - Where to return the formatted types
280 * argument_types - Types field for this method
282 * RETURN: count - the number of arguments required for this method
284 * DESCRIPTION: Format the required data types for this method (Integer,
333 * PARAMETERS: buffer - Where the formatted string is returned
334 * types - Bitfield of expected data types