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:
Bob Moore 2012-07-12 09:40:10 +08:00 committed by Len Brown
parent 75e7386b10
commit ba494beeaa
120 changed files with 680 additions and 680 deletions

View File

@ -237,7 +237,7 @@ u32 acpi_ev_install_sci_handler(void);
acpi_status acpi_ev_remove_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)) ACPI_HW_DEPENDENT_RETURN_VOID(void acpi_ev_terminate(void))
#endif /* __ACEVENTS_H__ */ #endif /* __ACEVENTS_H__ */

View File

@ -299,7 +299,7 @@ acpi_status(*ACPI_INTERNAL_METHOD) (struct acpi_walk_state * walk_state);
* Information structure for ACPI predefined names. * Information structure for ACPI predefined names.
* Each entry in the table contains the following items: * 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 * param_count - Number of arguments to the method
* expected_return_btypes - Allowed type(s) for the return value * 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 */ 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 #define ACPI_MAX_PARSEOP_NAME 20

View File

@ -62,7 +62,7 @@
* printf() format helpers * 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) #define ACPI_FORMAT_UINT64(i) ACPI_HIDWORD(i), ACPI_LODWORD(i)

View File

@ -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
* *
*****************************************************************************/ *****************************************************************************/

View File

@ -140,7 +140,7 @@ enum acpi_return_package_types {
* *
* The main entries in the table each contain the following items: * 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 * param_count - Number of arguments to the method
* expected_btypes - Allowed type(s) for the return value. * expected_btypes - Allowed type(s) for the return value.
* 0 means that no return value is expected. * 0 means that no return value is expected.

View File

@ -68,7 +68,7 @@
#define ACPI_WALK_METHOD 0x01 #define ACPI_WALK_METHOD 0x01
#define ACPI_WALK_METHOD_RESTART 0x02 #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_REQUIRED 0x10
#define ACPI_WALK_CONST_OPTIONAL 0x20 #define ACPI_WALK_CONST_OPTIONAL 0x20

View File

@ -182,7 +182,7 @@
/* /*
* Combination opcodes (actually two one-byte opcodes) * 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_LGREATEREQUAL_OP (u16) 0x9295
#define AML_LLESSEQUAL_OP (u16) 0x9294 #define AML_LLESSEQUAL_OP (u16) 0x9294
@ -280,7 +280,7 @@
/* Multiple/complex types */ /* 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_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_REF_OR_STRING 0x14 /* Reference or String (Used by DEREFOF op only) */
#define ARGI_REGION_OR_BUFFER 0x15 /* Used by LOAD op only */ #define ARGI_REGION_OR_BUFFER 0x15 /* Used by LOAD op only */

View File

@ -98,7 +98,7 @@
#define ACPI_RESTAG_TRANSLATION "_TRA" #define ACPI_RESTAG_TRANSLATION "_TRA"
#define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ #define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */
#define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (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" #define ACPI_RESTAG_VENDORDATA "_VEN"
/* Default sizes for "small" resource descriptors */ /* Default sizes for "small" resource descriptors */
@ -235,7 +235,7 @@ AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON};
struct aml_resource_extended_address64 { struct aml_resource_extended_address64 {
AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_LARGE_HEADER_COMMON
AML_RESOURCE_ADDRESS_COMMON u8 revision_iD; AML_RESOURCE_ADDRESS_COMMON u8 revision_ID;
u8 reserved; u8 reserved;
u64 granularity; u64 granularity;
u64 minimum; u64 minimum;

View File

@ -62,7 +62,7 @@ acpi_ds_execute_arguments(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_ds_execute_arguments * FUNCTION: acpi_ds_execute_arguments
* *
* PARAMETERS: Node - Object NS node * PARAMETERS: node - Object NS node
* scope_node - Parent NS node * scope_node - Parent NS node
* aml_length - Length of executable AML * aml_length - Length of executable AML
* aml_start - Pointer to the AML * aml_start - Pointer to the AML

View File

@ -56,7 +56,7 @@ ACPI_MODULE_NAME("dscontrol")
* FUNCTION: acpi_ds_exec_begin_control_op * FUNCTION: acpi_ds_exec_begin_control_op
* *
* PARAMETERS: walk_list - The list that owns the walk stack * PARAMETERS: walk_list - The list that owns the walk stack
* Op - The control Op * op - The control Op
* *
* RETURN: Status * 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 * FUNCTION: acpi_ds_exec_end_control_op
* *
* PARAMETERS: walk_list - The list that owns the walk stack * PARAMETERS: walk_list - The list that owns the walk stack
* Op - The control Op * op - The control Op
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -71,13 +71,13 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
#ifdef ACPI_ASL_COMPILER #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 * PARAMETERS: lookup_status - Status from ns_lookup operation
* Op - Op containing the Field definition and args * op - Op containing the Field definition and args
* Path - Pathname of the region * path - Pathname of the region
* ` walk_state - Current method state * ` walk_state - Current method state
* Node - Where the new region node is returned * node - Where the new region node is returned
* *
* RETURN: Status * RETURN: Status
* *
@ -130,7 +130,7 @@ acpi_ds_create_external_region(acpi_status lookup_status,
* *
* FUNCTION: acpi_ds_create_buffer_field * FUNCTION: acpi_ds_create_buffer_field
* *
* PARAMETERS: Op - Current parse op (create_xXField) * PARAMETERS: op - Current parse op (create_XXField)
* walk_state - Current state * walk_state - Current state
* *
* RETURN: Status * RETURN: Status
@ -167,7 +167,7 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
arg = acpi_ps_get_arg(op, 3); arg = acpi_ps_get_arg(op, 3);
} else { } 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); 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 * FUNCTION: acpi_ds_get_field_names
* *
* PARAMETERS: Info - create_field info structure * PARAMETERS: info - create_field info structure
* ` walk_state - Current method state * ` 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 * RETURN: Status
* *
@ -302,10 +302,10 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
while (arg) { while (arg) {
/* /*
* Four types of field elements are handled: * Four types of field elements are handled:
* 1) Name - Enters a new named field into the namespace * 1) name - Enters a new named field into the namespace
* 2) Offset - specifies a bit offset * 2) offset - specifies a bit offset
* 3) access_as - changes the access mode/attributes * 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) { switch (arg->common.aml_opcode) {
case AML_INT_RESERVEDFIELD_OP: 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 * 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 * region_node - Object for the containing Operation Region
* ` walk_state - Current method state * ` walk_state - Current method state
* *
@ -521,7 +521,7 @@ acpi_ds_create_field(union acpi_parse_object *op,
* *
* FUNCTION: acpi_ds_init_field_objects * 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 * ` walk_state - Current method state
* *
* RETURN: Status * RETURN: Status
@ -636,7 +636,7 @@ acpi_ds_init_field_objects(union acpi_parse_object *op,
* *
* FUNCTION: acpi_ds_create_bank_field * 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 * region_node - Object for the containing Operation Region
* walk_state - Current method state * 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 * 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 * region_node - Object for the containing Operation Region
* ` walk_state - Current method state * ` walk_state - Current method state
* *

View File

@ -60,8 +60,8 @@ acpi_ds_init_one_object(acpi_handle obj_handle,
* FUNCTION: acpi_ds_init_one_object * FUNCTION: acpi_ds_init_one_object
* *
* PARAMETERS: obj_handle - Node for the object * PARAMETERS: obj_handle - Node for the object
* Level - Current nesting level * level - Current nesting level
* Context - Points to a init info struct * context - Points to a init info struct
* return_value - Not used * return_value - Not used
* *
* RETURN: Status * RETURN: Status

View File

@ -61,7 +61,7 @@ acpi_ds_create_method_mutex(union acpi_operand_object *method_desc);
* *
* FUNCTION: acpi_ds_method_error * FUNCTION: acpi_ds_method_error
* *
* PARAMETERS: Status - Execution status * PARAMETERS: status - Execution status
* walk_state - Current state * walk_state - Current state
* *
* RETURN: Status * RETURN: Status
@ -306,9 +306,9 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
* *
* FUNCTION: acpi_ds_call_control_method * FUNCTION: acpi_ds_call_control_method
* *
* PARAMETERS: Thread - Info for this thread * PARAMETERS: thread - Info for this thread
* this_walk_state - Current walk state * this_walk_state - Current walk state
* Op - Current Op to be walked * op - Current Op to be walked
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -177,7 +177,7 @@ void acpi_ds_method_data_delete_all(struct acpi_walk_state *walk_state)
* *
* FUNCTION: acpi_ds_method_data_init_args * 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 * max_param_count - The arg count for this method
* walk_state - Current walk state object * 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 * FUNCTION: acpi_ds_method_data_get_node
* *
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
* ACPI_REFCLASS_ARG * 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 * walk_state - Current walk state object
* Node - Where the node is returned. * node - Where the node is returned.
* *
* RETURN: Status and node * RETURN: Status and node
* *
@ -296,10 +296,10 @@ acpi_ds_method_data_get_node(u8 type,
* *
* FUNCTION: acpi_ds_method_data_set_value * FUNCTION: acpi_ds_method_data_set_value
* *
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
* ACPI_REFCLASS_ARG * ACPI_REFCLASS_ARG
* Index - Which Local or Arg to get * index - Which Local or Arg to get
* Object - Object to be inserted into the stack entry * object - Object to be inserted into the stack entry
* walk_state - Current walk state object * walk_state - Current walk state object
* *
* RETURN: Status * 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. * 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 * NOTE: We do not copy the object in order to preserve the call by
* reference semantics of ACPI Control Method invocation. * reference semantics of ACPI Control Method invocation.
* (See ACPI Specification 2.0_c) * (See ACPI Specification 2.0C)
*/ */
acpi_ut_add_reference(object); acpi_ut_add_reference(object);
@ -350,9 +350,9 @@ acpi_ds_method_data_set_value(u8 type,
* *
* FUNCTION: acpi_ds_method_data_get_value * FUNCTION: acpi_ds_method_data_get_value
* *
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
* ACPI_REFCLASS_ARG * ACPI_REFCLASS_ARG
* Index - Which local_var or argument to get * index - Which localVar or argument to get
* walk_state - Current walk state object * walk_state - Current walk state object
* dest_desc - Where Arg or Local value is returned * 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 * FUNCTION: acpi_ds_method_data_delete_value
* *
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
* ACPI_REFCLASS_ARG * ACPI_REFCLASS_ARG
* Index - Which local_var or argument to delete * index - Which localVar or argument to delete
* walk_state - Current walk state object * walk_state - Current walk state object
* *
* RETURN: None * RETURN: None
@ -515,9 +515,9 @@ acpi_ds_method_data_delete_value(u8 type,
* *
* FUNCTION: acpi_ds_store_object_to_local * FUNCTION: acpi_ds_store_object_to_local
* *
* PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
* ACPI_REFCLASS_ARG * ACPI_REFCLASS_ARG
* Index - Which Local or Arg to set * index - Which Local or Arg to set
* obj_desc - Value to be stored * obj_desc - Value to be stored
* walk_state - Current walk state * walk_state - Current walk state
* *
@ -670,8 +670,8 @@ acpi_ds_store_object_to_local(u8 type,
* *
* FUNCTION: acpi_ds_method_data_get_type * FUNCTION: acpi_ds_method_data_get_type
* *
* PARAMETERS: Opcode - Either AML_LOCAL_OP or AML_ARG_OP * PARAMETERS: opcode - Either AML_LOCAL_OP or AML_ARG_OP
* Index - Which Local or Arg whose type to get * index - Which Local or Arg whose type to get
* walk_state - Current walk state object * walk_state - Current walk state object
* *
* RETURN: Data type of current value of the selected Arg or Local * RETURN: Data type of current value of the selected Arg or Local

View File

@ -64,7 +64,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
* FUNCTION: acpi_ds_build_internal_object * FUNCTION: acpi_ds_build_internal_object
* *
* PARAMETERS: walk_state - Current walk state * 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 * obj_desc_ptr - Where the ACPI internal object is returned
* *
* RETURN: Status * RETURN: Status
@ -250,7 +250,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
* FUNCTION: acpi_ds_build_internal_buffer_obj * FUNCTION: acpi_ds_build_internal_buffer_obj
* *
* PARAMETERS: walk_state - Current walk state * PARAMETERS: walk_state - Current walk state
* Op - Parser object to be translated * op - Parser object to be translated
* buffer_length - Length of the buffer * buffer_length - Length of the buffer
* obj_desc_ptr - Where the ACPI internal object is returned * 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 * FUNCTION: acpi_ds_build_internal_package_obj
* *
* PARAMETERS: walk_state - Current walk state * 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 * element_count - Number of elements in the package - this is
* the num_elements argument to Package() * the num_elements argument to Package()
* obj_desc_ptr - Where the ACPI internal object is returned * 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 * FUNCTION: acpi_ds_create_node
* *
* PARAMETERS: walk_state - Current walk state * PARAMETERS: walk_state - Current walk state
* Node - NS Node to be initialized * node - NS Node to be initialized
* Op - Parser object to be translated * op - Parser object to be translated
* *
* RETURN: Status * RETURN: Status
* *
@ -611,8 +611,8 @@ acpi_ds_create_node(struct acpi_walk_state *walk_state,
* FUNCTION: acpi_ds_init_object_from_op * FUNCTION: acpi_ds_init_object_from_op
* *
* PARAMETERS: walk_state - Current walk state * PARAMETERS: walk_state - Current walk state
* Op - Parser op used to init the internal object * op - Parser op used to init the internal object
* Opcode - AML opcode associated with the object * opcode - AML opcode associated with the object
* ret_obj_desc - Namespace object to be initialized * ret_obj_desc - Namespace object to be initialized
* *
* RETURN: Status * RETURN: Status

View File

@ -286,7 +286,7 @@ acpi_ds_init_buffer_field(u16 aml_opcode,
* FUNCTION: acpi_ds_eval_buffer_field_operands * FUNCTION: acpi_ds_eval_buffer_field_operands
* *
* PARAMETERS: walk_state - Current walk * PARAMETERS: walk_state - Current walk
* Op - A valid buffer_field Op object * op - A valid buffer_field Op object
* *
* RETURN: Status * RETURN: Status
* *
@ -370,7 +370,7 @@ acpi_ds_eval_buffer_field_operands(struct acpi_walk_state *walk_state,
* FUNCTION: acpi_ds_eval_region_operands * FUNCTION: acpi_ds_eval_region_operands
* *
* PARAMETERS: walk_state - Current walk * PARAMETERS: walk_state - Current walk
* Op - A valid region Op object * op - A valid region Op object
* *
* RETURN: Status * RETURN: Status
* *
@ -397,7 +397,7 @@ acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state,
*/ */
node = op->common.node; 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; 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 * FUNCTION: acpi_ds_eval_table_region_operands
* *
* PARAMETERS: walk_state - Current walk * PARAMETERS: walk_state - Current walk
* Op - A valid region Op object * op - A valid region Op object
* *
* RETURN: Status * 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 * FUNCTION: acpi_ds_eval_data_object_operands
* *
* PARAMETERS: walk_state - Current walk * PARAMETERS: walk_state - Current walk
* Op - A valid data_object Op object * op - A valid data_object Op object
* obj_desc - data_object * obj_desc - data_object
* *
* RETURN: Status * 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 * FUNCTION: acpi_ds_eval_bank_field_operands
* *
* PARAMETERS: walk_state - Current walk * PARAMETERS: walk_state - Current walk
* Op - A valid bank_field Op object * op - A valid bank_field Op object
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -157,7 +157,7 @@ acpi_ds_do_implicit_return(union acpi_operand_object *return_desc,
* *
* FUNCTION: acpi_ds_is_result_used * FUNCTION: acpi_ds_is_result_used
* *
* PARAMETERS: Op - Current Op * PARAMETERS: op - Current Op
* walk_state - Current State * walk_state - Current State
* *
* RETURN: TRUE if result is used, FALSE otherwise * 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 * FUNCTION: acpi_ds_delete_result_if_not_used
* *
* PARAMETERS: Op - Current parse Op * PARAMETERS: op - Current parse Op
* result_obj - Result of the operation * result_obj - Result of the operation
* walk_state - Current state * walk_state - Current state
* *
@ -445,7 +445,7 @@ void acpi_ds_clear_operands(struct acpi_walk_state *walk_state)
* FUNCTION: acpi_ds_create_operand * FUNCTION: acpi_ds_create_operand
* *
* PARAMETERS: walk_state - Current walk state * PARAMETERS: walk_state - Current walk state
* Arg - Parse object for the argument * arg - Parse object for the argument
* arg_index - Which argument (zero based) * arg_index - Which argument (zero based)
* *
* RETURN: Status * RETURN: Status

View File

@ -85,8 +85,8 @@ void acpi_ds_scope_stack_clear(struct acpi_walk_state *walk_state)
* *
* FUNCTION: acpi_ds_scope_stack_push * FUNCTION: acpi_ds_scope_stack_push
* *
* PARAMETERS: Node - Name to be made current * PARAMETERS: node - Name to be made current
* Type - Type of frame being pushed * type - Type of frame being pushed
* walk_state - Current state * walk_state - Current state
* *
* RETURN: Status * RETURN: Status

View File

@ -58,7 +58,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *ws);
* *
* FUNCTION: acpi_ds_result_pop * 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 * walk_state - Current Walk state
* *
* RETURN: Status * RETURN: Status
@ -132,7 +132,7 @@ acpi_ds_result_pop(union acpi_operand_object **object,
* *
* FUNCTION: acpi_ds_result_push * 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 * walk_state - Current Walk state
* *
* RETURN: Status * 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 * FUNCTION: acpi_ds_obj_stack_push
* *
* PARAMETERS: Object - Object to push * PARAMETERS: object - Object to push
* walk_state - Current Walk state * walk_state - Current Walk state
* *
* RETURN: Status * RETURN: Status
@ -433,7 +433,7 @@ acpi_ds_obj_stack_pop_and_delete(u32 pop_count,
* *
* FUNCTION: acpi_ds_get_current_walk_state * 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 * 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 * FUNCTION: acpi_ds_push_walk_state
* *
* PARAMETERS: walk_state - State to push * PARAMETERS: walk_state - State to push
* Thread - Thread state object * thread - Thread state object
* *
* RETURN: None * RETURN: None
* *
@ -486,7 +486,7 @@ acpi_ds_push_walk_state(struct acpi_walk_state *walk_state,
* *
* FUNCTION: acpi_ds_pop_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 * 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 * FUNCTION: acpi_ds_create_walk_state
* *
* PARAMETERS: owner_id - ID for object creation * PARAMETERS: owner_id - ID for object creation
* Origin - Starting point for this walk * origin - Starting point for this walk
* method_desc - Method object * method_desc - Method object
* Thread - Current thread state * thread - Current thread state
* *
* RETURN: Pointer to the new walk 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 * FUNCTION: acpi_ds_init_aml_walk
* *
* PARAMETERS: walk_state - New state to be initialized * PARAMETERS: walk_state - New state to be initialized
* Op - Current parse op * op - Current parse op
* method_node - Control method NS node, if any * method_node - Control method NS node, if any
* aml_start - Start of AML * aml_start - Start of AML
* aml_length - Length 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 * pass_number - 1, 2, or 3
* *
* RETURN: Status * RETURN: Status

View File

@ -251,7 +251,7 @@ u32 acpi_ev_fixed_event_detect(void)
* *
* FUNCTION: acpi_ev_fixed_event_dispatch * FUNCTION: acpi_ev_fixed_event_dispatch
* *
* PARAMETERS: Event - Event type * PARAMETERS: event - Event type
* *
* RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED * RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED
* *

View File

@ -135,7 +135,7 @@ acpi_status acpi_ev_remove_global_lock_handler(void)
* *
* FUNCTION: acpi_ev_global_lock_handler * FUNCTION: acpi_ev_global_lock_handler
* *
* PARAMETERS: Context - From thread interface, not used * PARAMETERS: context - From thread interface, not used
* *
* RETURN: ACPI_INTERRUPT_HANDLED * RETURN: ACPI_INTERRUPT_HANDLED
* *
@ -182,7 +182,7 @@ static u32 acpi_ev_global_lock_handler(void *context)
* *
* FUNCTION: acpi_ev_acquire_global_lock * FUNCTION: acpi_ev_acquire_global_lock
* *
* PARAMETERS: Timeout - Max time to wait for the lock, in millisec. * PARAMETERS: timeout - Max time to wait for the lock, in millisec.
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -318,7 +318,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block)
* FUNCTION: acpi_ev_create_gpe_block * FUNCTION: acpi_ev_create_gpe_block
* *
* PARAMETERS: gpe_device - Handle to the parent GPE block * PARAMETERS: gpe_device - Handle to the parent GPE block
* gpe_block_address - Address and space_iD * gpe_block_address - Address and space_ID
* register_count - Number of GPE register pairs in the block * register_count - Number of GPE register pairs in the block
* gpe_block_base_number - Starting GPE number for the block * gpe_block_base_number - Starting GPE number for the block
* interrupt_number - H/W interrupt for the block * interrupt_number - H/W interrupt for the block

View File

@ -54,7 +54,7 @@ ACPI_MODULE_NAME("evgpeutil")
* FUNCTION: acpi_ev_walk_gpe_list * FUNCTION: acpi_ev_walk_gpe_list
* *
* PARAMETERS: gpe_walk_callback - Routine called for each GPE block * PARAMETERS: gpe_walk_callback - Routine called for each GPE block
* Context - Value passed to callback * context - Value passed to callback
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -56,7 +56,7 @@ static void ACPI_SYSTEM_XFACE acpi_ev_notify_dispatch(void *context);
* *
* FUNCTION: acpi_ev_is_notify_object * FUNCTION: acpi_ev_is_notify_object
* *
* PARAMETERS: Node - Node to check * PARAMETERS: node - Node to check
* *
* RETURN: TRUE if notifies allowed on this object * RETURN: TRUE if notifies allowed on this object
* *
@ -86,7 +86,7 @@ u8 acpi_ev_is_notify_object(struct acpi_namespace_node *node)
* *
* FUNCTION: acpi_ev_queue_notify_request * FUNCTION: acpi_ev_queue_notify_request
* *
* PARAMETERS: Node - NS node for the notified object * PARAMETERS: node - NS node for the notified object
* notify_value - Value from the Notify() request * notify_value - Value from the Notify() request
* *
* RETURN: Status * RETURN: Status
@ -181,7 +181,7 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node,
* *
* FUNCTION: acpi_ev_notify_dispatch * FUNCTION: acpi_ev_notify_dispatch
* *
* PARAMETERS: Context - To be passed to the notify handler * PARAMETERS: context - To be passed to the notify handler
* *
* RETURN: None. * RETURN: None.
* *

View File

@ -150,7 +150,7 @@ acpi_status acpi_ev_install_region_handlers(void)
* *
* FUNCTION: acpi_ev_has_default_handler * FUNCTION: acpi_ev_has_default_handler
* *
* PARAMETERS: Node - Namespace node for the device * PARAMETERS: node - Namespace node for the device
* space_id - The address space ID * space_id - The address space ID
* *
* RETURN: TRUE if default handler is installed, FALSE otherwise * RETURN: TRUE if default handler is installed, FALSE otherwise
@ -244,7 +244,7 @@ acpi_status acpi_ev_initialize_op_regions(void)
* FUNCTION: acpi_ev_execute_reg_method * FUNCTION: acpi_ev_execute_reg_method
* *
* PARAMETERS: region_obj - Region object * PARAMETERS: region_obj - Region object
* Function - Passed to _REG: On (1) or Off (0) * function - Passed to _REG: On (1) or Off (0)
* *
* RETURN: Status * RETURN: Status
* *
@ -286,10 +286,10 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)
/* /*
* The _REG method has two arguments: * The _REG method has two arguments:
* *
* Arg0 - Integer: * arg0 - Integer:
* Operation region space ID Same value as region_obj->Region.space_id * Operation region space ID Same value as region_obj->Region.space_id
* *
* Arg1 - Integer: * arg1 - Integer:
* connection status 1 for connecting the handler, 0 for disconnecting * connection status 1 for connecting the handler, 0 for disconnecting
* the handler (Passed as a parameter) * the handler (Passed as a parameter)
*/ */
@ -330,10 +330,10 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)
* *
* PARAMETERS: region_obj - Internal region object * PARAMETERS: region_obj - Internal region object
* field_obj - Corresponding field. Can be NULL. * field_obj - Corresponding field. Can be NULL.
* Function - Read or Write operation * function - Read or Write operation
* region_offset - Where in the region to read or write * region_offset - Where in the region to read or write
* bit_width - Field width in bits (8, 16, 32, or 64) * bit_width - Field width in bits (8, 16, 32, or 64)
* Value - Pointer to in or out value, must be * value - Pointer to in or out value, must be
* a full 64-bit integer * a full 64-bit integer
* *
* RETURN: Status * RETURN: Status
@ -840,11 +840,11 @@ acpi_ev_install_handler(acpi_handle obj_handle,
* *
* FUNCTION: acpi_ev_install_space_handler * FUNCTION: acpi_ev_install_space_handler
* *
* PARAMETERS: Node - Namespace node for the device * PARAMETERS: node - Namespace node for the device
* space_id - The address space ID * space_id - The address space ID
* Handler - Address of the handler * handler - Address of the handler
* Setup - Address of the setup function * setup - Address of the setup function
* Context - Value passed to the handler on each access * context - Value passed to the handler on each access
* *
* RETURN: Status * RETURN: Status
* *
@ -1061,7 +1061,7 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node,
* *
* FUNCTION: acpi_ev_execute_reg_methods * FUNCTION: acpi_ev_execute_reg_methods
* *
* PARAMETERS: Node - Namespace node for the device * PARAMETERS: node - Namespace node for the device
* space_id - The address space ID * space_id - The address space ID
* *
* RETURN: Status * RETURN: Status
@ -1104,7 +1104,7 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
* *
* PARAMETERS: walk_namespace callback * PARAMETERS: walk_namespace callback
* *
* DESCRIPTION: Run _REG method for region objects of the requested space_iD * DESCRIPTION: Run _REG method for region objects of the requested spaceID
* *
******************************************************************************/ ******************************************************************************/

View File

@ -56,8 +56,8 @@ static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node);
* *
* FUNCTION: acpi_ev_system_memory_region_setup * FUNCTION: acpi_ev_system_memory_region_setup
* *
* PARAMETERS: Handle - Region we are interested in * PARAMETERS: handle - Region we are interested in
* Function - Start or stop * function - Start or stop
* handler_context - Address space handler context * handler_context - Address space handler context
* region_context - Region specific context * region_context - Region specific context
* *
@ -118,8 +118,8 @@ acpi_ev_system_memory_region_setup(acpi_handle handle,
* *
* FUNCTION: acpi_ev_io_space_region_setup * FUNCTION: acpi_ev_io_space_region_setup
* *
* PARAMETERS: Handle - Region we are interested in * PARAMETERS: handle - Region we are interested in
* Function - Start or stop * function - Start or stop
* handler_context - Address space handler context * handler_context - Address space handler context
* region_context - Region specific context * region_context - Region specific context
* *
@ -149,8 +149,8 @@ acpi_ev_io_space_region_setup(acpi_handle handle,
* *
* FUNCTION: acpi_ev_pci_config_region_setup * FUNCTION: acpi_ev_pci_config_region_setup
* *
* PARAMETERS: Handle - Region we are interested in * PARAMETERS: handle - Region we are interested in
* Function - Start or stop * function - Start or stop
* handler_context - Address space handler context * handler_context - Address space handler context
* region_context - Region specific context * region_context - Region specific context
* *
@ -338,7 +338,7 @@ acpi_ev_pci_config_region_setup(acpi_handle handle,
* *
* FUNCTION: acpi_ev_is_pci_root_bridge * FUNCTION: acpi_ev_is_pci_root_bridge
* *
* PARAMETERS: Node - Device node being examined * PARAMETERS: node - Device node being examined
* *
* RETURN: TRUE if device is a PCI/PCI-Express Root Bridge * RETURN: TRUE if device is a PCI/PCI-Express Root Bridge
* *
@ -393,14 +393,14 @@ static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node)
* *
* FUNCTION: acpi_ev_pci_bar_region_setup * FUNCTION: acpi_ev_pci_bar_region_setup
* *
* PARAMETERS: Handle - Region we are interested in * PARAMETERS: handle - Region we are interested in
* Function - Start or stop * function - Start or stop
* handler_context - Address space handler context * handler_context - Address space handler context
* region_context - Region specific context * region_context - Region specific context
* *
* RETURN: Status * RETURN: Status
* *
* DESCRIPTION: Setup a pci_bAR operation region * DESCRIPTION: Setup a pci_BAR operation region
* *
* MUTEX: Assumes namespace is not locked * MUTEX: Assumes namespace is not locked
* *
@ -420,8 +420,8 @@ acpi_ev_pci_bar_region_setup(acpi_handle handle,
* *
* FUNCTION: acpi_ev_cmos_region_setup * FUNCTION: acpi_ev_cmos_region_setup
* *
* PARAMETERS: Handle - Region we are interested in * PARAMETERS: handle - Region we are interested in
* Function - Start or stop * function - Start or stop
* handler_context - Address space handler context * handler_context - Address space handler context
* region_context - Region specific context * region_context - Region specific context
* *
@ -447,8 +447,8 @@ acpi_ev_cmos_region_setup(acpi_handle handle,
* *
* FUNCTION: acpi_ev_default_region_setup * FUNCTION: acpi_ev_default_region_setup
* *
* PARAMETERS: Handle - Region we are interested in * PARAMETERS: handle - Region we are interested in
* Function - Start or stop * function - Start or stop
* handler_context - Address space handler context * handler_context - Address space handler context
* region_context - Region specific context * region_context - Region specific context
* *

View File

@ -56,7 +56,7 @@ static u32 ACPI_SYSTEM_XFACE acpi_ev_sci_xrupt_handler(void *context);
* *
* FUNCTION: acpi_ev_sci_xrupt_handler * FUNCTION: acpi_ev_sci_xrupt_handler
* *
* PARAMETERS: Context - Calling Context * PARAMETERS: context - Calling Context
* *
* RETURN: Status code indicates whether interrupt was handled. * RETURN: Status code indicates whether interrupt was handled.
* *
@ -96,7 +96,7 @@ static u32 ACPI_SYSTEM_XFACE acpi_ev_sci_xrupt_handler(void *context)
* *
* FUNCTION: acpi_ev_gpe_xrupt_handler * FUNCTION: acpi_ev_gpe_xrupt_handler
* *
* PARAMETERS: Context - Calling Context * PARAMETERS: context - Calling Context
* *
* RETURN: Status code indicates whether interrupt was handled. * RETURN: Status code indicates whether interrupt was handled.
* *

View File

@ -342,7 +342,7 @@ ACPI_EXPORT_SYMBOL(acpi_remove_notify_handler)
* *
* FUNCTION: acpi_install_exception_handler * FUNCTION: acpi_install_exception_handler
* *
* PARAMETERS: Handler - Pointer to the handler function for the * PARAMETERS: handler - Pointer to the handler function for the
* event * event
* *
* RETURN: Status * RETURN: Status
@ -386,8 +386,8 @@ ACPI_EXPORT_SYMBOL(acpi_install_exception_handler)
* *
* FUNCTION: acpi_install_global_event_handler * FUNCTION: acpi_install_global_event_handler
* *
* PARAMETERS: Handler - Pointer to the global event handler function * PARAMETERS: handler - Pointer to the global event handler function
* Context - Value passed to the handler on each event * context - Value passed to the handler on each event
* *
* RETURN: Status * RETURN: Status
* *
@ -436,10 +436,10 @@ ACPI_EXPORT_SYMBOL(acpi_install_global_event_handler)
* *
* FUNCTION: acpi_install_fixed_event_handler * FUNCTION: acpi_install_fixed_event_handler
* *
* PARAMETERS: Event - Event type to enable. * PARAMETERS: event - Event type to enable.
* Handler - Pointer to the handler function for the * handler - Pointer to the handler function for the
* event * event
* Context - Value passed to the handler on each GPE * context - Value passed to the handler on each GPE
* *
* RETURN: Status * RETURN: Status
* *
@ -506,8 +506,8 @@ ACPI_EXPORT_SYMBOL(acpi_install_fixed_event_handler)
* *
* FUNCTION: acpi_remove_fixed_event_handler * FUNCTION: acpi_remove_fixed_event_handler
* *
* PARAMETERS: Event - Event type to disable. * PARAMETERS: event - Event type to disable.
* Handler - Address of the handler * handler - Address of the handler
* *
* RETURN: Status * RETURN: Status
* *
@ -563,10 +563,10 @@ ACPI_EXPORT_SYMBOL(acpi_remove_fixed_event_handler)
* PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT
* defined GPEs) * defined GPEs)
* gpe_number - The GPE number within the GPE block * gpe_number - The GPE number within the GPE block
* Type - Whether this GPE should be treated as an * type - Whether this GPE should be treated as an
* edge- or level-triggered interrupt. * edge- or level-triggered interrupt.
* Address - Address of the handler * address - Address of the handler
* Context - Value passed to the handler on each GPE * context - Value passed to the handler on each GPE
* *
* RETURN: Status * RETURN: Status
* *
@ -673,7 +673,7 @@ ACPI_EXPORT_SYMBOL(acpi_install_gpe_handler)
* PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT
* defined GPEs) * defined GPEs)
* gpe_number - The event to remove a handler * gpe_number - The event to remove a handler
* Address - Address of the handler * address - Address of the handler
* *
* RETURN: Status * RETURN: Status
* *
@ -769,8 +769,8 @@ ACPI_EXPORT_SYMBOL(acpi_remove_gpe_handler)
* *
* FUNCTION: acpi_acquire_global_lock * FUNCTION: acpi_acquire_global_lock
* *
* PARAMETERS: Timeout - How long the caller is willing to wait * PARAMETERS: timeout - How long the caller is willing to wait
* Handle - Where the handle to the lock is returned * handle - Where the handle to the lock is returned
* (if acquired) * (if acquired)
* *
* RETURN: Status * RETURN: Status
@ -817,7 +817,7 @@ ACPI_EXPORT_SYMBOL(acpi_acquire_global_lock)
* *
* FUNCTION: acpi_release_global_lock * FUNCTION: acpi_release_global_lock
* *
* PARAMETERS: Handle - Returned from acpi_acquire_global_lock * PARAMETERS: handle - Returned from acpi_acquire_global_lock
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -153,8 +153,8 @@ ACPI_EXPORT_SYMBOL(acpi_disable)
* *
* FUNCTION: acpi_enable_event * FUNCTION: acpi_enable_event
* *
* PARAMETERS: Event - The fixed eventto be enabled * PARAMETERS: event - The fixed eventto be enabled
* Flags - Reserved * flags - Reserved
* *
* RETURN: Status * RETURN: Status
* *
@ -265,7 +265,7 @@ ACPI_EXPORT_SYMBOL(acpi_disable_event)
* *
* FUNCTION: acpi_clear_event * FUNCTION: acpi_clear_event
* *
* PARAMETERS: Event - The fixed event to be cleared * PARAMETERS: event - The fixed event to be cleared
* *
* RETURN: Status * RETURN: Status
* *
@ -301,7 +301,7 @@ ACPI_EXPORT_SYMBOL(acpi_clear_event)
* *
* FUNCTION: acpi_get_event_status * FUNCTION: acpi_get_event_status
* *
* PARAMETERS: Event - The fixed event * PARAMETERS: event - The fixed event
* event_status - Where the current status of the event will * event_status - Where the current status of the event will
* be returned * be returned
* *

View File

@ -315,7 +315,7 @@ ACPI_EXPORT_SYMBOL(acpi_setup_gpe_for_wake)
* *
* PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1
* gpe_number - GPE level within the GPE block * gpe_number - GPE level within the GPE block
* Action - Enable or Disable * action - Enable or Disable
* *
* RETURN: Status * RETURN: Status
* *
@ -540,7 +540,7 @@ ACPI_EXPORT_SYMBOL(acpi_enable_all_runtime_gpes)
* FUNCTION: acpi_install_gpe_block * FUNCTION: acpi_install_gpe_block
* *
* PARAMETERS: gpe_device - Handle to the parent GPE Block Device * PARAMETERS: gpe_device - Handle to the parent GPE Block Device
* gpe_block_address - Address and space_iD * gpe_block_address - Address and space_ID
* register_count - Number of GPE register pairs in the block * register_count - Number of GPE register pairs in the block
* interrupt_number - H/W interrupt for the block * interrupt_number - H/W interrupt for the block
* *
@ -685,7 +685,7 @@ ACPI_EXPORT_SYMBOL(acpi_remove_gpe_block)
* *
* FUNCTION: acpi_get_gpe_device * FUNCTION: acpi_get_gpe_device
* *
* PARAMETERS: Index - System GPE index (0-current_gpe_count) * PARAMETERS: index - System GPE index (0-current_gpe_count)
* gpe_device - Where the parent GPE Device is returned * gpe_device - Where the parent GPE Device is returned
* *
* RETURN: Status * RETURN: Status

View File

@ -55,11 +55,11 @@ ACPI_MODULE_NAME("evxfregn")
* *
* FUNCTION: acpi_install_address_space_handler * FUNCTION: acpi_install_address_space_handler
* *
* PARAMETERS: Device - Handle for the device * PARAMETERS: device - Handle for the device
* space_id - The address space ID * space_id - The address space ID
* Handler - Address of the handler * handler - Address of the handler
* Setup - Address of the setup function * setup - Address of the setup function
* Context - Value passed to the handler on each access * context - Value passed to the handler on each access
* *
* RETURN: Status * RETURN: Status
* *
@ -112,16 +112,16 @@ acpi_install_address_space_handler(acpi_handle device,
} }
/* /*
* For the default space_iDs, (the IDs for which there are default region handlers * For the default space_IDs, (the IDs for which there are default region handlers
* installed) Only execute the _REG methods if the global initialization _REG * installed) Only execute the _REG methods if the global initialization _REG
* methods have already been run (via acpi_initialize_objects). In other words, * methods have already been run (via acpi_initialize_objects). In other words,
* we will defer the execution of the _REG methods for these space_iDs until * we will defer the execution of the _REG methods for these space_IDs until
* execution of acpi_initialize_objects. This is done because we need the handlers * execution of acpi_initialize_objects. This is done because we need the handlers
* for the default spaces (mem/io/pci/table) to be installed before we can run * for the default spaces (mem/io/pci/table) to be installed before we can run
* any control methods (or _REG methods). There is known BIOS code that depends * any control methods (or _REG methods). There is known BIOS code that depends
* on this. * on this.
* *
* For all other space_iDs, we can safely execute the _REG methods immediately. * For all other space_IDs, we can safely execute the _REG methods immediately.
* This means that for IDs like embedded_controller, this function should be called * This means that for IDs like embedded_controller, this function should be called
* only after acpi_enable_subsystem has been called. * only after acpi_enable_subsystem has been called.
*/ */
@ -157,9 +157,9 @@ ACPI_EXPORT_SYMBOL(acpi_install_address_space_handler)
* *
* FUNCTION: acpi_remove_address_space_handler * FUNCTION: acpi_remove_address_space_handler
* *
* PARAMETERS: Device - Handle for the device * PARAMETERS: device - Handle for the device
* space_id - The address space ID * space_id - The address space ID
* Handler - Address of the handler * handler - Address of the handler
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -66,7 +66,7 @@ acpi_ex_region_read(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_add_table * FUNCTION: acpi_ex_add_table
* *
* PARAMETERS: Table - Pointer to raw table * PARAMETERS: table - Pointer to raw table
* parent_node - Where to load the table (scope) * parent_node - Where to load the table (scope)
* ddb_handle - Where to return the table handle. * ddb_handle - Where to return the table handle.
* *
@ -276,8 +276,8 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state,
* FUNCTION: acpi_ex_region_read * FUNCTION: acpi_ex_region_read
* *
* PARAMETERS: obj_desc - Region descriptor * PARAMETERS: obj_desc - Region descriptor
* Length - Number of bytes to read * length - Number of bytes to read
* Buffer - Pointer to where to put the data * buffer - Pointer to where to put the data
* *
* RETURN: Status * RETURN: Status
* *
@ -318,7 +318,7 @@ acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer)
* *
* PARAMETERS: obj_desc - Region or Buffer/Field where the table will be * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be
* obtained * obtained
* Target - Where a handle to the table will be stored * target - Where a handle to the table will be stored
* walk_state - Current state * walk_state - Current state
* *
* RETURN: Status * RETURN: Status

View File

@ -60,7 +60,7 @@ acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
* PARAMETERS: obj_desc - Object to be converted. Must be an * PARAMETERS: obj_desc - Object to be converted. Must be an
* Integer, Buffer, or String * Integer, Buffer, or String
* result_desc - Where the new Integer object is returned * result_desc - Where the new Integer object is returned
* Flags - Used for string conversion * flags - Used for string conversion
* *
* RETURN: Status * RETURN: Status
* *
@ -272,9 +272,9 @@ acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_convert_to_ascii * FUNCTION: acpi_ex_convert_to_ascii
* *
* PARAMETERS: Integer - Value to be converted * PARAMETERS: integer - Value to be converted
* Base - ACPI_STRING_DECIMAL or ACPI_STRING_HEX * base - ACPI_STRING_DECIMAL or ACPI_STRING_HEX
* String - Where the string is returned * string - Where the string is returned
* data_width - Size of data item to be converted, in bytes * data_width - Size of data item to be converted, in bytes
* *
* RETURN: Actual string length * RETURN: Actual string length
@ -385,7 +385,7 @@ acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width)
* PARAMETERS: obj_desc - Object to be converted. Must be an * PARAMETERS: obj_desc - Object to be converted. Must be an
* Integer, Buffer, or String * Integer, Buffer, or String
* result_desc - Where the string object is returned * result_desc - Where the string object is returned
* Type - String flags (base and conversion type) * type - String flags (base and conversion type)
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -369,7 +369,7 @@ acpi_ex_create_region(u8 * aml_start,
* *
* DESCRIPTION: Create a new processor object and populate the fields * DESCRIPTION: Create a new processor object and populate the fields
* *
* Processor (Name[0], cpu_iD[1], pblock_addr[2], pblock_length[3]) * Processor (Name[0], cpu_ID[1], pblock_addr[2], pblock_length[3])
* *
******************************************************************************/ ******************************************************************************/

View File

@ -54,8 +54,8 @@ ACPI_MODULE_NAME("exdebug")
* FUNCTION: acpi_ex_do_debug_object * FUNCTION: acpi_ex_do_debug_object
* *
* PARAMETERS: source_desc - Object to be output to "Debug Object" * PARAMETERS: source_desc - Object to be output to "Debug Object"
* Level - Indentation level (used for packages) * level - Indentation level (used for packages)
* Index - Current package element, zero if not pkg * index - Current package element, zero if not pkg
* *
* RETURN: None * RETURN: None
* *

View File

@ -323,7 +323,7 @@ static struct acpi_exdump_info *acpi_ex_dump_info[] = {
* FUNCTION: acpi_ex_dump_object * FUNCTION: acpi_ex_dump_object
* *
* PARAMETERS: obj_desc - Descriptor to dump * PARAMETERS: obj_desc - Descriptor to dump
* Info - Info table corresponding to this object * info - Info table corresponding to this object
* type * type
* *
* RETURN: None * RETURN: None
@ -449,7 +449,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
* FUNCTION: acpi_ex_dump_operand * FUNCTION: acpi_ex_dump_operand
* *
* PARAMETERS: *obj_desc - Pointer to entry to be dumped * PARAMETERS: *obj_desc - Pointer to entry to be dumped
* Depth - Current nesting depth * depth - Current nesting depth
* *
* RETURN: None * RETURN: None
* *
@ -731,7 +731,7 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth)
* *
* FUNCTION: acpi_ex_dump_operands * FUNCTION: acpi_ex_dump_operands
* *
* PARAMETERS: Operands - A list of Operand objects * PARAMETERS: operands - A list of Operand objects
* opcode_name - AML opcode name * opcode_name - AML opcode name
* num_operands - Operand count for this opcode * num_operands - Operand count for this opcode
* *
@ -774,8 +774,8 @@ acpi_ex_dump_operands(union acpi_operand_object **operands,
* *
* FUNCTION: acpi_ex_out* functions * FUNCTION: acpi_ex_out* functions
* *
* PARAMETERS: Title - Descriptive text * PARAMETERS: title - Descriptive text
* Value - Value to be displayed * value - Value to be displayed
* *
* DESCRIPTION: Object dump output formatting functions. These functions * DESCRIPTION: Object dump output formatting functions. These functions
* reduce the number of format strings required and keeps them * reduce the number of format strings required and keeps them
@ -797,8 +797,8 @@ static void acpi_ex_out_pointer(char *title, void *value)
* *
* FUNCTION: acpi_ex_dump_namespace_node * FUNCTION: acpi_ex_dump_namespace_node
* *
* PARAMETERS: Node - Descriptor to dump * PARAMETERS: node - Descriptor to dump
* Flags - Force display if TRUE * flags - Force display if TRUE
* *
* DESCRIPTION: Dumps the members of the given.Node * DESCRIPTION: Dumps the members of the given.Node
* *
@ -830,7 +830,7 @@ void acpi_ex_dump_namespace_node(struct acpi_namespace_node *node, u32 flags)
* *
* FUNCTION: acpi_ex_dump_reference_obj * FUNCTION: acpi_ex_dump_reference_obj
* *
* PARAMETERS: Object - Descriptor to dump * PARAMETERS: object - Descriptor to dump
* *
* DESCRIPTION: Dumps a reference object * DESCRIPTION: Dumps a reference object
* *
@ -887,8 +887,8 @@ static void acpi_ex_dump_reference_obj(union acpi_operand_object *obj_desc)
* FUNCTION: acpi_ex_dump_package_obj * FUNCTION: acpi_ex_dump_package_obj
* *
* PARAMETERS: obj_desc - Descriptor to dump * PARAMETERS: obj_desc - Descriptor to dump
* Level - Indentation Level * level - Indentation Level
* Index - Package index for this object * index - Package index for this object
* *
* DESCRIPTION: Dumps the elements of the package * DESCRIPTION: Dumps the elements of the package
* *
@ -980,7 +980,7 @@ acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc,
* FUNCTION: acpi_ex_dump_object_descriptor * FUNCTION: acpi_ex_dump_object_descriptor
* *
* PARAMETERS: obj_desc - Descriptor to dump * PARAMETERS: obj_desc - Descriptor to dump
* Flags - Force display if TRUE * flags - Force display if TRUE
* *
* DESCRIPTION: Dumps the members of the object descriptor given. * DESCRIPTION: Dumps the members of the object descriptor given.
* *

View File

@ -222,9 +222,9 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
* PARAMETERS: obj_desc - Field to be read * PARAMETERS: obj_desc - Field to be read
* field_datum_byte_offset - Byte offset of this datum within the * field_datum_byte_offset - Byte offset of this datum within the
* parent field * parent field
* Value - Where to store value (must at least * value - Where to store value (must at least
* 64 bits) * 64 bits)
* Function - Read or Write flag plus other region- * function - Read or Write flag plus other region-
* dependent flags * dependent flags
* *
* RETURN: Status * RETURN: Status
@ -315,7 +315,7 @@ acpi_ex_access_region(union acpi_operand_object *obj_desc,
* FUNCTION: acpi_ex_register_overflow * FUNCTION: acpi_ex_register_overflow
* *
* PARAMETERS: obj_desc - Register(Field) to be written * PARAMETERS: obj_desc - Register(Field) to be written
* Value - Value to be stored * value - Value to be stored
* *
* RETURN: TRUE if value overflows the field, FALSE otherwise * RETURN: TRUE if value overflows the field, FALSE otherwise
* *
@ -365,7 +365,7 @@ acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value)
* PARAMETERS: obj_desc - Field to be read * PARAMETERS: obj_desc - Field to be read
* field_datum_byte_offset - Byte offset of this datum within the * field_datum_byte_offset - Byte offset of this datum within the
* parent field * parent field
* Value - Where to store value (must be 64 bits) * value - Where to store value (must be 64 bits)
* read_write - Read or Write flag * read_write - Read or Write flag
* *
* RETURN: Status * RETURN: Status
@ -574,7 +574,7 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc,
* FUNCTION: acpi_ex_write_with_update_rule * FUNCTION: acpi_ex_write_with_update_rule
* *
* PARAMETERS: obj_desc - Field to be written * PARAMETERS: obj_desc - Field to be written
* Mask - bitmask within field datum * mask - bitmask within field datum
* field_value - Value to write * field_value - Value to write
* field_datum_byte_offset - Offset of datum within field * field_datum_byte_offset - Offset of datum within field
* *
@ -678,7 +678,7 @@ acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc,
* FUNCTION: acpi_ex_extract_from_field * FUNCTION: acpi_ex_extract_from_field
* *
* PARAMETERS: obj_desc - Field to be read * PARAMETERS: obj_desc - Field to be read
* Buffer - Where to store the field data * buffer - Where to store the field data
* buffer_length - Length of Buffer * buffer_length - Length of Buffer
* *
* RETURN: Status * RETURN: Status
@ -823,7 +823,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
* FUNCTION: acpi_ex_insert_into_field * FUNCTION: acpi_ex_insert_into_field
* *
* PARAMETERS: obj_desc - Field to be written * PARAMETERS: obj_desc - Field to be written
* Buffer - Data to be written * buffer - Data to be written
* buffer_length - Length of Buffer * buffer_length - Length of Buffer
* *
* RETURN: Status * RETURN: Status

View File

@ -144,8 +144,8 @@ acpi_ex_get_object_reference(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_concat_template * FUNCTION: acpi_ex_concat_template
* *
* PARAMETERS: Operand0 - First source object * PARAMETERS: operand0 - First source object
* Operand1 - Second source object * operand1 - Second source object
* actual_return_desc - Where to place the return object * actual_return_desc - Where to place the return object
* walk_state - Current walk state * walk_state - Current walk state
* *
@ -229,8 +229,8 @@ acpi_ex_concat_template(union acpi_operand_object *operand0,
* *
* FUNCTION: acpi_ex_do_concatenate * FUNCTION: acpi_ex_do_concatenate
* *
* PARAMETERS: Operand0 - First source object * PARAMETERS: operand0 - First source object
* Operand1 - Second source object * operand1 - Second source object
* actual_return_desc - Where to place the return object * actual_return_desc - Where to place the return object
* walk_state - Current walk state * walk_state - Current walk state
* *
@ -397,9 +397,9 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0,
* *
* FUNCTION: acpi_ex_do_math_op * FUNCTION: acpi_ex_do_math_op
* *
* PARAMETERS: Opcode - AML opcode * PARAMETERS: opcode - AML opcode
* Integer0 - Integer operand #0 * integer0 - Integer operand #0
* Integer1 - Integer operand #1 * integer1 - Integer operand #1
* *
* RETURN: Integer result of the operation * RETURN: Integer result of the operation
* *
@ -479,9 +479,9 @@ u64 acpi_ex_do_math_op(u16 opcode, u64 integer0, u64 integer1)
* *
* FUNCTION: acpi_ex_do_logical_numeric_op * FUNCTION: acpi_ex_do_logical_numeric_op
* *
* PARAMETERS: Opcode - AML opcode * PARAMETERS: opcode - AML opcode
* Integer0 - Integer operand #0 * integer0 - Integer operand #0
* Integer1 - Integer operand #1 * integer1 - Integer operand #1
* logical_result - TRUE/FALSE result of the operation * logical_result - TRUE/FALSE result of the operation
* *
* RETURN: Status * RETURN: Status
@ -534,9 +534,9 @@ acpi_ex_do_logical_numeric_op(u16 opcode,
* *
* FUNCTION: acpi_ex_do_logical_op * FUNCTION: acpi_ex_do_logical_op
* *
* PARAMETERS: Opcode - AML opcode * PARAMETERS: opcode - AML opcode
* Operand0 - operand #0 * operand0 - operand #0
* Operand1 - operand #1 * operand1 - operand #1
* logical_result - TRUE/FALSE result of the operation * logical_result - TRUE/FALSE result of the operation
* *
* RETURN: Status * RETURN: Status

View File

@ -102,7 +102,7 @@ void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc)
* FUNCTION: acpi_ex_link_mutex * FUNCTION: acpi_ex_link_mutex
* *
* PARAMETERS: obj_desc - The mutex to be linked * PARAMETERS: obj_desc - The mutex to be linked
* Thread - Current executing thread object * thread - Current executing thread object
* *
* RETURN: None * RETURN: None
* *
@ -138,7 +138,7 @@ acpi_ex_link_mutex(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_acquire_mutex_object * FUNCTION: acpi_ex_acquire_mutex_object
* *
* PARAMETERS: Timeout - Timeout in milliseconds * PARAMETERS: timeout - Timeout in milliseconds
* obj_desc - Mutex object * obj_desc - Mutex object
* thread_id - Current thread state * thread_id - Current thread state
* *
@ -443,7 +443,7 @@ acpi_ex_release_mutex(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_release_all_mutexes * FUNCTION: acpi_ex_release_all_mutexes
* *
* PARAMETERS: Thread - Current executing thread object * PARAMETERS: thread - Current executing thread object
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -391,7 +391,7 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc,
* *
* FUNCTION: acpi_ex_prep_field_value * FUNCTION: acpi_ex_prep_field_value
* *
* PARAMETERS: Info - Contains all field creation info * PARAMETERS: info - Contains all field creation info
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -53,10 +53,10 @@ ACPI_MODULE_NAME("exregion")
* *
* FUNCTION: acpi_ex_system_memory_space_handler * FUNCTION: acpi_ex_system_memory_space_handler
* *
* PARAMETERS: Function - Read or Write operation * PARAMETERS: function - Read or Write operation
* Address - Where in the space to read or write * address - Where in the space to read or write
* bit_width - Field width in bits (8, 16, or 32) * bit_width - Field width in bits (8, 16, or 32)
* Value - Pointer to in or out value * value - Pointer to in or out value
* handler_context - Pointer to Handler's context * handler_context - Pointer to Handler's context
* region_context - Pointer to context specific to the * region_context - Pointer to context specific to the
* accessed region * accessed region
@ -270,10 +270,10 @@ acpi_ex_system_memory_space_handler(u32 function,
* *
* FUNCTION: acpi_ex_system_io_space_handler * FUNCTION: acpi_ex_system_io_space_handler
* *
* PARAMETERS: Function - Read or Write operation * PARAMETERS: function - Read or Write operation
* Address - Where in the space to read or write * address - Where in the space to read or write
* bit_width - Field width in bits (8, 16, or 32) * bit_width - Field width in bits (8, 16, or 32)
* Value - Pointer to in or out value * value - Pointer to in or out value
* handler_context - Pointer to Handler's context * handler_context - Pointer to Handler's context
* region_context - Pointer to context specific to the * region_context - Pointer to context specific to the
* accessed region * accessed region
@ -329,10 +329,10 @@ acpi_ex_system_io_space_handler(u32 function,
* *
* FUNCTION: acpi_ex_pci_config_space_handler * FUNCTION: acpi_ex_pci_config_space_handler
* *
* PARAMETERS: Function - Read or Write operation * PARAMETERS: function - Read or Write operation
* Address - Where in the space to read or write * address - Where in the space to read or write
* bit_width - Field width in bits (8, 16, or 32) * bit_width - Field width in bits (8, 16, or 32)
* Value - Pointer to in or out value * value - Pointer to in or out value
* handler_context - Pointer to Handler's context * handler_context - Pointer to Handler's context
* region_context - Pointer to context specific to the * region_context - Pointer to context specific to the
* accessed region * accessed region
@ -365,7 +365,7 @@ acpi_ex_pci_config_space_handler(u32 function,
* pci_function is the PCI device function number * pci_function is the PCI device function number
* pci_register is the Config space register range 0-255 bytes * pci_register is the Config space register range 0-255 bytes
* *
* Value - input value for write, output address for read * value - input value for write, output address for read
* *
*/ */
pci_id = (struct acpi_pci_id *)region_context; pci_id = (struct acpi_pci_id *)region_context;
@ -402,10 +402,10 @@ acpi_ex_pci_config_space_handler(u32 function,
* *
* FUNCTION: acpi_ex_cmos_space_handler * FUNCTION: acpi_ex_cmos_space_handler
* *
* PARAMETERS: Function - Read or Write operation * PARAMETERS: function - Read or Write operation
* Address - Where in the space to read or write * address - Where in the space to read or write
* bit_width - Field width in bits (8, 16, or 32) * bit_width - Field width in bits (8, 16, or 32)
* Value - Pointer to in or out value * value - Pointer to in or out value
* handler_context - Pointer to Handler's context * handler_context - Pointer to Handler's context
* region_context - Pointer to context specific to the * region_context - Pointer to context specific to the
* accessed region * accessed region
@ -434,10 +434,10 @@ acpi_ex_cmos_space_handler(u32 function,
* *
* FUNCTION: acpi_ex_pci_bar_space_handler * FUNCTION: acpi_ex_pci_bar_space_handler
* *
* PARAMETERS: Function - Read or Write operation * PARAMETERS: function - Read or Write operation
* Address - Where in the space to read or write * address - Where in the space to read or write
* bit_width - Field width in bits (8, 16, or 32) * bit_width - Field width in bits (8, 16, or 32)
* Value - Pointer to in or out value * value - Pointer to in or out value
* handler_context - Pointer to Handler's context * handler_context - Pointer to Handler's context
* region_context - Pointer to context specific to the * region_context - Pointer to context specific to the
* accessed region * accessed region
@ -466,10 +466,10 @@ acpi_ex_pci_bar_space_handler(u32 function,
* *
* FUNCTION: acpi_ex_data_table_space_handler * FUNCTION: acpi_ex_data_table_space_handler
* *
* PARAMETERS: Function - Read or Write operation * PARAMETERS: function - Read or Write operation
* Address - Where in the space to read or write * address - Where in the space to read or write
* bit_width - Field width in bits (8, 16, or 32) * bit_width - Field width in bits (8, 16, or 32)
* Value - Pointer to in or out value * value - Pointer to in or out value
* handler_context - Pointer to Handler's context * handler_context - Pointer to Handler's context
* region_context - Pointer to context specific to the * region_context - Pointer to context specific to the
* accessed region * accessed region

View File

@ -321,7 +321,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
* FUNCTION: acpi_ex_resolve_multiple * FUNCTION: acpi_ex_resolve_multiple
* *
* PARAMETERS: walk_state - Current state (contains AML opcode) * PARAMETERS: walk_state - Current state (contains AML opcode)
* Operand - Starting point for resolution * operand - Starting point for resolution
* return_type - Where the object type is returned * return_type - Where the object type is returned
* return_desc - Where the resolved object is returned * return_desc - Where the resolved object is returned
* *

View File

@ -113,7 +113,7 @@ acpi_ex_check_object_type(acpi_object_type type_needed,
* *
* FUNCTION: acpi_ex_resolve_operands * FUNCTION: acpi_ex_resolve_operands
* *
* PARAMETERS: Opcode - Opcode being interpreted * PARAMETERS: opcode - Opcode being interpreted
* stack_ptr - Pointer to the operand stack to be * stack_ptr - Pointer to the operand stack to be
* resolved * resolved
* walk_state - Current state * walk_state - Current state
@ -307,7 +307,7 @@ acpi_ex_resolve_operands(u16 opcode,
case ARGI_DEVICE_REF: case ARGI_DEVICE_REF:
case ARGI_TARGETREF: /* Allows implicit conversion rules before store */ case ARGI_TARGETREF: /* Allows implicit conversion rules before store */
case ARGI_FIXED_TARGET: /* No implicit conversion before store to target */ case ARGI_FIXED_TARGET: /* No implicit conversion before store to target */
case ARGI_SIMPLE_TARGET: /* Name, Local, or Arg - no implicit conversion */ case ARGI_SIMPLE_TARGET: /* Name, Local, or arg - no implicit conversion */
/* /*
* Need an operand of type ACPI_TYPE_LOCAL_REFERENCE * Need an operand of type ACPI_TYPE_LOCAL_REFERENCE
@ -410,7 +410,7 @@ acpi_ex_resolve_operands(u16 opcode,
/* /*
* Need an operand of type ACPI_TYPE_INTEGER, * Need an operand of type ACPI_TYPE_INTEGER,
* But we can implicitly convert from a STRING or BUFFER * But we can implicitly convert from a STRING or BUFFER
* Aka - "Implicit Source Operand Conversion" * aka - "Implicit Source Operand Conversion"
*/ */
status = status =
acpi_ex_convert_to_integer(obj_desc, stack_ptr, 16); acpi_ex_convert_to_integer(obj_desc, stack_ptr, 16);
@ -437,7 +437,7 @@ acpi_ex_resolve_operands(u16 opcode,
/* /*
* Need an operand of type ACPI_TYPE_BUFFER, * Need an operand of type ACPI_TYPE_BUFFER,
* But we can implicitly convert from a STRING or INTEGER * But we can implicitly convert from a STRING or INTEGER
* Aka - "Implicit Source Operand Conversion" * aka - "Implicit Source Operand Conversion"
*/ */
status = acpi_ex_convert_to_buffer(obj_desc, stack_ptr); status = acpi_ex_convert_to_buffer(obj_desc, stack_ptr);
if (ACPI_FAILURE(status)) { if (ACPI_FAILURE(status)) {
@ -463,7 +463,7 @@ acpi_ex_resolve_operands(u16 opcode,
/* /*
* Need an operand of type ACPI_TYPE_STRING, * Need an operand of type ACPI_TYPE_STRING,
* But we can implicitly convert from a BUFFER or INTEGER * But we can implicitly convert from a BUFFER or INTEGER
* Aka - "Implicit Source Operand Conversion" * aka - "Implicit Source Operand Conversion"
*/ */
status = acpi_ex_convert_to_string(obj_desc, stack_ptr, status = acpi_ex_convert_to_string(obj_desc, stack_ptr,
ACPI_IMPLICIT_CONVERT_HEX); ACPI_IMPLICIT_CONVERT_HEX);

View File

@ -361,7 +361,7 @@ acpi_ex_store_object_to_index(union acpi_operand_object *source_desc,
* FUNCTION: acpi_ex_store_object_to_node * FUNCTION: acpi_ex_store_object_to_node
* *
* PARAMETERS: source_desc - Value to be stored * PARAMETERS: source_desc - Value to be stored
* Node - Named object to receive the value * node - Named object to receive the value
* walk_state - Current walk state * walk_state - Current walk state
* implicit_conversion - Perform implicit conversion (yes/no) * implicit_conversion - Perform implicit conversion (yes/no)
* *

View File

@ -110,7 +110,7 @@ acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc,
* NOTE: ACPI versions up to 3.0 specified that the buffer must be * NOTE: ACPI versions up to 3.0 specified that the buffer must be
* truncated if the string is smaller than the buffer. However, "other" * truncated if the string is smaller than the buffer. However, "other"
* implementations of ACPI never did this and thus became the defacto * implementations of ACPI never did this and thus became the defacto
* standard. ACPI 3.0_a changes this behavior such that the buffer * standard. ACPI 3.0A changes this behavior such that the buffer
* is no longer truncated. * is no longer truncated.
*/ */

View File

@ -53,8 +53,8 @@ ACPI_MODULE_NAME("exsystem")
* *
* FUNCTION: acpi_ex_system_wait_semaphore * FUNCTION: acpi_ex_system_wait_semaphore
* *
* PARAMETERS: Semaphore - Semaphore to wait on * PARAMETERS: semaphore - Semaphore to wait on
* Timeout - Max time to wait * timeout - Max time to wait
* *
* RETURN: Status * RETURN: Status
* *
@ -98,8 +98,8 @@ acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout)
* *
* FUNCTION: acpi_ex_system_wait_mutex * FUNCTION: acpi_ex_system_wait_mutex
* *
* PARAMETERS: Mutex - Mutex to wait on * PARAMETERS: mutex - Mutex to wait on
* Timeout - Max time to wait * timeout - Max time to wait
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -317,8 +317,8 @@ void acpi_ex_release_global_lock(u32 field_flags)
* *
* FUNCTION: acpi_ex_digits_needed * FUNCTION: acpi_ex_digits_needed
* *
* PARAMETERS: Value - Value to be represented * PARAMETERS: value - Value to be represented
* Base - Base of representation * base - Base of representation
* *
* RETURN: The number of digits. * RETURN: The number of digits.
* *
@ -408,7 +408,7 @@ void acpi_ex_eisa_id_to_string(char *out_string, u64 compressed_id)
* PARAMETERS: out_string - Where to put the converted string. At least * PARAMETERS: out_string - Where to put the converted string. At least
* 21 bytes are needed to hold the largest * 21 bytes are needed to hold the largest
* possible 64-bit integer. * possible 64-bit integer.
* Value - Value to be converted * value - Value to be converted
* *
* RETURN: None, string * RETURN: None, string
* *
@ -443,7 +443,7 @@ void acpi_ex_integer_to_string(char *out_string, u64 value)
* *
* RETURN: TRUE if valid/supported ID. * RETURN: TRUE if valid/supported ID.
* *
* DESCRIPTION: Validate an operation region space_iD. * DESCRIPTION: Validate an operation region space_ID.
* *
******************************************************************************/ ******************************************************************************/

View File

@ -53,7 +53,7 @@ ACPI_MODULE_NAME("hwacpi")
* *
* FUNCTION: acpi_hw_set_mode * FUNCTION: acpi_hw_set_mode
* *
* PARAMETERS: Mode - SYS_MODE_ACPI or SYS_MODE_LEGACY * PARAMETERS: mode - SYS_MODE_ACPI or SYS_MODE_LEGACY
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -90,7 +90,7 @@ void acpi_hw_execute_sleep_method(char *method_pathname, u32 integer_argument)
* FUNCTION: acpi_hw_extended_sleep * FUNCTION: acpi_hw_extended_sleep
* *
* PARAMETERS: sleep_state - Which sleep state to enter * PARAMETERS: sleep_state - Which sleep state to enter
* Flags - ACPI_EXECUTE_GTS to run optional method * flags - ACPI_EXECUTE_GTS to run optional method
* *
* RETURN: Status * RETURN: Status
* *
@ -172,7 +172,7 @@ acpi_status acpi_hw_extended_sleep(u8 sleep_state, u8 flags)
* FUNCTION: acpi_hw_extended_wake_prep * FUNCTION: acpi_hw_extended_wake_prep
* *
* PARAMETERS: sleep_state - Which sleep state we just exited * PARAMETERS: sleep_state - Which sleep state we just exited
* Flags - ACPI_EXECUTE_BFS to run optional method * flags - ACPI_EXECUTE_BFS to run optional method
* *
* RETURN: Status * RETURN: Status
* *
@ -213,7 +213,7 @@ acpi_status acpi_hw_extended_wake_prep(u8 sleep_state, u8 flags)
* FUNCTION: acpi_hw_extended_wake * FUNCTION: acpi_hw_extended_wake
* *
* PARAMETERS: sleep_state - Which sleep state we just exited * PARAMETERS: sleep_state - Which sleep state we just exited
* Flags - Reserved, set to zero * flags - Reserved, set to zero
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -69,9 +69,9 @@ acpi_hw_write_multiple(u32 value,
* *
* FUNCTION: acpi_hw_validate_register * FUNCTION: acpi_hw_validate_register
* *
* PARAMETERS: Reg - GAS register structure * PARAMETERS: reg - GAS register structure
* max_bit_width - Max bit_width supported (32 or 64) * max_bit_width - Max bit_width supported (32 or 64)
* Address - Pointer to where the gas->address * address - Pointer to where the gas->address
* is returned * is returned
* *
* RETURN: Status * RETURN: Status
@ -102,7 +102,7 @@ acpi_hw_validate_register(struct acpi_generic_address *reg,
return (AE_BAD_ADDRESS); return (AE_BAD_ADDRESS);
} }
/* Validate the space_iD */ /* Validate the space_ID */
if ((reg->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && if ((reg->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) &&
(reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { (reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO)) {
@ -137,8 +137,8 @@ acpi_hw_validate_register(struct acpi_generic_address *reg,
* *
* FUNCTION: acpi_hw_read * FUNCTION: acpi_hw_read
* *
* PARAMETERS: Value - Where the value is returned * PARAMETERS: value - Where the value is returned
* Reg - GAS register structure * reg - GAS register structure
* *
* RETURN: Status * RETURN: Status
* *
@ -148,7 +148,7 @@ acpi_hw_validate_register(struct acpi_generic_address *reg,
* *
* LIMITATIONS: <These limitations also apply to acpi_hw_write> * LIMITATIONS: <These limitations also apply to acpi_hw_write>
* bit_width must be exactly 8, 16, or 32. * bit_width must be exactly 8, 16, or 32.
* space_iD must be system_memory or system_iO. * space_ID must be system_memory or system_IO.
* bit_offset and access_width are currently ignored, as there has * bit_offset and access_width are currently ignored, as there has
* not been a need to implement these. * not been a need to implement these.
* *
@ -200,8 +200,8 @@ acpi_status acpi_hw_read(u32 *value, struct acpi_generic_address *reg)
* *
* FUNCTION: acpi_hw_write * FUNCTION: acpi_hw_write
* *
* PARAMETERS: Value - Value to be written * PARAMETERS: value - Value to be written
* Reg - GAS register structure * reg - GAS register structure
* *
* RETURN: Status * RETURN: Status
* *
@ -439,7 +439,7 @@ acpi_hw_register_read(u32 register_id, u32 * return_value)
* FUNCTION: acpi_hw_register_write * FUNCTION: acpi_hw_register_write
* *
* PARAMETERS: register_id - ACPI Register ID * PARAMETERS: register_id - ACPI Register ID
* Value - The value to write * value - The value to write
* *
* RETURN: Status * RETURN: Status
* *
@ -571,7 +571,7 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value)
* *
* FUNCTION: acpi_hw_read_multiple * FUNCTION: acpi_hw_read_multiple
* *
* PARAMETERS: Value - Where the register value is returned * PARAMETERS: value - Where the register value is returned
* register_a - First ACPI register (required) * register_a - First ACPI register (required)
* register_b - Second ACPI register (optional) * register_b - Second ACPI register (optional)
* *
@ -624,7 +624,7 @@ acpi_hw_read_multiple(u32 *value,
* *
* FUNCTION: acpi_hw_write_multiple * FUNCTION: acpi_hw_write_multiple
* *
* PARAMETERS: Value - The value to write * PARAMETERS: value - The value to write
* register_a - First ACPI register (required) * register_a - First ACPI register (required)
* register_b - Second ACPI register (optional) * register_b - Second ACPI register (optional)
* *

View File

@ -56,7 +56,7 @@ ACPI_MODULE_NAME("hwsleep")
* FUNCTION: acpi_hw_legacy_sleep * FUNCTION: acpi_hw_legacy_sleep
* *
* PARAMETERS: sleep_state - Which sleep state to enter * PARAMETERS: sleep_state - Which sleep state to enter
* Flags - ACPI_EXECUTE_GTS to run optional method * flags - ACPI_EXECUTE_GTS to run optional method
* *
* RETURN: Status * RETURN: Status
* *
@ -226,7 +226,7 @@ acpi_status acpi_hw_legacy_sleep(u8 sleep_state, u8 flags)
* FUNCTION: acpi_hw_legacy_wake_prep * FUNCTION: acpi_hw_legacy_wake_prep
* *
* PARAMETERS: sleep_state - Which sleep state we just exited * PARAMETERS: sleep_state - Which sleep state we just exited
* Flags - ACPI_EXECUTE_BFS to run optional method * flags - ACPI_EXECUTE_BFS to run optional method
* *
* RETURN: Status * RETURN: Status
* *
@ -300,7 +300,7 @@ acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state, u8 flags)
* FUNCTION: acpi_hw_legacy_wake * FUNCTION: acpi_hw_legacy_wake
* *
* PARAMETERS: sleep_state - Which sleep state we just exited * PARAMETERS: sleep_state - Which sleep state we just exited
* Flags - Reserved, set to zero * flags - Reserved, set to zero
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -54,7 +54,7 @@ ACPI_MODULE_NAME("hwtimer")
* *
* FUNCTION: acpi_get_timer_resolution * FUNCTION: acpi_get_timer_resolution
* *
* PARAMETERS: Resolution - Where the resolution is returned * PARAMETERS: resolution - Where the resolution is returned
* *
* RETURN: Status and timer resolution * RETURN: Status and timer resolution
* *
@ -84,7 +84,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_timer_resolution)
* *
* FUNCTION: acpi_get_timer * FUNCTION: acpi_get_timer
* *
* PARAMETERS: Ticks - Where the timer value is returned * PARAMETERS: ticks - Where the timer value is returned
* *
* RETURN: Status and current timer value (ticks) * RETURN: Status and current timer value (ticks)
* *

View File

@ -58,7 +58,7 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
* *
* The table is used to implement the Microsoft port access rules that * The table is used to implement the Microsoft port access rules that
* first appeared in Windows XP. Some ports are always illegal, and some * first appeared in Windows XP. Some ports are always illegal, and some
* ports are only illegal if the BIOS calls _OSI with a win_xP string or * ports are only illegal if the BIOS calls _OSI with a win_XP string or
* later (meaning that the BIOS itelf is post-XP.) * later (meaning that the BIOS itelf is post-XP.)
* *
* This provides ACPICA with the desired port protections and * This provides ACPICA with the desired port protections and
@ -66,7 +66,7 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
* *
* Description of port entries: * Description of port entries:
* DMA: DMA controller * DMA: DMA controller
* PIC0: Programmable Interrupt Controller (8259_a) * PIC0: Programmable Interrupt Controller (8259A)
* PIT1: System Timer 1 * PIT1: System Timer 1
* PIT2: System Timer 2 failsafe * PIT2: System Timer 2 failsafe
* RTC: Real-time clock * RTC: Real-time clock

View File

@ -104,8 +104,8 @@ ACPI_EXPORT_SYMBOL(acpi_reset)
* *
* FUNCTION: acpi_read * FUNCTION: acpi_read
* *
* PARAMETERS: Value - Where the value is returned * PARAMETERS: value - Where the value is returned
* Reg - GAS register structure * reg - GAS register structure
* *
* RETURN: Status * RETURN: Status
* *
@ -113,7 +113,7 @@ ACPI_EXPORT_SYMBOL(acpi_reset)
* *
* LIMITATIONS: <These limitations also apply to acpi_write> * LIMITATIONS: <These limitations also apply to acpi_write>
* bit_width must be exactly 8, 16, 32, or 64. * bit_width must be exactly 8, 16, 32, or 64.
* space_iD must be system_memory or system_iO. * space_ID must be system_memory or system_IO.
* bit_offset and access_width are currently ignored, as there has * bit_offset and access_width are currently ignored, as there has
* not been a need to implement these. * not been a need to implement these.
* *
@ -196,8 +196,8 @@ ACPI_EXPORT_SYMBOL(acpi_read)
* *
* FUNCTION: acpi_write * FUNCTION: acpi_write
* *
* PARAMETERS: Value - Value to be written * PARAMETERS: value - Value to be written
* Reg - GAS register structure * reg - GAS register structure
* *
* RETURN: Status * RETURN: Status
* *
@ -441,7 +441,7 @@ ACPI_EXPORT_SYMBOL(acpi_write_bit_register)
* *sleep_type_a - Where SLP_TYPa is returned * *sleep_type_a - Where SLP_TYPa is returned
* *sleep_type_b - Where SLP_TYPb is returned * *sleep_type_b - Where SLP_TYPb is returned
* *
* RETURN: Status - ACPI status * RETURN: status - ACPI status
* *
* DESCRIPTION: Obtain the SLP_TYPa and SLP_TYPb values for the requested sleep * DESCRIPTION: Obtain the SLP_TYPa and SLP_TYPb values for the requested sleep
* state. * state.

View File

@ -205,7 +205,7 @@ acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void)
ACPI_FLUSH_CPU_CACHE(); ACPI_FLUSH_CPU_CACHE();
status = acpi_hw_write_port(acpi_gbl_FADT.smi_command, status = acpi_hw_write_port(acpi_gbl_FADT.smi_command,
(u32)acpi_gbl_FADT.S4bios_request, 8); (u32)acpi_gbl_FADT.s4_bios_request, 8);
do { do {
acpi_os_stall(1000); acpi_os_stall(1000);
@ -349,7 +349,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state_prep)
* FUNCTION: acpi_enter_sleep_state * FUNCTION: acpi_enter_sleep_state
* *
* PARAMETERS: sleep_state - Which sleep state to enter * PARAMETERS: sleep_state - Which sleep state to enter
* Flags - ACPI_EXECUTE_GTS to run optional method * flags - ACPI_EXECUTE_GTS to run optional method
* *
* RETURN: Status * RETURN: Status
* *
@ -382,7 +382,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state)
* FUNCTION: acpi_leave_sleep_state_prep * FUNCTION: acpi_leave_sleep_state_prep
* *
* PARAMETERS: sleep_state - Which sleep state we are exiting * PARAMETERS: sleep_state - Which sleep state we are exiting
* Flags - ACPI_EXECUTE_BFS to run optional method * flags - ACPI_EXECUTE_BFS to run optional method
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -157,7 +157,7 @@ acpi_status acpi_ns_root_initialize(void)
#if defined (ACPI_ASL_COMPILER) #if defined (ACPI_ASL_COMPILER)
/* Save the parameter count for the i_aSL compiler */ /* Save the parameter count for the iASL compiler */
new_node->value = obj_desc->method.param_count; new_node->value = obj_desc->method.param_count;
#else #else
@ -258,11 +258,11 @@ acpi_status acpi_ns_root_initialize(void)
* FUNCTION: acpi_ns_lookup * FUNCTION: acpi_ns_lookup
* *
* PARAMETERS: scope_info - Current scope info block * PARAMETERS: scope_info - Current scope info block
* Pathname - Search pathname, in internal format * pathname - Search pathname, in internal format
* (as represented in the AML stream) * (as represented in the AML stream)
* Type - Type associated with name * type - Type associated with name
* interpreter_mode - IMODE_LOAD_PASS2 => add name if not found * interpreter_mode - IMODE_LOAD_PASS2 => add name if not found
* Flags - Flags describing the search restrictions * flags - Flags describing the search restrictions
* walk_state - Current state of the walk * walk_state - Current state of the walk
* return_node - Where the Node is placed (if found * return_node - Where the Node is placed (if found
* or created successfully) * or created successfully)

View File

@ -52,7 +52,7 @@ ACPI_MODULE_NAME("nsalloc")
* *
* FUNCTION: acpi_ns_create_node * FUNCTION: acpi_ns_create_node
* *
* PARAMETERS: Name - Name of the new node (4 char ACPI name) * PARAMETERS: name - Name of the new node (4 char ACPI name)
* *
* RETURN: New namespace node (Null on failure) * RETURN: New namespace node (Null on failure)
* *
@ -92,7 +92,7 @@ struct acpi_namespace_node *acpi_ns_create_node(u32 name)
* *
* FUNCTION: acpi_ns_delete_node * FUNCTION: acpi_ns_delete_node
* *
* PARAMETERS: Node - Node to be deleted * PARAMETERS: node - Node to be deleted
* *
* RETURN: None * RETURN: None
* *
@ -143,7 +143,7 @@ void acpi_ns_delete_node(struct acpi_namespace_node *node)
* *
* FUNCTION: acpi_ns_remove_node * FUNCTION: acpi_ns_remove_node
* *
* PARAMETERS: Node - Node to be removed/deleted * PARAMETERS: node - Node to be removed/deleted
* *
* RETURN: None * RETURN: None
* *
@ -196,8 +196,8 @@ void acpi_ns_remove_node(struct acpi_namespace_node *node)
* *
* PARAMETERS: walk_state - Current state of the walk * PARAMETERS: walk_state - Current state of the walk
* parent_node - The parent of the new Node * parent_node - The parent of the new Node
* Node - The new Node to install * node - The new Node to install
* Type - ACPI object type of the new Node * type - ACPI object type of the new Node
* *
* RETURN: None * RETURN: None
* *

View File

@ -63,7 +63,7 @@ acpi_ns_dump_one_device(acpi_handle obj_handle,
* FUNCTION: acpi_ns_print_pathname * FUNCTION: acpi_ns_print_pathname
* *
* PARAMETERS: num_segments - Number of ACPI name segments * PARAMETERS: num_segments - Number of ACPI name segments
* Pathname - The compressed (internal) path * pathname - The compressed (internal) path
* *
* RETURN: None * RETURN: None
* *
@ -107,10 +107,10 @@ void acpi_ns_print_pathname(u32 num_segments, char *pathname)
* *
* FUNCTION: acpi_ns_dump_pathname * FUNCTION: acpi_ns_dump_pathname
* *
* PARAMETERS: Handle - Object * PARAMETERS: handle - Object
* Msg - Prefix message * msg - Prefix message
* Level - Desired debug level * level - Desired debug level
* Component - Caller's component ID * component - Caller's component ID
* *
* RETURN: None * RETURN: None
* *
@ -143,8 +143,8 @@ acpi_ns_dump_pathname(acpi_handle handle, char *msg, u32 level, u32 component)
* FUNCTION: acpi_ns_dump_one_object * FUNCTION: acpi_ns_dump_one_object
* *
* PARAMETERS: obj_handle - Node to be dumped * PARAMETERS: obj_handle - Node to be dumped
* Level - Nesting level of the handle * level - Nesting level of the handle
* Context - Passed into walk_namespace * context - Passed into walk_namespace
* return_value - Not used * return_value - Not used
* *
* RETURN: Status * RETURN: Status
@ -615,7 +615,7 @@ acpi_ns_dump_one_object(acpi_handle obj_handle,
* *
* FUNCTION: acpi_ns_dump_objects * FUNCTION: acpi_ns_dump_objects
* *
* PARAMETERS: Type - Object type to be dumped * PARAMETERS: type - Object type to be dumped
* display_type - 0 or ACPI_DISPLAY_SUMMARY * display_type - 0 or ACPI_DISPLAY_SUMMARY
* max_depth - Maximum depth of dump. Use ACPI_UINT32_MAX * max_depth - Maximum depth of dump. Use ACPI_UINT32_MAX
* for an effectively unlimited depth. * for an effectively unlimited depth.
@ -671,7 +671,7 @@ acpi_ns_dump_objects(acpi_object_type type,
* *
* FUNCTION: acpi_ns_dump_entry * FUNCTION: acpi_ns_dump_entry
* *
* PARAMETERS: Handle - Node to be dumped * PARAMETERS: handle - Node to be dumped
* debug_level - Output level * debug_level - Output level
* *
* RETURN: None * RETURN: None

View File

@ -55,9 +55,9 @@ ACPI_MODULE_NAME("nsdumpdv")
* *
* FUNCTION: acpi_ns_dump_one_device * FUNCTION: acpi_ns_dump_one_device
* *
* PARAMETERS: Handle - Node to be dumped * PARAMETERS: handle - Node to be dumped
* Level - Nesting level of the handle * level - Nesting level of the handle
* Context - Passed into walk_namespace * context - Passed into walk_namespace
* return_value - Not used * return_value - Not used
* *
* RETURN: Status * RETURN: Status

View File

@ -59,11 +59,11 @@ acpi_ns_exec_module_code(union acpi_operand_object *method_obj,
* *
* FUNCTION: acpi_ns_evaluate * FUNCTION: acpi_ns_evaluate
* *
* PARAMETERS: Info - Evaluation info block, contains: * PARAMETERS: info - Evaluation info block, contains:
* prefix_node - Prefix or Method/Object Node to execute * prefix_node - Prefix or Method/Object Node to execute
* Pathname - Name of method to execute, If NULL, the * pathname - Name of method to execute, If NULL, the
* Node is the object to execute * Node is the object to execute
* Parameters - List of parameters to pass to the method, * parameters - List of parameters to pass to the method,
* terminated by NULL. Params itself may be * terminated by NULL. Params itself may be
* NULL if no parameters are being passed. * NULL if no parameters are being passed.
* return_object - Where to put method's return value (if * return_object - Where to put method's return value (if
@ -71,7 +71,7 @@ acpi_ns_exec_module_code(union acpi_operand_object *method_obj,
* parameter_type - Type of Parameter list * parameter_type - Type of Parameter list
* return_object - Where to put method's return value (if * return_object - Where to put method's return value (if
* any). If NULL, no value is returned. * any). If NULL, no value is returned.
* Flags - ACPI_IGNORE_RETURN_VALUE to delete return * flags - ACPI_IGNORE_RETURN_VALUE to delete return
* *
* RETURN: Status * RETURN: Status
* *
@ -351,7 +351,7 @@ void acpi_ns_exec_module_code_list(void)
* FUNCTION: acpi_ns_exec_module_code * FUNCTION: acpi_ns_exec_module_code
* *
* PARAMETERS: method_obj - Object container for the module-level code * PARAMETERS: method_obj - Object container for the module-level code
* Info - Info block for method evaluation * info - Info block for method evaluation
* *
* RETURN: None. Exceptions during method execution are ignored, since * RETURN: None. Exceptions during method execution are ignored, since
* we cannot abort a table load. * we cannot abort a table load.

View File

@ -224,8 +224,8 @@ acpi_status acpi_ns_initialize_devices(void)
* FUNCTION: acpi_ns_init_one_object * FUNCTION: acpi_ns_init_one_object
* *
* PARAMETERS: obj_handle - Node * PARAMETERS: obj_handle - Node
* Level - Current nesting level * level - Current nesting level
* Context - Points to a init info struct * context - Points to a init info struct
* return_value - Not used * return_value - Not used
* *
* RETURN: Status * RETURN: Status
@ -530,7 +530,7 @@ acpi_ns_init_one_device(acpi_handle obj_handle,
* we will not run _INI, but we continue to examine the children * we will not run _INI, but we continue to examine the children
* of this device. * of this device.
* *
* From the ACPI spec, description of _STA: (Note - no mention * From the ACPI spec, description of _STA: (note - no mention
* of whether to run _INI or not on the device in question) * of whether to run _INI or not on the device in question)
* *
* "_STA may return bit 0 clear (not present) with bit 3 set * "_STA may return bit 0 clear (not present) with bit 3 set

View File

@ -63,7 +63,7 @@ static acpi_status acpi_ns_delete_subtree(acpi_handle start_handle);
* FUNCTION: acpi_ns_load_table * FUNCTION: acpi_ns_load_table
* *
* PARAMETERS: table_index - Index for table to be loaded * PARAMETERS: table_index - Index for table to be loaded
* Node - Owning NS node * node - Owning NS node
* *
* RETURN: Status * RETURN: Status
* *
@ -278,7 +278,7 @@ static acpi_status acpi_ns_delete_subtree(acpi_handle start_handle)
* *
* FUNCTION: acpi_ns_unload_name_space * FUNCTION: acpi_ns_unload_name_space
* *
* PARAMETERS: Handle - Root of namespace subtree to be deleted * PARAMETERS: handle - Root of namespace subtree to be deleted
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -53,8 +53,8 @@ ACPI_MODULE_NAME("nsnames")
* *
* FUNCTION: acpi_ns_build_external_path * FUNCTION: acpi_ns_build_external_path
* *
* PARAMETERS: Node - NS node whose pathname is needed * PARAMETERS: node - NS node whose pathname is needed
* Size - Size of the pathname * size - Size of the pathname
* *name_buffer - Where to return the pathname * *name_buffer - Where to return the pathname
* *
* RETURN: Status * RETURN: Status
@ -120,7 +120,7 @@ acpi_ns_build_external_path(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_ns_get_external_pathname * FUNCTION: acpi_ns_get_external_pathname
* *
* PARAMETERS: Node - Namespace node whose pathname is needed * PARAMETERS: node - Namespace node whose pathname is needed
* *
* RETURN: Pointer to storage containing the fully qualified name of * RETURN: Pointer to storage containing the fully qualified name of
* the node, In external format (name segments separated by path * the node, In external format (name segments separated by path
@ -168,7 +168,7 @@ char *acpi_ns_get_external_pathname(struct acpi_namespace_node *node)
* *
* FUNCTION: acpi_ns_get_pathname_length * FUNCTION: acpi_ns_get_pathname_length
* *
* PARAMETERS: Node - Namespace node * PARAMETERS: node - Namespace node
* *
* RETURN: Length of path, including prefix * RETURN: Length of path, including prefix
* *
@ -214,7 +214,7 @@ acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node)
* *
* PARAMETERS: target_handle - Handle of named object whose name is * PARAMETERS: target_handle - Handle of named object whose name is
* to be found * to be found
* Buffer - Where the pathname is returned * buffer - Where the pathname is returned
* *
* RETURN: Status, Buffer is filled with pathname if status is AE_OK * RETURN: Status, Buffer is filled with pathname if status is AE_OK
* *

View File

@ -53,9 +53,9 @@ ACPI_MODULE_NAME("nsobject")
* *
* FUNCTION: acpi_ns_attach_object * FUNCTION: acpi_ns_attach_object
* *
* PARAMETERS: Node - Parent Node * PARAMETERS: node - Parent Node
* Object - Object to be attached * object - Object to be attached
* Type - Type of object, or ACPI_TYPE_ANY if not * type - Type of object, or ACPI_TYPE_ANY if not
* known * known
* *
* RETURN: Status * RETURN: Status
@ -191,7 +191,7 @@ acpi_ns_attach_object(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_ns_detach_object * FUNCTION: acpi_ns_detach_object
* *
* PARAMETERS: Node - A Namespace node whose object will be detached * PARAMETERS: node - A Namespace node whose object will be detached
* *
* RETURN: None. * RETURN: None.
* *
@ -250,7 +250,7 @@ void acpi_ns_detach_object(struct acpi_namespace_node *node)
* *
* FUNCTION: acpi_ns_get_attached_object * FUNCTION: acpi_ns_get_attached_object
* *
* PARAMETERS: Node - Namespace node * PARAMETERS: node - Namespace node
* *
* RETURN: Current value of the object field from the Node whose * RETURN: Current value of the object field from the Node whose
* handle is passed * handle is passed
@ -285,7 +285,7 @@ union acpi_operand_object *acpi_ns_get_attached_object(struct
* *
* FUNCTION: acpi_ns_get_secondary_object * FUNCTION: acpi_ns_get_secondary_object
* *
* PARAMETERS: Node - Namespace node * PARAMETERS: node - Namespace node
* *
* RETURN: Current value of the object field from the Node whose * RETURN: Current value of the object field from the Node whose
* handle is passed. * handle is passed.
@ -315,9 +315,9 @@ union acpi_operand_object *acpi_ns_get_secondary_object(union
* *
* FUNCTION: acpi_ns_attach_data * FUNCTION: acpi_ns_attach_data
* *
* PARAMETERS: Node - Namespace node * PARAMETERS: node - Namespace node
* Handler - Handler to be associated with the data * handler - Handler to be associated with the data
* Data - Data to be attached * data - Data to be attached
* *
* RETURN: Status * RETURN: Status
* *
@ -372,8 +372,8 @@ acpi_ns_attach_data(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_ns_detach_data * FUNCTION: acpi_ns_detach_data
* *
* PARAMETERS: Node - Namespace node * PARAMETERS: node - Namespace node
* Handler - Handler associated with the data * handler - Handler associated with the data
* *
* RETURN: Status * RETURN: Status
* *
@ -416,9 +416,9 @@ acpi_ns_detach_data(struct acpi_namespace_node * node,
* *
* FUNCTION: acpi_ns_get_attached_data * FUNCTION: acpi_ns_get_attached_data
* *
* PARAMETERS: Node - Namespace node * PARAMETERS: node - Namespace node
* Handler - Handler associated with the data * handler - Handler associated with the data
* Data - Where the data is returned * data - Where the data is returned
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -116,7 +116,7 @@ static const char *acpi_rtype_names[] = {
* *
* FUNCTION: acpi_ns_check_predefined_names * FUNCTION: acpi_ns_check_predefined_names
* *
* PARAMETERS: Node - Namespace node for the method/object * PARAMETERS: node - Namespace node for the method/object
* user_param_count - Number of parameters actually passed * user_param_count - Number of parameters actually passed
* return_status - Status from the object evaluation * return_status - Status from the object evaluation
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
@ -275,10 +275,10 @@ acpi_ns_check_predefined_names(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_ns_check_parameter_count * FUNCTION: acpi_ns_check_parameter_count
* *
* PARAMETERS: Pathname - Full pathname to the node (for error msgs) * PARAMETERS: pathname - Full pathname to the node (for error msgs)
* Node - Namespace node for the method/object * node - Namespace node for the method/object
* user_param_count - Number of args passed in by the caller * user_param_count - Number of args passed in by the caller
* Predefined - Pointer to entry in predefined name table * predefined - Pointer to entry in predefined name table
* *
* RETURN: None * RETURN: None
* *
@ -364,7 +364,7 @@ acpi_ns_check_parameter_count(char *pathname,
* *
* FUNCTION: acpi_ns_check_for_predefined_name * FUNCTION: acpi_ns_check_for_predefined_name
* *
* PARAMETERS: Node - Namespace node for the method/object * PARAMETERS: node - Namespace node for the method/object
* *
* RETURN: Pointer to entry in predefined table. NULL indicates not found. * RETURN: Pointer to entry in predefined table. NULL indicates not found.
* *
@ -410,7 +410,7 @@ const union acpi_predefined_info *acpi_ns_check_for_predefined_name(struct
* *
* FUNCTION: acpi_ns_check_package * FUNCTION: acpi_ns_check_package
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -685,11 +685,11 @@ acpi_ns_check_package(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_check_package_list * FUNCTION: acpi_ns_check_package_list
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* Package - Pointer to package-specific info for method * package - Pointer to package-specific info for method
* Elements - Element list of parent package. All elements * elements - Element list of parent package. All elements
* of this list should be of type Package. * of this list should be of type Package.
* Count - Count of subpackages * count - Count of subpackages
* *
* RETURN: Status * RETURN: Status
* *
@ -911,12 +911,12 @@ acpi_ns_check_package_list(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_check_package_elements * FUNCTION: acpi_ns_check_package_elements
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* Elements - Pointer to the package elements array * elements - Pointer to the package elements array
* Type1 - Object type for first group * type1 - Object type for first group
* Count1 - Count for first group * count1 - Count for first group
* Type2 - Object type for second group * type2 - Object type for second group
* Count2 - Count for second group * count2 - Count for second group
* start_index - Start of the first group of elements * start_index - Start of the first group of elements
* *
* RETURN: Status * RETURN: Status
@ -968,7 +968,7 @@ acpi_ns_check_package_elements(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_check_object_type * FUNCTION: acpi_ns_check_object_type
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* expected_btypes - Bitmap of expected return type(s) * expected_btypes - Bitmap of expected return type(s)
@ -1102,7 +1102,7 @@ acpi_ns_check_object_type(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_check_reference * FUNCTION: acpi_ns_check_reference
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object - Object returned from the evaluation of a * return_object - Object returned from the evaluation of a
* method or object * method or object
* *
@ -1140,7 +1140,7 @@ acpi_ns_check_reference(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_get_expected_types * FUNCTION: acpi_ns_get_expected_types
* *
* PARAMETERS: Buffer - Pointer to where the string is returned * PARAMETERS: buffer - Pointer to where the string is returned
* expected_btypes - Bitmap of expected return type(s) * expected_btypes - Bitmap of expected return type(s)
* *
* RETURN: Buffer is populated with type names. * RETURN: Buffer is populated with type names.

View File

@ -94,7 +94,7 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
* *
* FUNCTION: acpi_ns_repair_object * FUNCTION: acpi_ns_repair_object
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* expected_btypes - Object types expected * expected_btypes - Object types expected
* package_index - Index of object within parent package (if * package_index - Index of object within parent package (if
* applicable - ACPI_NOT_PACKAGE_ELEMENT * applicable - ACPI_NOT_PACKAGE_ELEMENT
@ -470,7 +470,7 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
* *
* FUNCTION: acpi_ns_repair_null_element * FUNCTION: acpi_ns_repair_null_element
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* expected_btypes - Object types expected * expected_btypes - Object types expected
* package_index - Index of object within parent package (if * package_index - Index of object within parent package (if
* applicable - ACPI_NOT_PACKAGE_ELEMENT * applicable - ACPI_NOT_PACKAGE_ELEMENT
@ -509,17 +509,17 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
*/ */
if (expected_btypes & ACPI_RTYPE_INTEGER) { if (expected_btypes & ACPI_RTYPE_INTEGER) {
/* Need an Integer - create a zero-value integer */ /* Need an integer - create a zero-value integer */
new_object = acpi_ut_create_integer_object((u64)0); new_object = acpi_ut_create_integer_object((u64)0);
} else if (expected_btypes & ACPI_RTYPE_STRING) { } else if (expected_btypes & ACPI_RTYPE_STRING) {
/* Need a String - create a NULL string */ /* Need a string - create a NULL string */
new_object = acpi_ut_create_string_object(0); new_object = acpi_ut_create_string_object(0);
} else if (expected_btypes & ACPI_RTYPE_BUFFER) { } else if (expected_btypes & ACPI_RTYPE_BUFFER) {
/* Need a Buffer - create a zero-length buffer */ /* Need a buffer - create a zero-length buffer */
new_object = acpi_ut_create_buffer_object(0); new_object = acpi_ut_create_buffer_object(0);
} else { } else {
@ -552,7 +552,7 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_remove_null_elements * FUNCTION: acpi_ns_remove_null_elements
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* package_type - An acpi_return_package_types value * package_type - An acpi_return_package_types value
* obj_desc - A Package object * obj_desc - A Package object
* *
@ -635,7 +635,7 @@ acpi_ns_remove_null_elements(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_wrap_with_package * FUNCTION: acpi_ns_wrap_with_package
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* original_object - Pointer to the object to repair. * original_object - Pointer to the object to repair.
* obj_desc_ptr - The new package object is returned here * obj_desc_ptr - The new package object is returned here
* *

View File

@ -149,8 +149,8 @@ static const struct acpi_repair_info acpi_ns_repairable_names[] = {
* *
* FUNCTION: acpi_ns_complex_repairs * FUNCTION: acpi_ns_complex_repairs
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* Node - Namespace node for the method/object * node - Namespace node for the method/object
* validate_status - Original status of earlier validation * validate_status - Original status of earlier validation
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
@ -187,7 +187,7 @@ acpi_ns_complex_repairs(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_match_repairable_name * FUNCTION: acpi_ns_match_repairable_name
* *
* PARAMETERS: Node - Namespace node for the method/object * PARAMETERS: node - Namespace node for the method/object
* *
* RETURN: Pointer to entry in repair table. NULL indicates not found. * RETURN: Pointer to entry in repair table. NULL indicates not found.
* *
@ -218,7 +218,7 @@ static const struct acpi_repair_info *acpi_ns_match_repairable_name(struct
* *
* FUNCTION: acpi_ns_repair_ALR * FUNCTION: acpi_ns_repair_ALR
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -247,7 +247,7 @@ acpi_ns_repair_ALR(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_repair_FDE * FUNCTION: acpi_ns_repair_FDE
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -335,7 +335,7 @@ acpi_ns_repair_FDE(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_repair_CID * FUNCTION: acpi_ns_repair_CID
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -405,7 +405,7 @@ acpi_ns_repair_CID(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_repair_HID * FUNCTION: acpi_ns_repair_HID
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -487,7 +487,7 @@ acpi_ns_repair_HID(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_repair_TSS * FUNCTION: acpi_ns_repair_TSS
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -531,7 +531,7 @@ acpi_ns_repair_TSS(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_repair_PSS * FUNCTION: acpi_ns_repair_PSS
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object_ptr - Pointer to the object returned from the * return_object_ptr - Pointer to the object returned from the
* evaluation of a method or object * evaluation of a method or object
* *
@ -600,7 +600,7 @@ acpi_ns_repair_PSS(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_check_sorted_list * FUNCTION: acpi_ns_check_sorted_list
* *
* PARAMETERS: Data - Pointer to validation data structure * PARAMETERS: data - Pointer to validation data structure
* return_object - Pointer to the top-level returned object * return_object - Pointer to the top-level returned object
* expected_count - Minimum length of each sub-package * expected_count - Minimum length of each sub-package
* sort_index - Sub-package entry to sort on * sort_index - Sub-package entry to sort on
@ -707,9 +707,9 @@ acpi_ns_check_sorted_list(struct acpi_predefined_data *data,
* *
* FUNCTION: acpi_ns_sort_list * FUNCTION: acpi_ns_sort_list
* *
* PARAMETERS: Elements - Package object element list * PARAMETERS: elements - Package object element list
* Count - Element count for above * count - Element count for above
* Index - Sort by which package element * index - Sort by which package element
* sort_direction - Ascending or Descending sort * sort_direction - Ascending or Descending sort
* *
* RETURN: None * RETURN: None

View File

@ -65,7 +65,7 @@ acpi_ns_search_parent_tree(u32 target_name,
* *
* PARAMETERS: target_name - Ascii ACPI name to search for * PARAMETERS: target_name - Ascii ACPI name to search for
* parent_node - Starting node where search will begin * parent_node - Starting node where search will begin
* Type - Object type to match * type - Object type to match
* return_node - Where the matched Named obj is returned * return_node - Where the matched Named obj is returned
* *
* RETURN: Status * RETURN: Status
@ -175,8 +175,8 @@ acpi_ns_search_one_scope(u32 target_name,
* FUNCTION: acpi_ns_search_parent_tree * FUNCTION: acpi_ns_search_parent_tree
* *
* PARAMETERS: target_name - Ascii ACPI name to search for * PARAMETERS: target_name - Ascii ACPI name to search for
* Node - Starting node where search will begin * node - Starting node where search will begin
* Type - Object type to match * type - Object type to match
* return_node - Where the matched Node is returned * return_node - Where the matched Node is returned
* *
* RETURN: Status * RETURN: Status
@ -264,11 +264,11 @@ acpi_ns_search_parent_tree(u32 target_name,
* *
* PARAMETERS: target_name - Ascii ACPI name to search for (4 chars) * PARAMETERS: target_name - Ascii ACPI name to search for (4 chars)
* walk_state - Current state of the walk * walk_state - Current state of the walk
* Node - Starting node where search will begin * node - Starting node where search will begin
* interpreter_mode - Add names only in ACPI_MODE_LOAD_PASS_x. * interpreter_mode - Add names only in ACPI_MODE_LOAD_PASS_x.
* Otherwise,search only. * Otherwise,search only.
* Type - Object type to match * type - Object type to match
* Flags - Flags describing the search restrictions * flags - Flags describing the search restrictions
* return_node - Where the Node is returned * return_node - Where the Node is returned
* *
* RETURN: Status * RETURN: Status

View File

@ -62,8 +62,8 @@ acpi_name acpi_ns_find_parent_name(struct acpi_namespace_node *node_to_search);
* *
* FUNCTION: acpi_ns_print_node_pathname * FUNCTION: acpi_ns_print_node_pathname
* *
* PARAMETERS: Node - Object * PARAMETERS: node - Object
* Message - Prefix message * message - Prefix message
* *
* DESCRIPTION: Print an object's full namespace pathname * DESCRIPTION: Print an object's full namespace pathname
* Manages allocation/freeing of a pathname buffer * Manages allocation/freeing of a pathname buffer
@ -101,7 +101,7 @@ acpi_ns_print_node_pathname(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_ns_valid_root_prefix * FUNCTION: acpi_ns_valid_root_prefix
* *
* PARAMETERS: Prefix - Character to be checked * PARAMETERS: prefix - Character to be checked
* *
* RETURN: TRUE if a valid prefix * RETURN: TRUE if a valid prefix
* *
@ -119,7 +119,7 @@ u8 acpi_ns_valid_root_prefix(char prefix)
* *
* FUNCTION: acpi_ns_valid_path_separator * FUNCTION: acpi_ns_valid_path_separator
* *
* PARAMETERS: Sep - Character to be checked * PARAMETERS: sep - Character to be checked
* *
* RETURN: TRUE if a valid path separator * RETURN: TRUE if a valid path separator
* *
@ -137,7 +137,7 @@ static u8 acpi_ns_valid_path_separator(char sep)
* *
* FUNCTION: acpi_ns_get_type * FUNCTION: acpi_ns_get_type
* *
* PARAMETERS: Node - Parent Node to be examined * PARAMETERS: node - Parent Node to be examined
* *
* RETURN: Type field from Node whose handle is passed * RETURN: Type field from Node whose handle is passed
* *
@ -161,7 +161,7 @@ acpi_object_type acpi_ns_get_type(struct acpi_namespace_node * node)
* *
* FUNCTION: acpi_ns_local * FUNCTION: acpi_ns_local
* *
* PARAMETERS: Type - A namespace object type * PARAMETERS: type - A namespace object type
* *
* RETURN: LOCAL if names must be found locally in objects of the * RETURN: LOCAL if names must be found locally in objects of the
* passed type, 0 if enclosing scopes should be searched * passed type, 0 if enclosing scopes should be searched
@ -189,7 +189,7 @@ u32 acpi_ns_local(acpi_object_type type)
* *
* FUNCTION: acpi_ns_get_internal_name_length * FUNCTION: acpi_ns_get_internal_name_length
* *
* PARAMETERS: Info - Info struct initialized with the * PARAMETERS: info - Info struct initialized with the
* external name pointer. * external name pointer.
* *
* RETURN: None * RETURN: None
@ -260,7 +260,7 @@ void acpi_ns_get_internal_name_length(struct acpi_namestring_info *info)
* *
* FUNCTION: acpi_ns_build_internal_name * FUNCTION: acpi_ns_build_internal_name
* *
* PARAMETERS: Info - Info struct fully initialized * PARAMETERS: info - Info struct fully initialized
* *
* RETURN: Status * RETURN: Status
* *
@ -371,7 +371,7 @@ acpi_status acpi_ns_build_internal_name(struct acpi_namestring_info *info)
* FUNCTION: acpi_ns_internalize_name * FUNCTION: acpi_ns_internalize_name
* *
* PARAMETERS: *external_name - External representation of name * PARAMETERS: *external_name - External representation of name
* **Converted Name - Where to return the resulting * **Converted name - Where to return the resulting
* internal represention of the name * internal represention of the name
* *
* RETURN: Status * RETURN: Status
@ -575,7 +575,7 @@ acpi_ns_externalize_name(u32 internal_name_length,
* *
* FUNCTION: acpi_ns_validate_handle * FUNCTION: acpi_ns_validate_handle
* *
* PARAMETERS: Handle - Handle to be validated and typecast to a * PARAMETERS: handle - Handle to be validated and typecast to a
* namespace node. * namespace node.
* *
* RETURN: A pointer to a namespace node * RETURN: A pointer to a namespace node
@ -651,7 +651,7 @@ void acpi_ns_terminate(void)
* *
* FUNCTION: acpi_ns_opens_scope * FUNCTION: acpi_ns_opens_scope
* *
* PARAMETERS: Type - A valid namespace type * PARAMETERS: type - A valid namespace type
* *
* RETURN: NEWSCOPE if the passed type "opens a name scope" according * RETURN: NEWSCOPE if the passed type "opens a name scope" according
* to the ACPI specification, else 0 * to the ACPI specification, else 0
@ -677,14 +677,14 @@ u32 acpi_ns_opens_scope(acpi_object_type type)
* *
* FUNCTION: acpi_ns_get_node * FUNCTION: acpi_ns_get_node
* *
* PARAMETERS: *Pathname - Name to be found, in external (ASL) format. The * PARAMETERS: *pathname - Name to be found, in external (ASL) format. The
* \ (backslash) and ^ (carat) prefixes, and the * \ (backslash) and ^ (carat) prefixes, and the
* . (period) to separate segments are supported. * . (period) to separate segments are supported.
* prefix_node - Root of subtree to be searched, or NS_ALL for the * prefix_node - Root of subtree to be searched, or NS_ALL for the
* root of the name space. If Name is fully * root of the name space. If Name is fully
* qualified (first s8 is '\'), the passed value * qualified (first s8 is '\'), the passed value
* of Scope will not be accessed. * of Scope will not be accessed.
* Flags - Used to indicate whether to perform upsearch or * flags - Used to indicate whether to perform upsearch or
* not. * not.
* return_node - Where the Node is returned * return_node - Where the Node is returned
* *

View File

@ -88,7 +88,7 @@ struct acpi_namespace_node *acpi_ns_get_next_node(struct acpi_namespace_node
* *
* FUNCTION: acpi_ns_get_next_node_typed * FUNCTION: acpi_ns_get_next_node_typed
* *
* PARAMETERS: Type - Type of node to be searched for * PARAMETERS: type - Type of node to be searched for
* parent_node - Parent node whose children we are * parent_node - Parent node whose children we are
* getting * getting
* child_node - Previous child that was found. * child_node - Previous child that was found.
@ -151,16 +151,16 @@ struct acpi_namespace_node *acpi_ns_get_next_node_typed(acpi_object_type type,
* *
* FUNCTION: acpi_ns_walk_namespace * FUNCTION: acpi_ns_walk_namespace
* *
* PARAMETERS: Type - acpi_object_type to search for * PARAMETERS: type - acpi_object_type to search for
* start_node - Handle in namespace where search begins * start_node - Handle in namespace where search begins
* max_depth - Depth to which search is to reach * max_depth - Depth to which search is to reach
* Flags - Whether to unlock the NS before invoking * flags - Whether to unlock the NS before invoking
* the callback routine * the callback routine
* pre_order_visit - Called during tree pre-order visit * pre_order_visit - Called during tree pre-order visit
* when an object of "Type" is found * when an object of "Type" is found
* post_order_visit - Called during tree post-order visit * post_order_visit - Called during tree post-order visit
* when an object of "Type" is found * when an object of "Type" is found
* Context - Passed to user function(s) above * context - Passed to user function(s) above
* return_value - from the user_function if terminated * return_value - from the user_function if terminated
* early. Otherwise, returns NULL. * early. Otherwise, returns NULL.
* RETURNS: Status * RETURNS: Status

View File

@ -58,8 +58,8 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info);
* *
* FUNCTION: acpi_evaluate_object_typed * FUNCTION: acpi_evaluate_object_typed
* *
* PARAMETERS: Handle - Object handle (optional) * PARAMETERS: handle - Object handle (optional)
* Pathname - Object pathname (optional) * pathname - Object pathname (optional)
* external_params - List of parameters to pass to method, * external_params - List of parameters to pass to method,
* terminated by NULL. May be NULL * terminated by NULL. May be NULL
* if no parameters are being passed. * if no parameters are being passed.
@ -152,8 +152,8 @@ ACPI_EXPORT_SYMBOL(acpi_evaluate_object_typed)
* *
* FUNCTION: acpi_evaluate_object * FUNCTION: acpi_evaluate_object
* *
* PARAMETERS: Handle - Object handle (optional) * PARAMETERS: handle - Object handle (optional)
* Pathname - Object pathname (optional) * pathname - Object pathname (optional)
* external_params - List of parameters to pass to method, * external_params - List of parameters to pass to method,
* terminated by NULL. May be NULL * terminated by NULL. May be NULL
* if no parameters are being passed. * if no parameters are being passed.
@ -364,7 +364,7 @@ ACPI_EXPORT_SYMBOL(acpi_evaluate_object)
* *
* FUNCTION: acpi_ns_resolve_references * FUNCTION: acpi_ns_resolve_references
* *
* PARAMETERS: Info - Evaluation info block * PARAMETERS: info - Evaluation info block
* *
* RETURN: Info->return_object is replaced with the dereferenced object * RETURN: Info->return_object is replaced with the dereferenced object
* *
@ -431,14 +431,14 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info)
* *
* FUNCTION: acpi_walk_namespace * FUNCTION: acpi_walk_namespace
* *
* PARAMETERS: Type - acpi_object_type to search for * PARAMETERS: type - acpi_object_type to search for
* start_object - Handle in namespace where search begins * start_object - Handle in namespace where search begins
* max_depth - Depth to which search is to reach * max_depth - Depth to which search is to reach
* pre_order_visit - Called during tree pre-order visit * pre_order_visit - Called during tree pre-order visit
* when an object of "Type" is found * when an object of "Type" is found
* post_order_visit - Called during tree post-order visit * post_order_visit - Called during tree post-order visit
* when an object of "Type" is found * when an object of "Type" is found
* Context - Passed to user function(s) above * context - Passed to user function(s) above
* return_value - Location where return value of * return_value - Location where return value of
* user_function is put if terminated early * user_function is put if terminated early
* *
@ -646,7 +646,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
* *
* PARAMETERS: HID - HID to search for. Can be NULL. * PARAMETERS: HID - HID to search for. Can be NULL.
* user_function - Called when a matching object is found * user_function - Called when a matching object is found
* Context - Passed to user function * context - Passed to user function
* return_value - Location where return value of * return_value - Location where return value of
* user_function is put if terminated early * user_function is put if terminated early
* *
@ -716,8 +716,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_devices)
* FUNCTION: acpi_attach_data * FUNCTION: acpi_attach_data
* *
* PARAMETERS: obj_handle - Namespace node * PARAMETERS: obj_handle - Namespace node
* Handler - Handler for this attachment * handler - Handler for this attachment
* Data - Pointer to data to be attached * data - Pointer to data to be attached
* *
* RETURN: Status * RETURN: Status
* *
@ -764,7 +764,7 @@ ACPI_EXPORT_SYMBOL(acpi_attach_data)
* FUNCTION: acpi_detach_data * FUNCTION: acpi_detach_data
* *
* PARAMETERS: obj_handle - Namespace node handle * PARAMETERS: obj_handle - Namespace node handle
* Handler - Handler used in call to acpi_attach_data * handler - Handler used in call to acpi_attach_data
* *
* RETURN: Status * RETURN: Status
* *
@ -810,8 +810,8 @@ ACPI_EXPORT_SYMBOL(acpi_detach_data)
* FUNCTION: acpi_get_data * FUNCTION: acpi_get_data
* *
* PARAMETERS: obj_handle - Namespace node * PARAMETERS: obj_handle - Namespace node
* Handler - Handler used in call to attach_data * handler - Handler used in call to attach_data
* Data - Where the data is returned * data - Where the data is returned
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -61,8 +61,8 @@ static char *acpi_ns_copy_device_id(struct acpica_device_id *dest,
* *
* FUNCTION: acpi_get_handle * FUNCTION: acpi_get_handle
* *
* PARAMETERS: Parent - Object to search under (search scope). * PARAMETERS: parent - Object to search under (search scope).
* Pathname - Pointer to an asciiz string containing the * pathname - Pointer to an asciiz string containing the
* name * name
* ret_handle - Where the return handle is returned * ret_handle - Where the return handle is returned
* *
@ -142,9 +142,9 @@ ACPI_EXPORT_SYMBOL(acpi_get_handle)
* *
* FUNCTION: acpi_get_name * FUNCTION: acpi_get_name
* *
* PARAMETERS: Handle - Handle to be converted to a pathname * PARAMETERS: handle - Handle to be converted to a pathname
* name_type - Full pathname or single segment * name_type - Full pathname or single segment
* Buffer - Buffer for returned path * buffer - Buffer for returned path
* *
* RETURN: Pointer to a string containing the fully qualified Name. * RETURN: Pointer to a string containing the fully qualified Name.
* *
@ -219,8 +219,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_name)
* *
* FUNCTION: acpi_ns_copy_device_id * FUNCTION: acpi_ns_copy_device_id
* *
* PARAMETERS: Dest - Pointer to the destination DEVICE_ID * PARAMETERS: dest - Pointer to the destination DEVICE_ID
* Source - Pointer to the source DEVICE_ID * source - Pointer to the source DEVICE_ID
* string_area - Pointer to where to copy the dest string * string_area - Pointer to where to copy the dest string
* *
* RETURN: Pointer to the next string area * RETURN: Pointer to the next string area
@ -247,7 +247,7 @@ static char *acpi_ns_copy_device_id(struct acpica_device_id *dest,
* *
* FUNCTION: acpi_get_object_info * FUNCTION: acpi_get_object_info
* *
* PARAMETERS: Handle - Object Handle * PARAMETERS: handle - Object Handle
* return_buffer - Where the info is returned * return_buffer - Where the info is returned
* *
* RETURN: Status * RETURN: Status
@ -493,7 +493,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_object_info)
* *
* FUNCTION: acpi_install_method * FUNCTION: acpi_install_method
* *
* PARAMETERS: Buffer - An ACPI table containing one control method * PARAMETERS: buffer - An ACPI table containing one control method
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -98,7 +98,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_id)
* *
* FUNCTION: acpi_get_type * FUNCTION: acpi_get_type
* *
* PARAMETERS: Handle - Handle of object whose type is desired * PARAMETERS: handle - Handle of object whose type is desired
* ret_type - Where the type will be placed * ret_type - Where the type will be placed
* *
* RETURN: Status * RETURN: Status
@ -151,7 +151,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_type)
* *
* FUNCTION: acpi_get_parent * FUNCTION: acpi_get_parent
* *
* PARAMETERS: Handle - Handle of object whose parent is desired * PARAMETERS: handle - Handle of object whose parent is desired
* ret_handle - Where the parent handle will be placed * ret_handle - Where the parent handle will be placed
* *
* RETURN: Status * RETURN: Status
@ -212,8 +212,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_parent)
* *
* FUNCTION: acpi_get_next_object * FUNCTION: acpi_get_next_object
* *
* PARAMETERS: Type - Type of object to be searched for * PARAMETERS: type - Type of object to be searched for
* Parent - Parent object whose children we are getting * parent - Parent object whose children we are getting
* last_child - Previous child that was found. * last_child - Previous child that was found.
* The NEXT child will be returned * The NEXT child will be returned
* ret_handle - Where handle to the next object is placed * ret_handle - Where handle to the next object is placed

View File

@ -210,7 +210,7 @@ char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state)
* FUNCTION: acpi_ps_get_next_namepath * FUNCTION: acpi_ps_get_next_namepath
* *
* PARAMETERS: parser_state - Current parser state object * PARAMETERS: parser_state - Current parser state object
* Arg - Where the namepath will be stored * arg - Where the namepath will be stored
* arg_count - If the namepath points to a control method * arg_count - If the namepath points to a control method
* the method's argument is returned here. * the method's argument is returned here.
* possible_method_call - Whether the namepath can possibly be the * possible_method_call - Whether the namepath can possibly be the
@ -379,7 +379,7 @@ acpi_ps_get_next_namepath(struct acpi_walk_state *walk_state,
* *
* PARAMETERS: parser_state - Current parser state object * PARAMETERS: parser_state - Current parser state object
* arg_type - The argument type (AML_*_ARG) * arg_type - The argument type (AML_*_ARG)
* Arg - Where the argument is returned * arg - Where the argument is returned
* *
* RETURN: None * RETURN: None
* *

View File

@ -167,7 +167,7 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
* PARAMETERS: walk_state - Current state * PARAMETERS: walk_state - Current state
* aml_op_start - Begin of named Op in AML * aml_op_start - Begin of named Op in AML
* unnamed_op - Early Op (not a named Op) * unnamed_op - Early Op (not a named Op)
* Op - Returned Op * op - Returned Op
* *
* RETURN: Status * RETURN: Status
* *
@ -323,7 +323,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
if (walk_state->op_info->flags & AML_CREATE) { if (walk_state->op_info->flags & AML_CREATE) {
/* /*
* Backup to beginning of create_xXXfield declaration * Backup to beginning of create_XXXfield declaration
* body_length is unknown until we parse the body * body_length is unknown until we parse the body
*/ */
op->named.data = aml_op_start; op->named.data = aml_op_start;
@ -380,7 +380,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
* *
* PARAMETERS: walk_state - Current state * PARAMETERS: walk_state - Current state
* aml_op_start - Op start in AML * aml_op_start - Op start in AML
* Op - Current Op * op - Current Op
* *
* RETURN: Status * RETURN: Status
* *
@ -679,8 +679,8 @@ acpi_ps_link_module_code(union acpi_parse_object *parent_op,
* FUNCTION: acpi_ps_complete_op * FUNCTION: acpi_ps_complete_op
* *
* PARAMETERS: walk_state - Current state * PARAMETERS: walk_state - Current state
* Op - Returned Op * op - Returned Op
* Status - Parse status before complete Op * status - Parse status before complete Op
* *
* RETURN: Status * RETURN: Status
* *
@ -853,8 +853,8 @@ acpi_ps_complete_op(struct acpi_walk_state *walk_state,
* FUNCTION: acpi_ps_complete_final_op * FUNCTION: acpi_ps_complete_final_op
* *
* PARAMETERS: walk_state - Current state * PARAMETERS: walk_state - Current state
* Op - Current Op * op - Current Op
* Status - Current parse status before complete last * status - Current parse status before complete last
* Op * Op
* *
* RETURN: Status * RETURN: Status
@ -1165,7 +1165,7 @@ acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state)
if (walk_state->op_info->flags & AML_CREATE) { if (walk_state->op_info->flags & AML_CREATE) {
/* /*
* Backup to beginning of create_xXXfield declaration (1 for * Backup to beginning of create_XXXfield declaration (1 for
* Opcode) * Opcode)
* *
* body_length is unknown until we parse the body * body_length is unknown until we parse the body

View File

@ -724,7 +724,7 @@ static const u8 acpi_gbl_long_op_index[NUM_EXTENDED_OPCODE] = {
* *
* FUNCTION: acpi_ps_get_opcode_info * FUNCTION: acpi_ps_get_opcode_info
* *
* PARAMETERS: Opcode - The AML opcode * PARAMETERS: opcode - The AML opcode
* *
* RETURN: A pointer to the info about the opcode. * RETURN: A pointer to the info about the opcode.
* *
@ -769,7 +769,7 @@ const struct acpi_opcode_info *acpi_ps_get_opcode_info(u16 opcode)
* *
* FUNCTION: acpi_ps_get_opcode_name * FUNCTION: acpi_ps_get_opcode_name
* *
* PARAMETERS: Opcode - The AML opcode * PARAMETERS: opcode - The AML opcode
* *
* RETURN: A pointer to the name of the opcode (ASCII String) * RETURN: A pointer to the name of the opcode (ASCII String)
* Note: Never returns NULL. * Note: Never returns NULL.

View File

@ -64,7 +64,7 @@ ACPI_MODULE_NAME("psparse")
* *
* FUNCTION: acpi_ps_get_opcode_size * FUNCTION: acpi_ps_get_opcode_size
* *
* PARAMETERS: Opcode - An AML opcode * PARAMETERS: opcode - An AML opcode
* *
* RETURN: Size of the opcode, in bytes (1 or 2) * RETURN: Size of the opcode, in bytes (1 or 2)
* *
@ -121,7 +121,7 @@ u16 acpi_ps_peek_opcode(struct acpi_parse_state * parser_state)
* FUNCTION: acpi_ps_complete_this_op * FUNCTION: acpi_ps_complete_this_op
* *
* PARAMETERS: walk_state - Current State * PARAMETERS: walk_state - Current State
* Op - Op to complete * op - Op to complete
* *
* RETURN: Status * RETURN: Status
* *
@ -311,7 +311,7 @@ acpi_ps_complete_this_op(struct acpi_walk_state * walk_state,
* FUNCTION: acpi_ps_next_parse_state * FUNCTION: acpi_ps_next_parse_state
* *
* PARAMETERS: walk_state - Current state * PARAMETERS: walk_state - Current state
* Op - Current parse op * op - Current parse op
* callback_status - Status from previous operation * callback_status - Status from previous operation
* *
* RETURN: Status * RETURN: Status

View File

@ -93,7 +93,7 @@ u8 acpi_ps_has_completed_scope(struct acpi_parse_state * parser_state)
* FUNCTION: acpi_ps_init_scope * FUNCTION: acpi_ps_init_scope
* *
* PARAMETERS: parser_state - Current parser state object * PARAMETERS: parser_state - Current parser state object
* Root - the Root Node of this new scope * root - the Root Node of this new scope
* *
* RETURN: Status * RETURN: Status
* *
@ -131,7 +131,7 @@ acpi_ps_init_scope(struct acpi_parse_state * parser_state,
* FUNCTION: acpi_ps_push_scope * FUNCTION: acpi_ps_push_scope
* *
* PARAMETERS: parser_state - Current parser state object * PARAMETERS: parser_state - Current parser state object
* Op - Current op to be pushed * op - Current op to be pushed
* remaining_args - List of args remaining * remaining_args - List of args remaining
* arg_count - Fixed or variable number of args * arg_count - Fixed or variable number of args
* *
@ -184,7 +184,7 @@ acpi_ps_push_scope(struct acpi_parse_state *parser_state,
* FUNCTION: acpi_ps_pop_scope * FUNCTION: acpi_ps_pop_scope
* *
* PARAMETERS: parser_state - Current parser state object * PARAMETERS: parser_state - Current parser state object
* Op - Where the popped op is returned * op - Where the popped op is returned
* arg_list - Where the popped "next argument" is * arg_list - Where the popped "next argument" is
* returned * returned
* arg_count - Count of objects in arg_list * arg_count - Count of objects in arg_list

View File

@ -58,8 +58,8 @@ union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op);
* *
* FUNCTION: acpi_ps_get_arg * FUNCTION: acpi_ps_get_arg
* *
* PARAMETERS: Op - Get an argument for this op * PARAMETERS: op - Get an argument for this op
* Argn - Nth argument to get * argn - Nth argument to get
* *
* RETURN: The argument (as an Op object). NULL if argument does not exist * RETURN: The argument (as an Op object). NULL if argument does not exist
* *
@ -114,8 +114,8 @@ union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn)
* *
* FUNCTION: acpi_ps_append_arg * FUNCTION: acpi_ps_append_arg
* *
* PARAMETERS: Op - Append an argument to this Op. * PARAMETERS: op - Append an argument to this Op.
* Arg - Argument Op to append * arg - Argument Op to append
* *
* RETURN: None. * RETURN: None.
* *
@ -188,8 +188,8 @@ acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg)
* *
* FUNCTION: acpi_ps_get_depth_next * FUNCTION: acpi_ps_get_depth_next
* *
* PARAMETERS: Origin - Root of subtree to search * PARAMETERS: origin - Root of subtree to search
* Op - Last (previous) Op that was found * op - Last (previous) Op that was found
* *
* RETURN: Next Op found in the search. * RETURN: Next Op found in the search.
* *
@ -261,7 +261,7 @@ union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin,
* *
* FUNCTION: acpi_ps_get_child * FUNCTION: acpi_ps_get_child
* *
* PARAMETERS: Op - Get the child of this Op * PARAMETERS: op - Get the child of this Op
* *
* RETURN: Child Op, Null if none is found. * RETURN: Child Op, Null if none is found.
* *

View File

@ -77,8 +77,8 @@ union acpi_parse_object *acpi_ps_create_scope_op(void)
* *
* FUNCTION: acpi_ps_init_op * FUNCTION: acpi_ps_init_op
* *
* PARAMETERS: Op - A newly allocated Op object * PARAMETERS: op - A newly allocated Op object
* Opcode - Opcode to store in the Op * opcode - Opcode to store in the Op
* *
* RETURN: None * RETURN: None
* *
@ -103,7 +103,7 @@ void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode)
* *
* FUNCTION: acpi_ps_alloc_op * FUNCTION: acpi_ps_alloc_op
* *
* PARAMETERS: Opcode - Opcode that will be stored in the new Op * PARAMETERS: opcode - Opcode that will be stored in the new Op
* *
* RETURN: Pointer to the new Op, null on failure * RETURN: Pointer to the new Op, null on failure
* *
@ -160,7 +160,7 @@ union acpi_parse_object *acpi_ps_alloc_op(u16 opcode)
* *
* FUNCTION: acpi_ps_free_op * FUNCTION: acpi_ps_free_op
* *
* PARAMETERS: Op - Op to be freed * PARAMETERS: op - Op to be freed
* *
* RETURN: None. * RETURN: None.
* *

View File

@ -66,7 +66,7 @@ acpi_ps_update_parameter_list(struct acpi_evaluate_info *info, u16 action);
* PARAMETERS: method_name - Valid ACPI name string * PARAMETERS: method_name - Valid ACPI name string
* debug_level - Optional level mask. 0 to use default * debug_level - Optional level mask. 0 to use default
* debug_layer - Optional layer mask. 0 to use default * debug_layer - Optional layer mask. 0 to use default
* Flags - bit 1: one shot(1) or persistent(0) * flags - bit 1: one shot(1) or persistent(0)
* *
* RETURN: Status * RETURN: Status
* *
@ -105,7 +105,7 @@ acpi_debug_trace(char *name, u32 debug_level, u32 debug_layer, u32 flags)
* *
* FUNCTION: acpi_ps_start_trace * FUNCTION: acpi_ps_start_trace
* *
* PARAMETERS: Info - Method info struct * PARAMETERS: info - Method info struct
* *
* RETURN: None * RETURN: None
* *
@ -150,7 +150,7 @@ static void acpi_ps_start_trace(struct acpi_evaluate_info *info)
* *
* FUNCTION: acpi_ps_stop_trace * FUNCTION: acpi_ps_stop_trace
* *
* PARAMETERS: Info - Method info struct * PARAMETERS: info - Method info struct
* *
* RETURN: None * RETURN: None
* *
@ -193,10 +193,10 @@ static void acpi_ps_stop_trace(struct acpi_evaluate_info *info)
* *
* FUNCTION: acpi_ps_execute_method * FUNCTION: acpi_ps_execute_method
* *
* PARAMETERS: Info - Method info block, contains: * PARAMETERS: info - Method info block, contains:
* Node - Method Node to execute * node - Method Node to execute
* obj_desc - Method object * obj_desc - Method object
* Parameters - List of parameters to pass to the method, * parameters - List of parameters to pass to the method,
* terminated by NULL. Params itself may be * terminated by NULL. Params itself may be
* NULL if no parameters are being passed. * NULL if no parameters are being passed.
* return_object - Where to put method's return value (if * return_object - Where to put method's return value (if
@ -361,9 +361,9 @@ acpi_status acpi_ps_execute_method(struct acpi_evaluate_info *info)
* *
* FUNCTION: acpi_ps_update_parameter_list * FUNCTION: acpi_ps_update_parameter_list
* *
* PARAMETERS: Info - See struct acpi_evaluate_info * PARAMETERS: info - See struct acpi_evaluate_info
* (Used: parameter_type and Parameters) * (Used: parameter_type and Parameters)
* Action - Add or Remove reference * action - Add or Remove reference
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -182,8 +182,8 @@ struct acpi_rsconvert_info acpi_rs_convert_ext_address64[5] = {
/* Revision ID */ /* Revision ID */
{ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.ext_address64.revision_iD), {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.ext_address64.revision_ID),
AML_OFFSET(ext_address64.revision_iD), AML_OFFSET(ext_address64.revision_ID),
1}, 1},
/* /*
* These fields are contiguous in both the source and destination: * These fields are contiguous in both the source and destination:
@ -215,7 +215,7 @@ static struct acpi_rsconvert_info acpi_rs_convert_general_flags[6] = {
AML_OFFSET(address.resource_type), AML_OFFSET(address.resource_type),
1}, 1},
/* General Flags - Consume, Decode, min_fixed, max_fixed */ /* General flags - Consume, Decode, min_fixed, max_fixed */
{ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer), {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer),
AML_OFFSET(address.flags), AML_OFFSET(address.flags),
@ -293,8 +293,8 @@ static struct acpi_rsconvert_info acpi_rs_convert_io_flags[4] = {
* *
* FUNCTION: acpi_rs_get_address_common * FUNCTION: acpi_rs_get_address_common
* *
* PARAMETERS: Resource - Pointer to the internal resource struct * PARAMETERS: resource - Pointer to the internal resource struct
* Aml - Pointer to the AML resource descriptor * aml - Pointer to the AML resource descriptor
* *
* RETURN: TRUE if the resource_type field is OK, FALSE otherwise * RETURN: TRUE if the resource_type field is OK, FALSE otherwise
* *
@ -343,8 +343,8 @@ acpi_rs_get_address_common(struct acpi_resource *resource,
* *
* FUNCTION: acpi_rs_set_address_common * FUNCTION: acpi_rs_set_address_common
* *
* PARAMETERS: Aml - Pointer to the AML resource descriptor * PARAMETERS: aml - Pointer to the AML resource descriptor
* Resource - Pointer to the internal resource struct * resource - Pointer to the internal resource struct
* *
* RETURN: None * RETURN: None
* *

View File

@ -173,7 +173,7 @@ acpi_rs_stream_option_length(u32 resource_length,
* *
* FUNCTION: acpi_rs_get_aml_length * FUNCTION: acpi_rs_get_aml_length
* *
* PARAMETERS: Resource - Pointer to the resource linked list * PARAMETERS: resource - Pointer to the resource linked list
* size_needed - Where the required size is returned * size_needed - Where the required size is returned
* *
* RETURN: Status * RETURN: Status

View File

@ -703,7 +703,7 @@ acpi_rs_dump_resource_source(struct acpi_resource_source *resource_source)
* *
* FUNCTION: acpi_rs_dump_address_common * FUNCTION: acpi_rs_dump_address_common
* *
* PARAMETERS: Resource - Pointer to an internal resource descriptor * PARAMETERS: resource - Pointer to an internal resource descriptor
* *
* RETURN: None * RETURN: None
* *
@ -850,8 +850,8 @@ void acpi_rs_dump_irq_list(u8 * route_table)
* *
* FUNCTION: acpi_rs_out* * FUNCTION: acpi_rs_out*
* *
* PARAMETERS: Title - Name of the resource field * PARAMETERS: title - Name of the resource field
* Value - Value of the resource field * value - Value of the resource field
* *
* RETURN: None * RETURN: None
* *
@ -898,8 +898,8 @@ static void acpi_rs_out_title(char *title)
* *
* FUNCTION: acpi_rs_dump*List * FUNCTION: acpi_rs_dump*List
* *
* PARAMETERS: Length - Number of elements in the list * PARAMETERS: length - Number of elements in the list
* Data - Start of the list * data - Start of the list
* *
* RETURN: None * RETURN: None
* *

View File

@ -139,7 +139,7 @@ acpi_rs_convert_aml_to_resources(u8 * aml,
* *
* FUNCTION: acpi_rs_convert_resources_to_aml * FUNCTION: acpi_rs_convert_resources_to_aml
* *
* PARAMETERS: Resource - Pointer to the resource linked list * PARAMETERS: resource - Pointer to the resource linked list
* aml_size_needed - Calculated size of the byte stream * aml_size_needed - Calculated size of the byte stream
* needed from calling acpi_rs_get_aml_length() * needed from calling acpi_rs_get_aml_length()
* The size of the output_buffer is * The size of the output_buffer is

View File

@ -57,9 +57,9 @@ ACPI_MODULE_NAME("rsmisc")
* *
* FUNCTION: acpi_rs_convert_aml_to_resource * FUNCTION: acpi_rs_convert_aml_to_resource
* *
* PARAMETERS: Resource - Pointer to the resource descriptor * PARAMETERS: resource - Pointer to the resource descriptor
* Aml - Where the AML descriptor is returned * aml - Where the AML descriptor is returned
* Info - Pointer to appropriate conversion table * info - Pointer to appropriate conversion table
* *
* RETURN: Status * RETURN: Status
* *
@ -406,7 +406,7 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
case ACPI_RSC_EXIT_NE: case ACPI_RSC_EXIT_NE:
/* /*
* Control - Exit conversion if not equal * control - Exit conversion if not equal
*/ */
switch (info->resource_offset) { switch (info->resource_offset) {
case ACPI_RSC_COMPARE_AML_LENGTH: case ACPI_RSC_COMPARE_AML_LENGTH:
@ -454,9 +454,9 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
* *
* FUNCTION: acpi_rs_convert_resource_to_aml * FUNCTION: acpi_rs_convert_resource_to_aml
* *
* PARAMETERS: Resource - Pointer to the resource descriptor * PARAMETERS: resource - Pointer to the resource descriptor
* Aml - Where the AML descriptor is returned * aml - Where the AML descriptor is returned
* Info - Pointer to appropriate conversion table * info - Pointer to appropriate conversion table
* *
* RETURN: Status * RETURN: Status
* *
@ -726,7 +726,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
case ACPI_RSC_EXIT_LE: case ACPI_RSC_EXIT_LE:
/* /*
* Control - Exit conversion if less than or equal * control - Exit conversion if less than or equal
*/ */
if (item_count <= info->value) { if (item_count <= info->value) {
goto exit; goto exit;
@ -735,7 +735,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
case ACPI_RSC_EXIT_NE: case ACPI_RSC_EXIT_NE:
/* /*
* Control - Exit conversion if not equal * control - Exit conversion if not equal
*/ */
switch (COMPARE_OPCODE(info)) { switch (COMPARE_OPCODE(info)) {
case ACPI_RSC_COMPARE_VALUE: case ACPI_RSC_COMPARE_VALUE:
@ -757,7 +757,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
case ACPI_RSC_EXIT_EQ: case ACPI_RSC_EXIT_EQ:
/* /*
* Control - Exit conversion if equal * control - Exit conversion if equal
*/ */
if (*ACPI_ADD_PTR(u8, resource, if (*ACPI_ADD_PTR(u8, resource,
COMPARE_TARGET(info)) == COMPARE_TARGET(info)) ==
@ -783,7 +783,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
#if 0 #if 0
/* Previous resource validations */ /* Previous resource validations */
if (aml->ext_address64.revision_iD != AML_RESOURCE_EXTENDED_ADDRESS_REVISION) { if (aml->ext_address64.revision_ID != AML_RESOURCE_EXTENDED_ADDRESS_REVISION) {
return_ACPI_STATUS(AE_SUPPORT); return_ACPI_STATUS(AE_SUPPORT);
} }

View File

@ -53,8 +53,8 @@ ACPI_MODULE_NAME("rsutils")
* *
* FUNCTION: acpi_rs_decode_bitmask * FUNCTION: acpi_rs_decode_bitmask
* *
* PARAMETERS: Mask - Bitmask to decode * PARAMETERS: mask - Bitmask to decode
* List - Where the converted list is returned * list - Where the converted list is returned
* *
* RETURN: Count of bits set (length of list) * RETURN: Count of bits set (length of list)
* *
@ -86,8 +86,8 @@ u8 acpi_rs_decode_bitmask(u16 mask, u8 * list)
* *
* FUNCTION: acpi_rs_encode_bitmask * FUNCTION: acpi_rs_encode_bitmask
* *
* PARAMETERS: List - List of values to encode * PARAMETERS: list - List of values to encode
* Count - Length of list * count - Length of list
* *
* RETURN: Encoded bitmask * RETURN: Encoded bitmask
* *
@ -115,8 +115,8 @@ u16 acpi_rs_encode_bitmask(u8 * list, u8 count)
* *
* FUNCTION: acpi_rs_move_data * FUNCTION: acpi_rs_move_data
* *
* PARAMETERS: Destination - Pointer to the destination descriptor * PARAMETERS: destination - Pointer to the destination descriptor
* Source - Pointer to the source descriptor * source - Pointer to the source descriptor
* item_count - How many items to move * item_count - How many items to move
* move_type - Byte width * move_type - Byte width
* *
@ -183,7 +183,7 @@ acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type)
* *
* PARAMETERS: total_length - Length of the AML descriptor, including * PARAMETERS: total_length - Length of the AML descriptor, including
* the header and length fields. * the header and length fields.
* Aml - Pointer to the raw AML descriptor * aml - Pointer to the raw AML descriptor
* *
* RETURN: None * RETURN: None
* *
@ -235,7 +235,7 @@ acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
* PARAMETERS: descriptor_type - Byte to be inserted as the type * PARAMETERS: descriptor_type - Byte to be inserted as the type
* total_length - Length of the AML descriptor, including * total_length - Length of the AML descriptor, including
* the header and length fields. * the header and length fields.
* Aml - Pointer to the raw AML descriptor * aml - Pointer to the raw AML descriptor
* *
* RETURN: None * RETURN: None
* *
@ -265,8 +265,8 @@ acpi_rs_set_resource_header(u8 descriptor_type,
* *
* FUNCTION: acpi_rs_strcpy * FUNCTION: acpi_rs_strcpy
* *
* PARAMETERS: Destination - Pointer to the destination string * PARAMETERS: destination - Pointer to the destination string
* Source - Pointer to the source string * source - Pointer to the source string
* *
* RETURN: String length, including NULL terminator * RETURN: String length, including NULL terminator
* *
@ -300,7 +300,7 @@ static u16 acpi_rs_strcpy(char *destination, char *source)
* minimum_length - Minimum length of the descriptor (minus * minimum_length - Minimum length of the descriptor (minus
* any optional fields) * any optional fields)
* resource_source - Where the resource_source is returned * resource_source - Where the resource_source is returned
* Aml - Pointer to the raw AML descriptor * aml - Pointer to the raw AML descriptor
* string_ptr - (optional) where to store the actual * string_ptr - (optional) where to store the actual
* resource_source string * resource_source string
* *
@ -386,7 +386,7 @@ acpi_rs_get_resource_source(acpi_rs_length resource_length,
* *
* FUNCTION: acpi_rs_set_resource_source * FUNCTION: acpi_rs_set_resource_source
* *
* PARAMETERS: Aml - Pointer to the raw AML descriptor * PARAMETERS: aml - Pointer to the raw AML descriptor
* minimum_length - Minimum length of the descriptor (minus * minimum_length - Minimum length of the descriptor (minus
* any optional fields) * any optional fields)
* resource_source - Internal resource_source * resource_source - Internal resource_source
@ -445,7 +445,7 @@ acpi_rs_set_resource_source(union aml_resource * aml,
* *
* FUNCTION: acpi_rs_get_prt_method_data * FUNCTION: acpi_rs_get_prt_method_data
* *
* PARAMETERS: Node - Device node * PARAMETERS: node - Device node
* ret_buffer - Pointer to a buffer structure for the * ret_buffer - Pointer to a buffer structure for the
* results * results
* *
@ -494,7 +494,7 @@ acpi_rs_get_prt_method_data(struct acpi_namespace_node * node,
* *
* FUNCTION: acpi_rs_get_crs_method_data * FUNCTION: acpi_rs_get_crs_method_data
* *
* PARAMETERS: Node - Device node * PARAMETERS: node - Device node
* ret_buffer - Pointer to a buffer structure for the * ret_buffer - Pointer to a buffer structure for the
* results * results
* *
@ -534,7 +534,7 @@ acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
*/ */
status = acpi_rs_create_resource_list(obj_desc, ret_buffer); status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
/* On exit, we must delete the object returned by evaluate_object */ /* On exit, we must delete the object returned by evaluateObject */
acpi_ut_remove_reference(obj_desc); acpi_ut_remove_reference(obj_desc);
return_ACPI_STATUS(status); return_ACPI_STATUS(status);
@ -544,7 +544,7 @@ acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_rs_get_prs_method_data * FUNCTION: acpi_rs_get_prs_method_data
* *
* PARAMETERS: Node - Device node * PARAMETERS: node - Device node
* ret_buffer - Pointer to a buffer structure for the * ret_buffer - Pointer to a buffer structure for the
* results * results
* *
@ -585,7 +585,7 @@ acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
*/ */
status = acpi_rs_create_resource_list(obj_desc, ret_buffer); status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
/* On exit, we must delete the object returned by evaluate_object */ /* On exit, we must delete the object returned by evaluateObject */
acpi_ut_remove_reference(obj_desc); acpi_ut_remove_reference(obj_desc);
return_ACPI_STATUS(status); return_ACPI_STATUS(status);
@ -596,7 +596,7 @@ acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_rs_get_aei_method_data * FUNCTION: acpi_rs_get_aei_method_data
* *
* PARAMETERS: Node - Device node * PARAMETERS: node - Device node
* ret_buffer - Pointer to a buffer structure for the * ret_buffer - Pointer to a buffer structure for the
* results * results
* *
@ -636,7 +636,7 @@ acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
*/ */
status = acpi_rs_create_resource_list(obj_desc, ret_buffer); status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
/* On exit, we must delete the object returned by evaluate_object */ /* On exit, we must delete the object returned by evaluateObject */
acpi_ut_remove_reference(obj_desc); acpi_ut_remove_reference(obj_desc);
return_ACPI_STATUS(status); return_ACPI_STATUS(status);
@ -646,8 +646,8 @@ acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
* *
* FUNCTION: acpi_rs_get_method_data * FUNCTION: acpi_rs_get_method_data
* *
* PARAMETERS: Handle - Handle to the containing object * PARAMETERS: handle - Handle to the containing object
* Path - Path to method, relative to Handle * path - Path to method, relative to Handle
* ret_buffer - Pointer to a buffer structure for the * ret_buffer - Pointer to a buffer structure for the
* results * results
* *
@ -697,7 +697,7 @@ acpi_rs_get_method_data(acpi_handle handle,
* *
* FUNCTION: acpi_rs_set_srs_method_data * FUNCTION: acpi_rs_set_srs_method_data
* *
* PARAMETERS: Node - Device node * PARAMETERS: node - Device node
* in_buffer - Pointer to a buffer structure of the * in_buffer - Pointer to a buffer structure of the
* parameter * parameter
* *

View File

@ -79,7 +79,7 @@ acpi_rs_validate_parameters(acpi_handle device_handle,
* FUNCTION: acpi_rs_validate_parameters * FUNCTION: acpi_rs_validate_parameters
* *
* PARAMETERS: device_handle - Handle to a device * PARAMETERS: device_handle - Handle to a device
* Buffer - Pointer to a data buffer * buffer - Pointer to a data buffer
* return_node - Pointer to where the device node is returned * return_node - Pointer to where the device node is returned
* *
* RETURN: Status * RETURN: Status
@ -351,8 +351,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_event_resources)
* *
* FUNCTION: acpi_resource_to_address64 * FUNCTION: acpi_resource_to_address64
* *
* PARAMETERS: Resource - Pointer to a resource * PARAMETERS: resource - Pointer to a resource
* Out - Pointer to the users's return buffer * out - Pointer to the users's return buffer
* (a struct acpi_resource_address64) * (a struct acpi_resource_address64)
* *
* RETURN: Status * RETURN: Status
@ -415,9 +415,9 @@ ACPI_EXPORT_SYMBOL(acpi_resource_to_address64)
* FUNCTION: acpi_get_vendor_resource * FUNCTION: acpi_get_vendor_resource
* *
* PARAMETERS: device_handle - Handle for the parent device object * PARAMETERS: device_handle - Handle for the parent device object
* Name - Method name for the parent resource * name - Method name for the parent resource
* (METHOD_NAME__CRS or METHOD_NAME__PRS) * (METHOD_NAME__CRS or METHOD_NAME__PRS)
* Uuid - Pointer to the UUID to be matched. * uuid - Pointer to the UUID to be matched.
* includes both subtype and 16-byte UUID * includes both subtype and 16-byte UUID
* ret_buffer - Where the vendor resource is returned * ret_buffer - Where the vendor resource is returned
* *
@ -526,11 +526,11 @@ acpi_rs_match_vendor_resource(struct acpi_resource *resource, void *context)
* *
* PARAMETERS: device_handle - Handle to the device object for the * PARAMETERS: device_handle - Handle to the device object for the
* device we are querying * device we are querying
* Name - Method name of the resources we want. * name - Method name of the resources we want.
* (METHOD_NAME__CRS, METHOD_NAME__PRS, or * (METHOD_NAME__CRS, METHOD_NAME__PRS, or
* METHOD_NAME__AEI) * METHOD_NAME__AEI)
* user_function - Called for each resource * user_function - Called for each resource
* Context - Passed to user_function * context - Passed to user_function
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -173,7 +173,7 @@ static struct acpi_fadt_pm_info fadt_pm_info_table[] = {
* *
* PARAMETERS: generic_address - GAS struct to be initialized * PARAMETERS: generic_address - GAS struct to be initialized
* byte_width - Width of this register * byte_width - Width of this register
* Address - Address of the register * address - Address of the register
* *
* RETURN: None * RETURN: None
* *
@ -283,8 +283,8 @@ void acpi_tb_parse_fadt(u32 table_index)
* *
* FUNCTION: acpi_tb_create_local_fadt * FUNCTION: acpi_tb_create_local_fadt
* *
* PARAMETERS: Table - Pointer to BIOS FADT * PARAMETERS: table - Pointer to BIOS FADT
* Length - Length of the table * length - Length of the table
* *
* RETURN: None * RETURN: None
* *
@ -484,7 +484,7 @@ static void acpi_tb_convert_fadt(void)
* *
* FUNCTION: acpi_tb_validate_fadt * FUNCTION: acpi_tb_validate_fadt
* *
* PARAMETERS: Table - Pointer to the FADT to be validated * PARAMETERS: table - Pointer to the FADT to be validated
* *
* RETURN: None * RETURN: None
* *
@ -583,7 +583,7 @@ static void acpi_tb_validate_fadt(void)
} }
} else if (fadt_info_table[i].type & ACPI_FADT_SEPARATE_LENGTH) { } else if (fadt_info_table[i].type & ACPI_FADT_SEPARATE_LENGTH) {
/* /*
* Field is optional (PM2Control, GPE0, GPE1) AND has its own * Field is optional (Pm2_control, GPE0, GPE1) AND has its own
* length field. If present, both the address and length must * length field. If present, both the address and length must
* be valid. * be valid.
*/ */

View File

@ -52,7 +52,7 @@ ACPI_MODULE_NAME("tbfind")
* *
* FUNCTION: acpi_tb_find_table * FUNCTION: acpi_tb_find_table
* *
* PARAMETERS: Signature - String with ACPI table signature * PARAMETERS: signature - String with ACPI table signature
* oem_id - String with the table OEM ID * oem_id - String with the table OEM ID
* oem_table_id - String with the OEM Table ID * oem_table_id - String with the OEM Table ID
* table_index - Where the table index is returned * table_index - Where the table index is returned

View File

@ -397,10 +397,10 @@ acpi_status acpi_tb_resize_root_table_list(void)
* *
* FUNCTION: acpi_tb_store_table * FUNCTION: acpi_tb_store_table
* *
* PARAMETERS: Address - Table address * PARAMETERS: address - Table address
* Table - Table header * table - Table header
* Length - Table length * length - Table length
* Flags - flags * flags - flags
* *
* RETURN: Status and table index. * RETURN: Status and table index.
* *

View File

@ -178,8 +178,8 @@ u8 acpi_tb_tables_loaded(void)
* *
* FUNCTION: acpi_tb_fix_string * FUNCTION: acpi_tb_fix_string
* *
* PARAMETERS: String - String to be repaired * PARAMETERS: string - String to be repaired
* Length - Maximum length * length - Maximum length
* *
* RETURN: None * RETURN: None
* *
@ -205,7 +205,7 @@ static void acpi_tb_fix_string(char *string, acpi_size length)
* FUNCTION: acpi_tb_cleanup_table_header * FUNCTION: acpi_tb_cleanup_table_header
* *
* PARAMETERS: out_header - Where the cleaned header is returned * PARAMETERS: out_header - Where the cleaned header is returned
* Header - Input ACPI table header * header - Input ACPI table header
* *
* RETURN: Returns the cleaned header in out_header * RETURN: Returns the cleaned header in out_header
* *
@ -231,8 +231,8 @@ acpi_tb_cleanup_table_header(struct acpi_table_header *out_header,
* *
* FUNCTION: acpi_tb_print_table_header * FUNCTION: acpi_tb_print_table_header
* *
* PARAMETERS: Address - Table physical address * PARAMETERS: address - Table physical address
* Header - Table header * header - Table header
* *
* RETURN: None * RETURN: None
* *
@ -296,8 +296,8 @@ acpi_tb_print_table_header(acpi_physical_address address,
* *
* FUNCTION: acpi_tb_validate_checksum * FUNCTION: acpi_tb_validate_checksum
* *
* PARAMETERS: Table - ACPI table to verify * PARAMETERS: table - ACPI table to verify
* Length - Length of entire table * length - Length of entire table
* *
* RETURN: Status * RETURN: Status
* *
@ -336,8 +336,8 @@ acpi_status acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length)
* *
* FUNCTION: acpi_tb_checksum * FUNCTION: acpi_tb_checksum
* *
* PARAMETERS: Buffer - Pointer to memory region to be checked * PARAMETERS: buffer - Pointer to memory region to be checked
* Length - Length of this memory region * length - Length of this memory region
* *
* RETURN: Checksum (u8) * RETURN: Checksum (u8)
* *
@ -440,8 +440,8 @@ struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index)
* *
* FUNCTION: acpi_tb_install_table * FUNCTION: acpi_tb_install_table
* *
* PARAMETERS: Address - Physical address of DSDT or FACS * PARAMETERS: address - Physical address of DSDT or FACS
* Signature - Table signature, NULL if no need to * signature - Table signature, NULL if no need to
* match * match
* table_index - Index into root table array * table_index - Index into root table array
* *
@ -606,7 +606,7 @@ acpi_tb_get_root_table_entry(u8 *table_entry, u32 table_entry_size)
* *
* FUNCTION: acpi_tb_parse_root_table * FUNCTION: acpi_tb_parse_root_table
* *
* PARAMETERS: Rsdp - Pointer to the RSDP * PARAMETERS: rsdp - Pointer to the RSDP
* *
* RETURN: Status * RETURN: Status
* *

View File

@ -59,7 +59,7 @@ ACPI_MODULE_NAME("tbxface")
* *
* RETURN: Status * RETURN: Status
* *
* DESCRIPTION: Allocate a root table array. Used by i_aSL compiler and * DESCRIPTION: Allocate a root table array. Used by iASL compiler and
* acpi_initialize_tables. * acpi_initialize_tables.
* *
******************************************************************************/ ******************************************************************************/
@ -217,8 +217,8 @@ acpi_status acpi_reallocate_root_table(void)
* *
* FUNCTION: acpi_get_table_header * FUNCTION: acpi_get_table_header
* *
* PARAMETERS: Signature - ACPI signature of needed table * PARAMETERS: signature - ACPI signature of needed table
* Instance - Which instance (for SSDTs) * instance - Which instance (for SSDTs)
* out_table_header - The pointer to the table header to fill * out_table_header - The pointer to the table header to fill
* *
* RETURN: Status and pointer to mapped table header * RETURN: Status and pointer to mapped table header
@ -333,8 +333,8 @@ ACPI_EXPORT_SYMBOL(acpi_unload_table_id)
* *
* FUNCTION: acpi_get_table_with_size * FUNCTION: acpi_get_table_with_size
* *
* PARAMETERS: Signature - ACPI signature of needed table * PARAMETERS: signature - ACPI signature of needed table
* Instance - Which instance (for SSDTs) * instance - Which instance (for SSDTs)
* out_table - Where the pointer to the table is returned * out_table - Where the pointer to the table is returned
* *
* RETURN: Status and pointer to table * RETURN: Status and pointer to table
@ -404,7 +404,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_table)
* FUNCTION: acpi_get_table_by_index * FUNCTION: acpi_get_table_by_index
* *
* PARAMETERS: table_index - Table index * PARAMETERS: table_index - Table index
* Table - Where the pointer to the table is returned * table - Where the pointer to the table is returned
* *
* RETURN: Status and pointer to the table * RETURN: Status and pointer to the table
* *
@ -458,8 +458,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_table_by_index)
* *
* FUNCTION: acpi_install_table_handler * FUNCTION: acpi_install_table_handler
* *
* PARAMETERS: Handler - Table event handler * PARAMETERS: handler - Table event handler
* Context - Value passed to the handler on each event * context - Value passed to the handler on each event
* *
* RETURN: Status * RETURN: Status
* *
@ -505,7 +505,7 @@ ACPI_EXPORT_SYMBOL(acpi_install_table_handler)
* *
* FUNCTION: acpi_remove_table_handler * FUNCTION: acpi_remove_table_handler
* *
* PARAMETERS: Handler - Table event handler that was installed * PARAMETERS: handler - Table event handler that was installed
* previously. * previously.
* *
* RETURN: Status * RETURN: Status

View File

@ -57,7 +57,7 @@ static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp);
* *
* FUNCTION: acpi_tb_validate_rsdp * FUNCTION: acpi_tb_validate_rsdp
* *
* PARAMETERS: Rsdp - Pointer to unvalidated RSDP * PARAMETERS: rsdp - Pointer to unvalidated RSDP
* *
* RETURN: Status * RETURN: Status
* *
@ -107,10 +107,10 @@ static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp)
* *
* RETURN: Status, RSDP physical address * RETURN: Status, RSDP physical address
* *
* DESCRIPTION: Search lower 1_mbyte of memory for the root system descriptor * DESCRIPTION: Search lower 1Mbyte of memory for the root system descriptor
* pointer structure. If it is found, set *RSDP to point to it. * pointer structure. If it is found, set *RSDP to point to it.
* *
* NOTE1: The RSDP must be either in the first 1_k of the Extended * NOTE1: The RSDP must be either in the first 1K of the Extended
* BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.) * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.)
* Only a 32-bit physical address is necessary. * Only a 32-bit physical address is necessary.
* *
@ -152,7 +152,7 @@ acpi_status acpi_find_root_pointer(acpi_size *table_address)
if (physical_address > 0x400) { if (physical_address > 0x400) {
/* /*
* 1b) Search EBDA paragraphs (EBDA is required to be a * 1b) Search EBDA paragraphs (EBDA is required to be a
* minimum of 1_k length) * minimum of 1K length)
*/ */
table_ptr = acpi_os_map_memory((acpi_physical_address) table_ptr = acpi_os_map_memory((acpi_physical_address)
physical_address, physical_address,
@ -225,7 +225,7 @@ acpi_status acpi_find_root_pointer(acpi_size *table_address)
* FUNCTION: acpi_tb_scan_memory_for_rsdp * FUNCTION: acpi_tb_scan_memory_for_rsdp
* *
* PARAMETERS: start_address - Starting pointer for search * PARAMETERS: start_address - Starting pointer for search
* Length - Maximum length to search * length - Maximum length to search
* *
* RETURN: Pointer to the RSDP if found, otherwise NULL. * RETURN: Pointer to the RSDP if found, otherwise NULL.
* *

View File

@ -53,8 +53,8 @@ ACPI_MODULE_NAME("utaddress")
* FUNCTION: acpi_ut_add_address_range * FUNCTION: acpi_ut_add_address_range
* *
* PARAMETERS: space_id - Address space ID * PARAMETERS: space_id - Address space ID
* Address - op_region start address * address - op_region start address
* Length - op_region length * length - op_region length
* region_node - op_region namespace node * region_node - op_region namespace node
* *
* RETURN: Status * RETURN: Status
@ -186,9 +186,9 @@ acpi_ut_remove_address_range(acpi_adr_space_type space_id,
* FUNCTION: acpi_ut_check_address_range * FUNCTION: acpi_ut_check_address_range
* *
* PARAMETERS: space_id - Address space ID * PARAMETERS: space_id - Address space ID
* Address - Start address * address - Start address
* Length - Length of address range * length - Length of address range
* Warn - TRUE if warning on overlap desired * warn - TRUE if warning on overlap desired
* *
* RETURN: Count of the number of conflicts detected. Zero is always * RETURN: Count of the number of conflicts detected. Zero is always
* returned for Space IDs other than Memory or I/O. * returned for Space IDs other than Memory or I/O.

View File

@ -189,7 +189,7 @@ acpi_status acpi_ut_delete_caches(void)
* *
* FUNCTION: acpi_ut_validate_buffer * FUNCTION: acpi_ut_validate_buffer
* *
* PARAMETERS: Buffer - Buffer descriptor to be validated * PARAMETERS: buffer - Buffer descriptor to be validated
* *
* RETURN: Status * RETURN: Status
* *
@ -227,7 +227,7 @@ acpi_status acpi_ut_validate_buffer(struct acpi_buffer * buffer)
* *
* FUNCTION: acpi_ut_initialize_buffer * FUNCTION: acpi_ut_initialize_buffer
* *
* PARAMETERS: Buffer - Buffer to be validated * PARAMETERS: buffer - Buffer to be validated
* required_length - Length needed * required_length - Length needed
* *
* RETURN: Status * RETURN: Status
@ -308,10 +308,10 @@ acpi_ut_initialize_buffer(struct acpi_buffer * buffer,
* *
* FUNCTION: acpi_ut_allocate * FUNCTION: acpi_ut_allocate
* *
* PARAMETERS: Size - Size of the allocation * PARAMETERS: size - Size of the allocation
* Component - Component type of caller * component - Component type of caller
* Module - Source file name of caller * module - Source file name of caller
* Line - Line number of caller * line - Line number of caller
* *
* RETURN: Address of the allocated memory on success, NULL on failure. * RETURN: Address of the allocated memory on success, NULL on failure.
* *
@ -352,10 +352,10 @@ void *acpi_ut_allocate(acpi_size size,
* *
* FUNCTION: acpi_ut_allocate_zeroed * FUNCTION: acpi_ut_allocate_zeroed
* *
* PARAMETERS: Size - Size of the allocation * PARAMETERS: size - Size of the allocation
* Component - Component type of caller * component - Component type of caller
* Module - Source file name of caller * module - Source file name of caller
* Line - Line number of caller * line - Line number of caller
* *
* RETURN: Address of the allocated memory on success, NULL on failure. * RETURN: Address of the allocated memory on success, NULL on failure.
* *

View File

@ -317,7 +317,7 @@ acpi_ut_copy_ielement_to_eelement(u8 object_type,
* FUNCTION: acpi_ut_copy_ipackage_to_epackage * FUNCTION: acpi_ut_copy_ipackage_to_epackage
* *
* PARAMETERS: internal_object - Pointer to the object we are returning * PARAMETERS: internal_object - Pointer to the object we are returning
* Buffer - Where the object is returned * buffer - Where the object is returned
* space_used - Where the object length is returned * space_used - Where the object length is returned
* *
* RETURN: Status * RETURN: Status

View File

@ -145,7 +145,7 @@ static const char *acpi_ut_trim_function_name(const char *function_name)
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Format - Printf format field * format - Printf format field
* ... - Optional printf arguments * ... - Optional printf arguments
* *
* RETURN: None * RETURN: None
@ -217,7 +217,7 @@ ACPI_EXPORT_SYMBOL(acpi_debug_print)
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Format - Printf format field * format - Printf format field
* ... - Optional printf arguments * ... - Optional printf arguments
* *
* RETURN: None * RETURN: None
@ -286,7 +286,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_trace)
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Pointer - Pointer to display * pointer - Pointer to display
* *
* RETURN: None * RETURN: None
* *
@ -315,7 +315,7 @@ acpi_ut_trace_ptr(u32 line_number,
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* String - Additional string to display * string - Additional string to display
* *
* RETURN: None * RETURN: None
* *
@ -346,7 +346,7 @@ acpi_ut_trace_str(u32 line_number,
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Integer - Integer to display * integer - Integer to display
* *
* RETURN: None * RETURN: None
* *
@ -408,7 +408,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_exit)
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Status - Exit status code * status - Exit status code
* *
* RETURN: None * RETURN: None
* *
@ -449,7 +449,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_status_exit)
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Value - Value to be printed with exit msg * value - Value to be printed with exit msg
* *
* RETURN: None * RETURN: None
* *
@ -481,7 +481,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_value_exit)
* function_name - Caller's procedure name * function_name - Caller's procedure name
* module_name - Caller's module name * module_name - Caller's module name
* component_id - Caller's component ID * component_id - Caller's component ID
* Ptr - Pointer to display * ptr - Pointer to display
* *
* RETURN: None * RETURN: None
* *
@ -508,10 +508,10 @@ acpi_ut_ptr_exit(u32 line_number,
* *
* FUNCTION: acpi_ut_dump_buffer * FUNCTION: acpi_ut_dump_buffer
* *
* PARAMETERS: Buffer - Buffer to dump * PARAMETERS: buffer - Buffer to dump
* Count - Amount to dump, in bytes * count - Amount to dump, in bytes
* Display - BYTE, WORD, DWORD, or QWORD display * display - BYTE, WORD, DWORD, or QWORD display
* component_iD - Caller's component ID * component_ID - Caller's component ID
* *
* RETURN: None * RETURN: None
* *
@ -625,10 +625,10 @@ void acpi_ut_dump_buffer2(u8 * buffer, u32 count, u32 display)
* *
* FUNCTION: acpi_ut_dump_buffer * FUNCTION: acpi_ut_dump_buffer
* *
* PARAMETERS: Buffer - Buffer to dump * PARAMETERS: buffer - Buffer to dump
* Count - Amount to dump, in bytes * count - Amount to dump, in bytes
* Display - BYTE, WORD, DWORD, or QWORD display * display - BYTE, WORD, DWORD, or QWORD display
* component_iD - Caller's component ID * component_ID - Caller's component ID
* *
* RETURN: None * RETURN: None
* *

View File

@ -91,8 +91,8 @@ const u8 acpi_gbl_ns_properties[ACPI_NUM_NS_TYPES] = {
* *
* FUNCTION: acpi_ut_hex_to_ascii_char * FUNCTION: acpi_ut_hex_to_ascii_char
* *
* PARAMETERS: Integer - Contains the hex digit * PARAMETERS: integer - Contains the hex digit
* Position - bit position of the digit within the * position - bit position of the digit within the
* integer (multiple of 4) * integer (multiple of 4)
* *
* RETURN: The converted Ascii character * RETURN: The converted Ascii character
@ -194,7 +194,7 @@ char *acpi_ut_get_event_name(u32 event_id)
* *
* FUNCTION: acpi_ut_get_type_name * FUNCTION: acpi_ut_get_type_name
* *
* PARAMETERS: Type - An ACPI object type * PARAMETERS: type - An ACPI object type
* *
* RETURN: Decoded ACPI object type name * RETURN: Decoded ACPI object type name
* *
@ -272,7 +272,7 @@ char *acpi_ut_get_object_type_name(union acpi_operand_object *obj_desc)
* *
* FUNCTION: acpi_ut_get_node_name * FUNCTION: acpi_ut_get_node_name
* *
* PARAMETERS: Object - A namespace node * PARAMETERS: object - A namespace node
* *
* RETURN: ASCII name of the node * RETURN: ASCII name of the node
* *
@ -317,7 +317,7 @@ char *acpi_ut_get_node_name(void *object)
* *
* FUNCTION: acpi_ut_get_descriptor_name * FUNCTION: acpi_ut_get_descriptor_name
* *
* PARAMETERS: Object - An ACPI object * PARAMETERS: object - An ACPI object
* *
* RETURN: Decoded name of the descriptor type * RETURN: Decoded name of the descriptor type
* *
@ -367,7 +367,7 @@ char *acpi_ut_get_descriptor_name(void *object)
* *
* FUNCTION: acpi_ut_get_reference_name * FUNCTION: acpi_ut_get_reference_name
* *
* PARAMETERS: Object - An ACPI reference object * PARAMETERS: object - An ACPI reference object
* *
* RETURN: Decoded name of the type of reference * RETURN: Decoded name of the type of reference
* *
@ -498,7 +498,7 @@ const char *acpi_ut_get_notify_name(u32 notify_value)
* *
* FUNCTION: acpi_ut_valid_object_type * FUNCTION: acpi_ut_valid_object_type
* *
* PARAMETERS: Type - Object type to be validated * PARAMETERS: type - Object type to be validated
* *
* RETURN: TRUE if valid object type, FALSE otherwise * RETURN: TRUE if valid object type, FALSE otherwise
* *

View File

@ -60,7 +60,7 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action);
* *
* FUNCTION: acpi_ut_delete_internal_obj * FUNCTION: acpi_ut_delete_internal_obj
* *
* PARAMETERS: Object - Object to be deleted * PARAMETERS: object - Object to be deleted
* *
* RETURN: None * RETURN: None
* *
@ -358,8 +358,8 @@ void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list)
* *
* FUNCTION: acpi_ut_update_ref_count * FUNCTION: acpi_ut_update_ref_count
* *
* PARAMETERS: Object - Object whose ref count is to be updated * PARAMETERS: object - Object whose ref count is to be updated
* Action - What to do * action - What to do
* *
* RETURN: New ref count * RETURN: New ref count
* *
@ -456,9 +456,9 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
* *
* FUNCTION: acpi_ut_update_object_reference * FUNCTION: acpi_ut_update_object_reference
* *
* PARAMETERS: Object - Increment ref count for this object * PARAMETERS: object - Increment ref count for this object
* and all sub-objects * and all sub-objects
* Action - Either REF_INCREMENT or REF_DECREMENT or * action - Either REF_INCREMENT or REF_DECREMENT or
* REF_FORCE_DELETE * REF_FORCE_DELETE
* *
* RETURN: Status * RETURN: Status
@ -640,7 +640,7 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action)
* *
* FUNCTION: acpi_ut_add_reference * FUNCTION: acpi_ut_add_reference
* *
* PARAMETERS: Object - Object whose reference count is to be * PARAMETERS: object - Object whose reference count is to be
* incremented * incremented
* *
* RETURN: None * RETURN: None
@ -674,7 +674,7 @@ void acpi_ut_add_reference(union acpi_operand_object *object)
* *
* FUNCTION: acpi_ut_remove_reference * FUNCTION: acpi_ut_remove_reference
* *
* PARAMETERS: Object - Object whose ref count will be decremented * PARAMETERS: object - Object whose ref count will be decremented
* *
* RETURN: None * RETURN: None
* *

Some files were not shown because too many files have changed in this diff Show More