mirror of
https://github.com/armbian/linux.git
synced 2026-01-06 10:13:00 -08:00
ACPICA: AcpiSrc: Fix some translation issues for Linux conversion
Fixes issues like this: i_aSL -> iASL 00-7_f -> 00-7F local_fADT -> local_FADT execute_oSI -> execute_OSI Also, in function headers, the parameters are now translated to lower case (with underscores if necessary.) Signed-off-by: Bob Moore <robert.moore@intel.com> Signed-off-by: Lin Ming <ming.m.lin@intel.com> Signed-off-by: Len Brown <len.brown@intel.com>
This commit is contained in:
@@ -237,7 +237,7 @@ u32 acpi_ev_install_sci_handler(void);
|
||||
|
||||
acpi_status acpi_ev_remove_sci_handler(void);
|
||||
|
||||
u32 acpi_ev_initialize_sCI(u32 program_sCI);
|
||||
u32 acpi_ev_initialize_SCI(u32 program_SCI);
|
||||
|
||||
ACPI_HW_DEPENDENT_RETURN_VOID(void acpi_ev_terminate(void))
|
||||
#endif /* __ACEVENTS_H__ */
|
||||
|
||||
@@ -299,7 +299,7 @@ acpi_status(*ACPI_INTERNAL_METHOD) (struct acpi_walk_state * walk_state);
|
||||
* Information structure for ACPI predefined names.
|
||||
* Each entry in the table contains the following items:
|
||||
*
|
||||
* Name - The ACPI reserved name
|
||||
* name - The ACPI reserved name
|
||||
* param_count - Number of arguments to the method
|
||||
* expected_return_btypes - Allowed type(s) for the return value
|
||||
*/
|
||||
@@ -734,7 +734,7 @@ struct acpi_parse_obj_named {
|
||||
u32 name; /* 4-byte name or zero if no name */
|
||||
};
|
||||
|
||||
/* This version is used by the i_aSL compiler only */
|
||||
/* This version is used by the iASL compiler only */
|
||||
|
||||
#define ACPI_MAX_PARSEOP_NAME 20
|
||||
|
||||
|
||||
@@ -62,7 +62,7 @@
|
||||
* printf() format helpers
|
||||
*/
|
||||
|
||||
/* Split 64-bit integer into two 32-bit values. Use with %8.8_x%8.8_x */
|
||||
/* Split 64-bit integer into two 32-bit values. Use with %8.8X%8.8X */
|
||||
|
||||
#define ACPI_FORMAT_UINT64(i) ACPI_HIDWORD(i), ACPI_LODWORD(i)
|
||||
|
||||
|
||||
@@ -381,7 +381,7 @@ struct acpi_object_cache_list {
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
* union acpi_operand_object Descriptor - a giant union of all of the above
|
||||
* union acpi_operand_object descriptor - a giant union of all of the above
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
|
||||
@@ -140,7 +140,7 @@ enum acpi_return_package_types {
|
||||
*
|
||||
* The main entries in the table each contain the following items:
|
||||
*
|
||||
* Name - The ACPI reserved name
|
||||
* name - The ACPI reserved name
|
||||
* param_count - Number of arguments to the method
|
||||
* expected_btypes - Allowed type(s) for the return value.
|
||||
* 0 means that no return value is expected.
|
||||
|
||||
@@ -68,7 +68,7 @@
|
||||
#define ACPI_WALK_METHOD 0x01
|
||||
#define ACPI_WALK_METHOD_RESTART 0x02
|
||||
|
||||
/* Flags for i_aSL compiler only */
|
||||
/* Flags for iASL compiler only */
|
||||
|
||||
#define ACPI_WALK_CONST_REQUIRED 0x10
|
||||
#define ACPI_WALK_CONST_OPTIONAL 0x20
|
||||
|
||||
@@ -182,7 +182,7 @@
|
||||
|
||||
/*
|
||||
* Combination opcodes (actually two one-byte opcodes)
|
||||
* Used by the disassembler and i_aSL compiler
|
||||
* Used by the disassembler and iASL compiler
|
||||
*/
|
||||
#define AML_LGREATEREQUAL_OP (u16) 0x9295
|
||||
#define AML_LLESSEQUAL_OP (u16) 0x9294
|
||||
@@ -280,7 +280,7 @@
|
||||
|
||||
/* Multiple/complex types */
|
||||
|
||||
#define ARGI_DATAOBJECT 0x12 /* Buffer, String, package or reference to a Node - Used only by size_of operator */
|
||||
#define ARGI_DATAOBJECT 0x12 /* Buffer, String, package or reference to a node - Used only by size_of operator */
|
||||
#define ARGI_COMPLEXOBJ 0x13 /* Buffer, String, or package (Used by INDEX op only) */
|
||||
#define ARGI_REF_OR_STRING 0x14 /* Reference or String (Used by DEREFOF op only) */
|
||||
#define ARGI_REGION_OR_BUFFER 0x15 /* Used by LOAD op only */
|
||||
|
||||
@@ -98,7 +98,7 @@
|
||||
#define ACPI_RESTAG_TRANSLATION "_TRA"
|
||||
#define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */
|
||||
#define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */
|
||||
#define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8_and16(1), 16(2) */
|
||||
#define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8And16(1), 16(2) */
|
||||
#define ACPI_RESTAG_VENDORDATA "_VEN"
|
||||
|
||||
/* Default sizes for "small" resource descriptors */
|
||||
@@ -235,7 +235,7 @@ AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON};
|
||||
|
||||
struct aml_resource_extended_address64 {
|
||||
AML_RESOURCE_LARGE_HEADER_COMMON
|
||||
AML_RESOURCE_ADDRESS_COMMON u8 revision_iD;
|
||||
AML_RESOURCE_ADDRESS_COMMON u8 revision_ID;
|
||||
u8 reserved;
|
||||
u64 granularity;
|
||||
u64 minimum;
|
||||
|
||||
@@ -62,7 +62,7 @@ acpi_ds_execute_arguments(struct acpi_namespace_node *node,
|
||||
*
|
||||
* FUNCTION: acpi_ds_execute_arguments
|
||||
*
|
||||
* PARAMETERS: Node - Object NS node
|
||||
* PARAMETERS: node - Object NS node
|
||||
* scope_node - Parent NS node
|
||||
* aml_length - Length of executable AML
|
||||
* aml_start - Pointer to the AML
|
||||
|
||||
@@ -56,7 +56,7 @@ ACPI_MODULE_NAME("dscontrol")
|
||||
* FUNCTION: acpi_ds_exec_begin_control_op
|
||||
*
|
||||
* PARAMETERS: walk_list - The list that owns the walk stack
|
||||
* Op - The control Op
|
||||
* op - The control Op
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -153,7 +153,7 @@ acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_exec_end_control_op
|
||||
*
|
||||
* PARAMETERS: walk_list - The list that owns the walk stack
|
||||
* Op - The control Op
|
||||
* op - The control Op
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
|
||||
@@ -71,13 +71,13 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
|
||||
#ifdef ACPI_ASL_COMPILER
|
||||
/*******************************************************************************
|
||||
*
|
||||
* FUNCTION: acpi_ds_create_external_region (i_aSL Disassembler only)
|
||||
* FUNCTION: acpi_ds_create_external_region (iASL Disassembler only)
|
||||
*
|
||||
* PARAMETERS: lookup_status - Status from ns_lookup operation
|
||||
* Op - Op containing the Field definition and args
|
||||
* Path - Pathname of the region
|
||||
* op - Op containing the Field definition and args
|
||||
* path - Pathname of the region
|
||||
* ` walk_state - Current method state
|
||||
* Node - Where the new region node is returned
|
||||
* node - Where the new region node is returned
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -130,7 +130,7 @@ acpi_ds_create_external_region(acpi_status lookup_status,
|
||||
*
|
||||
* FUNCTION: acpi_ds_create_buffer_field
|
||||
*
|
||||
* PARAMETERS: Op - Current parse op (create_xXField)
|
||||
* PARAMETERS: op - Current parse op (create_XXField)
|
||||
* walk_state - Current state
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -167,7 +167,7 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
|
||||
|
||||
arg = acpi_ps_get_arg(op, 3);
|
||||
} else {
|
||||
/* For all other create_xXXField operators, name is the 3rd argument */
|
||||
/* For all other create_XXXField operators, name is the 3rd argument */
|
||||
|
||||
arg = acpi_ps_get_arg(op, 2);
|
||||
}
|
||||
@@ -271,9 +271,9 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
|
||||
*
|
||||
* FUNCTION: acpi_ds_get_field_names
|
||||
*
|
||||
* PARAMETERS: Info - create_field info structure
|
||||
* PARAMETERS: info - create_field info structure
|
||||
* ` walk_state - Current method state
|
||||
* Arg - First parser arg for the field name list
|
||||
* arg - First parser arg for the field name list
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -302,10 +302,10 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
|
||||
while (arg) {
|
||||
/*
|
||||
* Four types of field elements are handled:
|
||||
* 1) Name - Enters a new named field into the namespace
|
||||
* 2) Offset - specifies a bit offset
|
||||
* 1) name - Enters a new named field into the namespace
|
||||
* 2) offset - specifies a bit offset
|
||||
* 3) access_as - changes the access mode/attributes
|
||||
* 4) Connection - Associate a resource template with the field
|
||||
* 4) connection - Associate a resource template with the field
|
||||
*/
|
||||
switch (arg->common.aml_opcode) {
|
||||
case AML_INT_RESERVEDFIELD_OP:
|
||||
@@ -457,7 +457,7 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
|
||||
*
|
||||
* FUNCTION: acpi_ds_create_field
|
||||
*
|
||||
* PARAMETERS: Op - Op containing the Field definition and args
|
||||
* PARAMETERS: op - Op containing the Field definition and args
|
||||
* region_node - Object for the containing Operation Region
|
||||
* ` walk_state - Current method state
|
||||
*
|
||||
@@ -521,7 +521,7 @@ acpi_ds_create_field(union acpi_parse_object *op,
|
||||
*
|
||||
* FUNCTION: acpi_ds_init_field_objects
|
||||
*
|
||||
* PARAMETERS: Op - Op containing the Field definition and args
|
||||
* PARAMETERS: op - Op containing the Field definition and args
|
||||
* ` walk_state - Current method state
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -636,7 +636,7 @@ acpi_ds_init_field_objects(union acpi_parse_object *op,
|
||||
*
|
||||
* FUNCTION: acpi_ds_create_bank_field
|
||||
*
|
||||
* PARAMETERS: Op - Op containing the Field definition and args
|
||||
* PARAMETERS: op - Op containing the Field definition and args
|
||||
* region_node - Object for the containing Operation Region
|
||||
* walk_state - Current method state
|
||||
*
|
||||
@@ -726,7 +726,7 @@ acpi_ds_create_bank_field(union acpi_parse_object *op,
|
||||
*
|
||||
* FUNCTION: acpi_ds_create_index_field
|
||||
*
|
||||
* PARAMETERS: Op - Op containing the Field definition and args
|
||||
* PARAMETERS: op - Op containing the Field definition and args
|
||||
* region_node - Object for the containing Operation Region
|
||||
* ` walk_state - Current method state
|
||||
*
|
||||
|
||||
@@ -60,8 +60,8 @@ acpi_ds_init_one_object(acpi_handle obj_handle,
|
||||
* FUNCTION: acpi_ds_init_one_object
|
||||
*
|
||||
* PARAMETERS: obj_handle - Node for the object
|
||||
* Level - Current nesting level
|
||||
* Context - Points to a init info struct
|
||||
* level - Current nesting level
|
||||
* context - Points to a init info struct
|
||||
* return_value - Not used
|
||||
*
|
||||
* RETURN: Status
|
||||
|
||||
@@ -61,7 +61,7 @@ acpi_ds_create_method_mutex(union acpi_operand_object *method_desc);
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_error
|
||||
*
|
||||
* PARAMETERS: Status - Execution status
|
||||
* PARAMETERS: status - Execution status
|
||||
* walk_state - Current state
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -306,9 +306,9 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
|
||||
*
|
||||
* FUNCTION: acpi_ds_call_control_method
|
||||
*
|
||||
* PARAMETERS: Thread - Info for this thread
|
||||
* PARAMETERS: thread - Info for this thread
|
||||
* this_walk_state - Current walk state
|
||||
* Op - Current Op to be walked
|
||||
* op - Current Op to be walked
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
|
||||
@@ -177,7 +177,7 @@ void acpi_ds_method_data_delete_all(struct acpi_walk_state *walk_state)
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_data_init_args
|
||||
*
|
||||
* PARAMETERS: *Params - Pointer to a parameter list for the method
|
||||
* PARAMETERS: *params - Pointer to a parameter list for the method
|
||||
* max_param_count - The arg count for this method
|
||||
* walk_state - Current walk state object
|
||||
*
|
||||
@@ -232,11 +232,11 @@ acpi_ds_method_data_init_args(union acpi_operand_object **params,
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_data_get_node
|
||||
*
|
||||
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or
|
||||
* PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
|
||||
* ACPI_REFCLASS_ARG
|
||||
* Index - Which Local or Arg whose type to get
|
||||
* index - Which Local or Arg whose type to get
|
||||
* walk_state - Current walk state object
|
||||
* Node - Where the node is returned.
|
||||
* node - Where the node is returned.
|
||||
*
|
||||
* RETURN: Status and node
|
||||
*
|
||||
@@ -296,10 +296,10 @@ acpi_ds_method_data_get_node(u8 type,
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_data_set_value
|
||||
*
|
||||
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or
|
||||
* PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
|
||||
* ACPI_REFCLASS_ARG
|
||||
* Index - Which Local or Arg to get
|
||||
* Object - Object to be inserted into the stack entry
|
||||
* index - Which Local or Arg to get
|
||||
* object - Object to be inserted into the stack entry
|
||||
* walk_state - Current walk state object
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -336,7 +336,7 @@ acpi_ds_method_data_set_value(u8 type,
|
||||
* Increment ref count so object can't be deleted while installed.
|
||||
* NOTE: We do not copy the object in order to preserve the call by
|
||||
* reference semantics of ACPI Control Method invocation.
|
||||
* (See ACPI Specification 2.0_c)
|
||||
* (See ACPI Specification 2.0C)
|
||||
*/
|
||||
acpi_ut_add_reference(object);
|
||||
|
||||
@@ -350,9 +350,9 @@ acpi_ds_method_data_set_value(u8 type,
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_data_get_value
|
||||
*
|
||||
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or
|
||||
* PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
|
||||
* ACPI_REFCLASS_ARG
|
||||
* Index - Which local_var or argument to get
|
||||
* index - Which localVar or argument to get
|
||||
* walk_state - Current walk state object
|
||||
* dest_desc - Where Arg or Local value is returned
|
||||
*
|
||||
@@ -458,9 +458,9 @@ acpi_ds_method_data_get_value(u8 type,
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_data_delete_value
|
||||
*
|
||||
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or
|
||||
* PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
|
||||
* ACPI_REFCLASS_ARG
|
||||
* Index - Which local_var or argument to delete
|
||||
* index - Which localVar or argument to delete
|
||||
* walk_state - Current walk state object
|
||||
*
|
||||
* RETURN: None
|
||||
@@ -515,9 +515,9 @@ acpi_ds_method_data_delete_value(u8 type,
|
||||
*
|
||||
* FUNCTION: acpi_ds_store_object_to_local
|
||||
*
|
||||
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or
|
||||
* PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
|
||||
* ACPI_REFCLASS_ARG
|
||||
* Index - Which Local or Arg to set
|
||||
* index - Which Local or Arg to set
|
||||
* obj_desc - Value to be stored
|
||||
* walk_state - Current walk state
|
||||
*
|
||||
@@ -670,8 +670,8 @@ acpi_ds_store_object_to_local(u8 type,
|
||||
*
|
||||
* FUNCTION: acpi_ds_method_data_get_type
|
||||
*
|
||||
* PARAMETERS: Opcode - Either AML_LOCAL_OP or AML_ARG_OP
|
||||
* Index - Which Local or Arg whose type to get
|
||||
* PARAMETERS: opcode - Either AML_LOCAL_OP or AML_ARG_OP
|
||||
* index - Which Local or Arg whose type to get
|
||||
* walk_state - Current walk state object
|
||||
*
|
||||
* RETURN: Data type of current value of the selected Arg or Local
|
||||
|
||||
@@ -64,7 +64,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_build_internal_object
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk state
|
||||
* Op - Parser object to be translated
|
||||
* op - Parser object to be translated
|
||||
* obj_desc_ptr - Where the ACPI internal object is returned
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -250,7 +250,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_build_internal_buffer_obj
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk state
|
||||
* Op - Parser object to be translated
|
||||
* op - Parser object to be translated
|
||||
* buffer_length - Length of the buffer
|
||||
* obj_desc_ptr - Where the ACPI internal object is returned
|
||||
*
|
||||
@@ -354,7 +354,7 @@ acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_build_internal_package_obj
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk state
|
||||
* Op - Parser object to be translated
|
||||
* op - Parser object to be translated
|
||||
* element_count - Number of elements in the package - this is
|
||||
* the num_elements argument to Package()
|
||||
* obj_desc_ptr - Where the ACPI internal object is returned
|
||||
@@ -547,8 +547,8 @@ acpi_ds_build_internal_package_obj(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_create_node
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk state
|
||||
* Node - NS Node to be initialized
|
||||
* Op - Parser object to be translated
|
||||
* node - NS Node to be initialized
|
||||
* op - Parser object to be translated
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -611,8 +611,8 @@ acpi_ds_create_node(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_init_object_from_op
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk state
|
||||
* Op - Parser op used to init the internal object
|
||||
* Opcode - AML opcode associated with the object
|
||||
* op - Parser op used to init the internal object
|
||||
* opcode - AML opcode associated with the object
|
||||
* ret_obj_desc - Namespace object to be initialized
|
||||
*
|
||||
* RETURN: Status
|
||||
|
||||
@@ -286,7 +286,7 @@ acpi_ds_init_buffer_field(u16 aml_opcode,
|
||||
* FUNCTION: acpi_ds_eval_buffer_field_operands
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk
|
||||
* Op - A valid buffer_field Op object
|
||||
* op - A valid buffer_field Op object
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -370,7 +370,7 @@ acpi_ds_eval_buffer_field_operands(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_eval_region_operands
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk
|
||||
* Op - A valid region Op object
|
||||
* op - A valid region Op object
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -397,7 +397,7 @@ acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state,
|
||||
*/
|
||||
node = op->common.node;
|
||||
|
||||
/* next_op points to the op that holds the space_iD */
|
||||
/* next_op points to the op that holds the space_ID */
|
||||
|
||||
next_op = op->common.value.arg;
|
||||
|
||||
@@ -461,7 +461,7 @@ acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_eval_table_region_operands
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk
|
||||
* Op - A valid region Op object
|
||||
* op - A valid region Op object
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
@@ -560,7 +560,7 @@ acpi_ds_eval_table_region_operands(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_eval_data_object_operands
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk
|
||||
* Op - A valid data_object Op object
|
||||
* op - A valid data_object Op object
|
||||
* obj_desc - data_object
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -662,7 +662,7 @@ acpi_ds_eval_data_object_operands(struct acpi_walk_state *walk_state,
|
||||
* FUNCTION: acpi_ds_eval_bank_field_operands
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk
|
||||
* Op - A valid bank_field Op object
|
||||
* op - A valid bank_field Op object
|
||||
*
|
||||
* RETURN: Status
|
||||
*
|
||||
|
||||
@@ -157,7 +157,7 @@ acpi_ds_do_implicit_return(union acpi_operand_object *return_desc,
|
||||
*
|
||||
* FUNCTION: acpi_ds_is_result_used
|
||||
*
|
||||
* PARAMETERS: Op - Current Op
|
||||
* PARAMETERS: op - Current Op
|
||||
* walk_state - Current State
|
||||
*
|
||||
* RETURN: TRUE if result is used, FALSE otherwise
|
||||
@@ -323,7 +323,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op,
|
||||
*
|
||||
* FUNCTION: acpi_ds_delete_result_if_not_used
|
||||
*
|
||||
* PARAMETERS: Op - Current parse Op
|
||||
* PARAMETERS: op - Current parse Op
|
||||
* result_obj - Result of the operation
|
||||
* walk_state - Current state
|
||||
*
|
||||
@@ -445,7 +445,7 @@ void acpi_ds_clear_operands(struct acpi_walk_state *walk_state)
|
||||
* FUNCTION: acpi_ds_create_operand
|
||||
*
|
||||
* PARAMETERS: walk_state - Current walk state
|
||||
* Arg - Parse object for the argument
|
||||
* arg - Parse object for the argument
|
||||
* arg_index - Which argument (zero based)
|
||||
*
|
||||
* RETURN: Status
|
||||
|
||||
@@ -85,8 +85,8 @@ void acpi_ds_scope_stack_clear(struct acpi_walk_state *walk_state)
|
||||
*
|
||||
* FUNCTION: acpi_ds_scope_stack_push
|
||||
*
|
||||
* PARAMETERS: Node - Name to be made current
|
||||
* Type - Type of frame being pushed
|
||||
* PARAMETERS: node - Name to be made current
|
||||
* type - Type of frame being pushed
|
||||
* walk_state - Current state
|
||||
*
|
||||
* RETURN: Status
|
||||
|
||||
@@ -58,7 +58,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *ws);
|
||||
*
|
||||
* FUNCTION: acpi_ds_result_pop
|
||||
*
|
||||
* PARAMETERS: Object - Where to return the popped object
|
||||
* PARAMETERS: object - Where to return the popped object
|
||||
* walk_state - Current Walk state
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -132,7 +132,7 @@ acpi_ds_result_pop(union acpi_operand_object **object,
|
||||
*
|
||||
* FUNCTION: acpi_ds_result_push
|
||||
*
|
||||
* PARAMETERS: Object - Where to return the popped object
|
||||
* PARAMETERS: object - Where to return the popped object
|
||||
* walk_state - Current Walk state
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -296,7 +296,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *walk_state)
|
||||
*
|
||||
* FUNCTION: acpi_ds_obj_stack_push
|
||||
*
|
||||
* PARAMETERS: Object - Object to push
|
||||
* PARAMETERS: object - Object to push
|
||||
* walk_state - Current Walk state
|
||||
*
|
||||
* RETURN: Status
|
||||
@@ -433,7 +433,7 @@ acpi_ds_obj_stack_pop_and_delete(u32 pop_count,
|
||||
*
|
||||
* FUNCTION: acpi_ds_get_current_walk_state
|
||||
*
|
||||
* PARAMETERS: Thread - Get current active state for this Thread
|
||||
* PARAMETERS: thread - Get current active state for this Thread
|
||||
*
|
||||
* RETURN: Pointer to the current walk state
|
||||
*
|
||||
@@ -462,7 +462,7 @@ struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state
|
||||
* FUNCTION: acpi_ds_push_walk_state
|
||||
*
|
||||
* PARAMETERS: walk_state - State to push
|
||||
* Thread - Thread state object
|
||||
* thread - Thread state object
|
||||
*
|
||||
* RETURN: None
|
||||
*
|
||||
@@ -486,7 +486,7 @@ acpi_ds_push_walk_state(struct acpi_walk_state *walk_state,
|
||||
*
|
||||
* FUNCTION: acpi_ds_pop_walk_state
|
||||
*
|
||||
* PARAMETERS: Thread - Current thread state
|
||||
* PARAMETERS: thread - Current thread state
|
||||
*
|
||||
* RETURN: A walk_state object popped from the thread's stack
|
||||
*
|
||||
@@ -525,9 +525,9 @@ struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread)
|
||||
* FUNCTION: acpi_ds_create_walk_state
|
||||
*
|
||||
* PARAMETERS: owner_id - ID for object creation
|
||||
* Origin - Starting point for this walk
|
||||
* origin - Starting point for this walk
|
||||
* method_desc - Method object
|
||||
* Thread - Current thread state
|
||||
* thread - Current thread state
|
||||
*
|
||||
* RETURN: Pointer to the new walk state.
|
||||
*
|
||||
@@ -578,11 +578,11 @@ struct acpi_walk_state *acpi_ds_create_walk_state(acpi_owner_id owner_id, union
|
||||
* FUNCTION: acpi_ds_init_aml_walk
|
||||
*
|
||||
* PARAMETERS: walk_state - New state to be initialized
|
||||
* Op - Current parse op
|
||||
* op - Current parse op
|
||||
* method_node - Control method NS node, if any
|
||||
* aml_start - Start of AML
|
||||
* aml_length - Length of AML
|
||||
* Info - Method info block (params, etc.)
|
||||
* info - Method info block (params, etc.)
|
||||
* pass_number - 1, 2, or 3
|
||||
*
|
||||
* RETURN: Status
|
||||
|
||||
@@ -251,7 +251,7 @@ u32 acpi_ev_fixed_event_detect(void)
|
||||
*
|
||||
* FUNCTION: acpi_ev_fixed_event_dispatch
|
||||
*
|
||||
* PARAMETERS: Event - Event type
|
||||
* PARAMETERS: event - Event type
|
||||
*
|
||||
* RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED
|
||||
*
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user