aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi
diff options
context:
space:
mode:
authorBob Moore <robert.moore@intel.com>2012-07-11 21:40:10 -0400
committerLen Brown <len.brown@intel.com>2012-07-17 00:05:51 -0400
commitba494beeaa69bc0fb01eb89464ad5d57d26e3901 (patch)
tree804996ccb531af38f91853bd9b8055b65cd2ac6b /drivers/acpi
parent75e7386b104b27b1158bf7d13c69d5317f0033ca (diff)
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>
Diffstat (limited to 'drivers/acpi')
-rw-r--r--drivers/acpi/acpica/acevents.h2
-rw-r--r--drivers/acpi/acpica/aclocal.h4
-rw-r--r--drivers/acpi/acpica/acmacros.h2
-rw-r--r--drivers/acpi/acpica/acobject.h2
-rw-r--r--drivers/acpi/acpica/acpredef.h2
-rw-r--r--drivers/acpi/acpica/acstruct.h2
-rw-r--r--drivers/acpi/acpica/amlcode.h4
-rw-r--r--drivers/acpi/acpica/amlresrc.h4
-rw-r--r--drivers/acpi/acpica/dsargs.c2
-rw-r--r--drivers/acpi/acpica/dscontrol.c4
-rw-r--r--drivers/acpi/acpica/dsfield.c30
-rw-r--r--drivers/acpi/acpica/dsinit.c4
-rw-r--r--drivers/acpi/acpica/dsmethod.c6
-rw-r--r--drivers/acpi/acpica/dsmthdat.c32
-rw-r--r--drivers/acpi/acpica/dsobject.c14
-rw-r--r--drivers/acpi/acpica/dsopcode.c12
-rw-r--r--drivers/acpi/acpica/dsutils.c6
-rw-r--r--drivers/acpi/acpica/dswscope.c4
-rw-r--r--drivers/acpi/acpica/dswstate.c20
-rw-r--r--drivers/acpi/acpica/evevent.c2
-rw-r--r--drivers/acpi/acpica/evglock.c4
-rw-r--r--drivers/acpi/acpica/evgpeblk.c2
-rw-r--r--drivers/acpi/acpica/evgpeutil.c2
-rw-r--r--drivers/acpi/acpica/evmisc.c6
-rw-r--r--drivers/acpi/acpica/evregion.c24
-rw-r--r--drivers/acpi/acpica/evrgnini.c28
-rw-r--r--drivers/acpi/acpica/evsci.c4
-rw-r--r--drivers/acpi/acpica/evxface.c30
-rw-r--r--drivers/acpi/acpica/evxfevnt.c8
-rw-r--r--drivers/acpi/acpica/evxfgpe.c6
-rw-r--r--drivers/acpi/acpica/evxfregn.c18
-rw-r--r--drivers/acpi/acpica/exconfig.c8
-rw-r--r--drivers/acpi/acpica/exconvrt.c10
-rw-r--r--drivers/acpi/acpica/excreate.c2
-rw-r--r--drivers/acpi/acpica/exdebug.c4
-rw-r--r--drivers/acpi/acpica/exdump.c22
-rw-r--r--drivers/acpi/acpica/exfldio.c14
-rw-r--r--drivers/acpi/acpica/exmisc.c26
-rw-r--r--drivers/acpi/acpica/exmutex.c6
-rw-r--r--drivers/acpi/acpica/exprep.c2
-rw-r--r--drivers/acpi/acpica/exregion.c38
-rw-r--r--drivers/acpi/acpica/exresolv.c2
-rw-r--r--drivers/acpi/acpica/exresop.c10
-rw-r--r--drivers/acpi/acpica/exstore.c2
-rw-r--r--drivers/acpi/acpica/exstorob.c2
-rw-r--r--drivers/acpi/acpica/exsystem.c8
-rw-r--r--drivers/acpi/acpica/exutils.c8
-rw-r--r--drivers/acpi/acpica/hwacpi.c2
-rw-r--r--drivers/acpi/acpica/hwesleep.c6
-rw-r--r--drivers/acpi/acpica/hwregs.c22
-rw-r--r--drivers/acpi/acpica/hwsleep.c6
-rw-r--r--drivers/acpi/acpica/hwtimer.c4
-rw-r--r--drivers/acpi/acpica/hwvalid.c4
-rw-r--r--drivers/acpi/acpica/hwxface.c12
-rw-r--r--drivers/acpi/acpica/hwxfsleep.c6
-rw-r--r--drivers/acpi/acpica/nsaccess.c8
-rw-r--r--drivers/acpi/acpica/nsalloc.c10
-rw-r--r--drivers/acpi/acpica/nsdump.c18
-rw-r--r--drivers/acpi/acpica/nsdumpdv.c6
-rw-r--r--drivers/acpi/acpica/nseval.c10
-rw-r--r--drivers/acpi/acpica/nsinit.c6
-rw-r--r--drivers/acpi/acpica/nsload.c4
-rw-r--r--drivers/acpi/acpica/nsnames.c10
-rw-r--r--drivers/acpi/acpica/nsobject.c28
-rw-r--r--drivers/acpi/acpica/nspredef.c38
-rw-r--r--drivers/acpi/acpica/nsrepair.c14
-rw-r--r--drivers/acpi/acpica/nsrepair2.c26
-rw-r--r--drivers/acpi/acpica/nssearch.c12
-rw-r--r--drivers/acpi/acpica/nsutils.c26
-rw-r--r--drivers/acpi/acpica/nswalk.c8
-rw-r--r--drivers/acpi/acpica/nsxfeval.c26
-rw-r--r--drivers/acpi/acpica/nsxfname.c16
-rw-r--r--drivers/acpi/acpica/nsxfobj.c8
-rw-r--r--drivers/acpi/acpica/psargs.c4
-rw-r--r--drivers/acpi/acpica/psloop.c16
-rw-r--r--drivers/acpi/acpica/psopcode.c4
-rw-r--r--drivers/acpi/acpica/psparse.c6
-rw-r--r--drivers/acpi/acpica/psscope.c6
-rw-r--r--drivers/acpi/acpica/pstree.c14
-rw-r--r--drivers/acpi/acpica/psutils.c8
-rw-r--r--drivers/acpi/acpica/psxface.c16
-rw-r--r--drivers/acpi/acpica/rsaddr.c14
-rw-r--r--drivers/acpi/acpica/rscalc.c2
-rw-r--r--drivers/acpi/acpica/rsdump.c10
-rw-r--r--drivers/acpi/acpica/rslist.c2
-rw-r--r--drivers/acpi/acpica/rsmisc.c22
-rw-r--r--drivers/acpi/acpica/rsutils.c44
-rw-r--r--drivers/acpi/acpica/rsxface.c14
-rw-r--r--drivers/acpi/acpica/tbfadt.c10
-rw-r--r--drivers/acpi/acpica/tbfind.c2
-rw-r--r--drivers/acpi/acpica/tbinstal.c8
-rw-r--r--drivers/acpi/acpica/tbutils.c24
-rw-r--r--drivers/acpi/acpica/tbxface.c18
-rw-r--r--drivers/acpi/acpica/tbxfroot.c10
-rw-r--r--drivers/acpi/acpica/utaddress.c10
-rw-r--r--drivers/acpi/acpica/utalloc.c20
-rw-r--r--drivers/acpi/acpica/utcopy.c2
-rw-r--r--drivers/acpi/acpica/utdebug.c32
-rw-r--r--drivers/acpi/acpica/utdecode.c14
-rw-r--r--drivers/acpi/acpica/utdelete.c14
-rw-r--r--drivers/acpi/acpica/uteval.c6
-rw-r--r--drivers/acpi/acpica/utglobal.c2
-rw-r--r--drivers/acpi/acpica/utids.c2
-rw-r--r--drivers/acpi/acpica/utlock.c6
-rw-r--r--drivers/acpi/acpica/utmath.c4
-rw-r--r--drivers/acpi/acpica/utmisc.c38
-rw-r--r--drivers/acpi/acpica/utmutex.c8
-rw-r--r--drivers/acpi/acpica/utobject.c8
-rw-r--r--drivers/acpi/acpica/utosi.c2
-rw-r--r--drivers/acpi/acpica/utresrc.c34
-rw-r--r--drivers/acpi/acpica/utstate.c16
-rw-r--r--drivers/acpi/acpica/utxface.c18
-rw-r--r--drivers/acpi/acpica/utxferror.c22
-rw-r--r--drivers/acpi/acpica/utxfmutex.c14
-rw-r--r--drivers/acpi/processor_idle.c12
115 files changed, 664 insertions, 664 deletions
diff --git a/drivers/acpi/acpica/acevents.h b/drivers/acpi/acpica/acevents.h
index d700f63e4701..c0a43b38c6a3 100644
--- a/drivers/acpi/acpica/acevents.h
+++ b/drivers/acpi/acpica/acevents.h
@@ -237,7 +237,7 @@ u32 acpi_ev_install_sci_handler(void);
237 237
238acpi_status acpi_ev_remove_sci_handler(void); 238acpi_status acpi_ev_remove_sci_handler(void);
239 239
240u32 acpi_ev_initialize_sCI(u32 program_sCI); 240u32 acpi_ev_initialize_SCI(u32 program_SCI);
241 241
242ACPI_HW_DEPENDENT_RETURN_VOID(void acpi_ev_terminate(void)) 242ACPI_HW_DEPENDENT_RETURN_VOID(void acpi_ev_terminate(void))
243#endif /* __ACEVENTS_H__ */ 243#endif /* __ACEVENTS_H__ */
diff --git a/drivers/acpi/acpica/aclocal.h b/drivers/acpi/acpica/aclocal.h
index 6b225e810f3a..cc80fe10e8ea 100644
--- a/drivers/acpi/acpica/aclocal.h
+++ b/drivers/acpi/acpica/aclocal.h
@@ -299,7 +299,7 @@ acpi_status(*ACPI_INTERNAL_METHOD) (struct acpi_walk_state * walk_state);
299 * Information structure for ACPI predefined names. 299 * Information structure for ACPI predefined names.
300 * Each entry in the table contains the following items: 300 * Each entry in the table contains the following items:
301 * 301 *
302 * Name - The ACPI reserved name 302 * name - The ACPI reserved name
303 * param_count - Number of arguments to the method 303 * param_count - Number of arguments to the method
304 * expected_return_btypes - Allowed type(s) for the return value 304 * expected_return_btypes - Allowed type(s) for the return value
305 */ 305 */
@@ -734,7 +734,7 @@ struct acpi_parse_obj_named {
734 u32 name; /* 4-byte name or zero if no name */ 734 u32 name; /* 4-byte name or zero if no name */
735}; 735};
736 736
737/* This version is used by the i_aSL compiler only */ 737/* This version is used by the iASL compiler only */
738 738
739#define ACPI_MAX_PARSEOP_NAME 20 739#define ACPI_MAX_PARSEOP_NAME 20
740 740
diff --git a/drivers/acpi/acpica/acmacros.h b/drivers/acpi/acpica/acmacros.h
index 087b466c8ce0..832b6198652e 100644
--- a/drivers/acpi/acpica/acmacros.h
+++ b/drivers/acpi/acpica/acmacros.h
@@ -62,7 +62,7 @@
62 * printf() format helpers 62 * printf() format helpers
63 */ 63 */
64 64
65/* Split 64-bit integer into two 32-bit values. Use with %8.8_x%8.8_x */ 65/* Split 64-bit integer into two 32-bit values. Use with %8.8X%8.8X */
66 66
67#define ACPI_FORMAT_UINT64(i) ACPI_HIDWORD(i), ACPI_LODWORD(i) 67#define ACPI_FORMAT_UINT64(i) ACPI_HIDWORD(i), ACPI_LODWORD(i)
68 68
diff --git a/drivers/acpi/acpica/acobject.h b/drivers/acpi/acpica/acobject.h
index b85802d9b247..364a1303fb8f 100644
--- a/drivers/acpi/acpica/acobject.h
+++ b/drivers/acpi/acpica/acobject.h
@@ -381,7 +381,7 @@ struct acpi_object_cache_list {
381 381
382/****************************************************************************** 382/******************************************************************************
383 * 383 *
384 * union acpi_operand_object Descriptor - a giant union of all of the above 384 * union acpi_operand_object descriptor - a giant union of all of the above
385 * 385 *
386 *****************************************************************************/ 386 *****************************************************************************/
387 387
diff --git a/drivers/acpi/acpica/acpredef.h b/drivers/acpi/acpica/acpredef.h
index c8e5756e1ac6..3080c017f5ba 100644
--- a/drivers/acpi/acpica/acpredef.h
+++ b/drivers/acpi/acpica/acpredef.h
@@ -140,7 +140,7 @@ enum acpi_return_package_types {
140 * 140 *
141 * The main entries in the table each contain the following items: 141 * The main entries in the table each contain the following items:
142 * 142 *
143 * Name - The ACPI reserved name 143 * name - The ACPI reserved name
144 * param_count - Number of arguments to the method 144 * param_count - Number of arguments to the method
145 * expected_btypes - Allowed type(s) for the return value. 145 * expected_btypes - Allowed type(s) for the return value.
146 * 0 means that no return value is expected. 146 * 0 means that no return value is expected.
diff --git a/drivers/acpi/acpica/acstruct.h b/drivers/acpi/acpica/acstruct.h
index 0404df605bc1..f196e2c9a71f 100644
--- a/drivers/acpi/acpica/acstruct.h
+++ b/drivers/acpi/acpica/acstruct.h
@@ -68,7 +68,7 @@
68#define ACPI_WALK_METHOD 0x01 68#define ACPI_WALK_METHOD 0x01
69#define ACPI_WALK_METHOD_RESTART 0x02 69#define ACPI_WALK_METHOD_RESTART 0x02
70 70
71/* Flags for i_aSL compiler only */ 71/* Flags for iASL compiler only */
72 72
73#define ACPI_WALK_CONST_REQUIRED 0x10 73#define ACPI_WALK_CONST_REQUIRED 0x10
74#define ACPI_WALK_CONST_OPTIONAL 0x20 74#define ACPI_WALK_CONST_OPTIONAL 0x20
diff --git a/drivers/acpi/acpica/amlcode.h b/drivers/acpi/acpica/amlcode.h
index 905280fec0fa..c26f8ff6c3b9 100644
--- a/drivers/acpi/acpica/amlcode.h
+++ b/drivers/acpi/acpica/amlcode.h
@@ -182,7 +182,7 @@
182 182
183/* 183/*
184 * Combination opcodes (actually two one-byte opcodes) 184 * Combination opcodes (actually two one-byte opcodes)
185 * Used by the disassembler and i_aSL compiler 185 * Used by the disassembler and iASL compiler
186 */ 186 */
187#define AML_LGREATEREQUAL_OP (u16) 0x9295 187#define AML_LGREATEREQUAL_OP (u16) 0x9295
188#define AML_LLESSEQUAL_OP (u16) 0x9294 188#define AML_LLESSEQUAL_OP (u16) 0x9294
@@ -280,7 +280,7 @@
280 280
281/* Multiple/complex types */ 281/* Multiple/complex types */
282 282
283#define ARGI_DATAOBJECT 0x12 /* Buffer, String, package or reference to a Node - Used only by size_of operator */ 283#define ARGI_DATAOBJECT 0x12 /* Buffer, String, package or reference to a node - Used only by size_of operator */
284#define ARGI_COMPLEXOBJ 0x13 /* Buffer, String, or package (Used by INDEX op only) */ 284#define ARGI_COMPLEXOBJ 0x13 /* Buffer, String, or package (Used by INDEX op only) */
285#define ARGI_REF_OR_STRING 0x14 /* Reference or String (Used by DEREFOF op only) */ 285#define ARGI_REF_OR_STRING 0x14 /* Reference or String (Used by DEREFOF op only) */
286#define ARGI_REGION_OR_BUFFER 0x15 /* Used by LOAD op only */ 286#define ARGI_REGION_OR_BUFFER 0x15 /* Used by LOAD op only */
diff --git a/drivers/acpi/acpica/amlresrc.h b/drivers/acpi/acpica/amlresrc.h
index 7b2128f274e7..af4947956ec2 100644
--- a/drivers/acpi/acpica/amlresrc.h
+++ b/drivers/acpi/acpica/amlresrc.h
@@ -98,7 +98,7 @@
98#define ACPI_RESTAG_TRANSLATION "_TRA" 98#define ACPI_RESTAG_TRANSLATION "_TRA"
99#define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */ 99#define ACPI_RESTAG_TRANSTYPE "_TRS" /* Sparse(1), Dense(0) */
100#define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */ 100#define ACPI_RESTAG_TYPE "_TTP" /* Translation(1), Static (0) */
101#define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8_and16(1), 16(2) */ 101#define ACPI_RESTAG_XFERTYPE "_SIZ" /* 8(0), 8And16(1), 16(2) */
102#define ACPI_RESTAG_VENDORDATA "_VEN" 102#define ACPI_RESTAG_VENDORDATA "_VEN"
103 103
104/* Default sizes for "small" resource descriptors */ 104/* Default sizes for "small" resource descriptors */
@@ -235,7 +235,7 @@ AML_RESOURCE_LARGE_HEADER_COMMON AML_RESOURCE_ADDRESS_COMMON};
235 235
236struct aml_resource_extended_address64 { 236struct aml_resource_extended_address64 {
237 AML_RESOURCE_LARGE_HEADER_COMMON 237 AML_RESOURCE_LARGE_HEADER_COMMON
238 AML_RESOURCE_ADDRESS_COMMON u8 revision_iD; 238 AML_RESOURCE_ADDRESS_COMMON u8 revision_ID;
239 u8 reserved; 239 u8 reserved;
240 u64 granularity; 240 u64 granularity;
241 u64 minimum; 241 u64 minimum;
diff --git a/drivers/acpi/acpica/dsargs.c b/drivers/acpi/acpica/dsargs.c
index 80eb1900297f..c8b5e2565b98 100644
--- a/drivers/acpi/acpica/dsargs.c
+++ b/drivers/acpi/acpica/dsargs.c
@@ -62,7 +62,7 @@ acpi_ds_execute_arguments(struct acpi_namespace_node *node,
62 * 62 *
63 * FUNCTION: acpi_ds_execute_arguments 63 * FUNCTION: acpi_ds_execute_arguments
64 * 64 *
65 * PARAMETERS: Node - Object NS node 65 * PARAMETERS: node - Object NS node
66 * scope_node - Parent NS node 66 * scope_node - Parent NS node
67 * aml_length - Length of executable AML 67 * aml_length - Length of executable AML
68 * aml_start - Pointer to the AML 68 * aml_start - Pointer to the AML
diff --git a/drivers/acpi/acpica/dscontrol.c b/drivers/acpi/acpica/dscontrol.c
index effe4ca1133f..465f02134b89 100644
--- a/drivers/acpi/acpica/dscontrol.c
+++ b/drivers/acpi/acpica/dscontrol.c
@@ -56,7 +56,7 @@ ACPI_MODULE_NAME("dscontrol")
56 * FUNCTION: acpi_ds_exec_begin_control_op 56 * FUNCTION: acpi_ds_exec_begin_control_op
57 * 57 *
58 * PARAMETERS: walk_list - The list that owns the walk stack 58 * PARAMETERS: walk_list - The list that owns the walk stack
59 * Op - The control Op 59 * op - The control Op
60 * 60 *
61 * RETURN: Status 61 * RETURN: Status
62 * 62 *
@@ -153,7 +153,7 @@ acpi_ds_exec_begin_control_op(struct acpi_walk_state *walk_state,
153 * FUNCTION: acpi_ds_exec_end_control_op 153 * FUNCTION: acpi_ds_exec_end_control_op
154 * 154 *
155 * PARAMETERS: walk_list - The list that owns the walk stack 155 * PARAMETERS: walk_list - The list that owns the walk stack
156 * Op - The control Op 156 * op - The control Op
157 * 157 *
158 * RETURN: Status 158 * RETURN: Status
159 * 159 *
diff --git a/drivers/acpi/acpica/dsfield.c b/drivers/acpi/acpica/dsfield.c
index 809843923d64..3da6fd8530c5 100644
--- a/drivers/acpi/acpica/dsfield.c
+++ b/drivers/acpi/acpica/dsfield.c
@@ -71,13 +71,13 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
71#ifdef ACPI_ASL_COMPILER 71#ifdef ACPI_ASL_COMPILER
72/******************************************************************************* 72/*******************************************************************************
73 * 73 *
74 * FUNCTION: acpi_ds_create_external_region (i_aSL Disassembler only) 74 * FUNCTION: acpi_ds_create_external_region (iASL Disassembler only)
75 * 75 *
76 * PARAMETERS: lookup_status - Status from ns_lookup operation 76 * PARAMETERS: lookup_status - Status from ns_lookup operation
77 * Op - Op containing the Field definition and args 77 * op - Op containing the Field definition and args
78 * Path - Pathname of the region 78 * path - Pathname of the region
79 * ` walk_state - Current method state 79 * ` walk_state - Current method state
80 * Node - Where the new region node is returned 80 * node - Where the new region node is returned
81 * 81 *
82 * RETURN: Status 82 * RETURN: Status
83 * 83 *
@@ -130,7 +130,7 @@ acpi_ds_create_external_region(acpi_status lookup_status,
130 * 130 *
131 * FUNCTION: acpi_ds_create_buffer_field 131 * FUNCTION: acpi_ds_create_buffer_field
132 * 132 *
133 * PARAMETERS: Op - Current parse op (create_xXField) 133 * PARAMETERS: op - Current parse op (create_XXField)
134 * walk_state - Current state 134 * walk_state - Current state
135 * 135 *
136 * RETURN: Status 136 * RETURN: Status
@@ -167,7 +167,7 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
167 167
168 arg = acpi_ps_get_arg(op, 3); 168 arg = acpi_ps_get_arg(op, 3);
169 } else { 169 } else {
170 /* For all other create_xXXField operators, name is the 3rd argument */ 170 /* For all other create_XXXField operators, name is the 3rd argument */
171 171
172 arg = acpi_ps_get_arg(op, 2); 172 arg = acpi_ps_get_arg(op, 2);
173 } 173 }
@@ -271,9 +271,9 @@ acpi_ds_create_buffer_field(union acpi_parse_object *op,
271 * 271 *
272 * FUNCTION: acpi_ds_get_field_names 272 * FUNCTION: acpi_ds_get_field_names
273 * 273 *
274 * PARAMETERS: Info - create_field info structure 274 * PARAMETERS: info - create_field info structure
275 * ` walk_state - Current method state 275 * ` walk_state - Current method state
276 * Arg - First parser arg for the field name list 276 * arg - First parser arg for the field name list
277 * 277 *
278 * RETURN: Status 278 * RETURN: Status
279 * 279 *
@@ -302,10 +302,10 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
302 while (arg) { 302 while (arg) {
303 /* 303 /*
304 * Four types of field elements are handled: 304 * Four types of field elements are handled:
305 * 1) Name - Enters a new named field into the namespace 305 * 1) name - Enters a new named field into the namespace
306 * 2) Offset - specifies a bit offset 306 * 2) offset - specifies a bit offset
307 * 3) access_as - changes the access mode/attributes 307 * 3) access_as - changes the access mode/attributes
308 * 4) Connection - Associate a resource template with the field 308 * 4) connection - Associate a resource template with the field
309 */ 309 */
310 switch (arg->common.aml_opcode) { 310 switch (arg->common.aml_opcode) {
311 case AML_INT_RESERVEDFIELD_OP: 311 case AML_INT_RESERVEDFIELD_OP:
@@ -457,7 +457,7 @@ acpi_ds_get_field_names(struct acpi_create_field_info *info,
457 * 457 *
458 * FUNCTION: acpi_ds_create_field 458 * FUNCTION: acpi_ds_create_field
459 * 459 *
460 * PARAMETERS: Op - Op containing the Field definition and args 460 * PARAMETERS: op - Op containing the Field definition and args
461 * region_node - Object for the containing Operation Region 461 * region_node - Object for the containing Operation Region
462 * ` walk_state - Current method state 462 * ` walk_state - Current method state
463 * 463 *
@@ -521,7 +521,7 @@ acpi_ds_create_field(union acpi_parse_object *op,
521 * 521 *
522 * FUNCTION: acpi_ds_init_field_objects 522 * FUNCTION: acpi_ds_init_field_objects
523 * 523 *
524 * PARAMETERS: Op - Op containing the Field definition and args 524 * PARAMETERS: op - Op containing the Field definition and args
525 * ` walk_state - Current method state 525 * ` walk_state - Current method state
526 * 526 *
527 * RETURN: Status 527 * RETURN: Status
@@ -636,7 +636,7 @@ acpi_ds_init_field_objects(union acpi_parse_object *op,
636 * 636 *
637 * FUNCTION: acpi_ds_create_bank_field 637 * FUNCTION: acpi_ds_create_bank_field
638 * 638 *
639 * PARAMETERS: Op - Op containing the Field definition and args 639 * PARAMETERS: op - Op containing the Field definition and args
640 * region_node - Object for the containing Operation Region 640 * region_node - Object for the containing Operation Region
641 * walk_state - Current method state 641 * walk_state - Current method state
642 * 642 *
@@ -726,7 +726,7 @@ acpi_ds_create_bank_field(union acpi_parse_object *op,
726 * 726 *
727 * FUNCTION: acpi_ds_create_index_field 727 * FUNCTION: acpi_ds_create_index_field
728 * 728 *
729 * PARAMETERS: Op - Op containing the Field definition and args 729 * PARAMETERS: op - Op containing the Field definition and args
730 * region_node - Object for the containing Operation Region 730 * region_node - Object for the containing Operation Region
731 * ` walk_state - Current method state 731 * ` walk_state - Current method state
732 * 732 *
diff --git a/drivers/acpi/acpica/dsinit.c b/drivers/acpi/acpica/dsinit.c
index 9e5ac7f780a7..87eff701ecfa 100644
--- a/drivers/acpi/acpica/dsinit.c
+++ b/drivers/acpi/acpica/dsinit.c
@@ -60,8 +60,8 @@ acpi_ds_init_one_object(acpi_handle obj_handle,
60 * FUNCTION: acpi_ds_init_one_object 60 * FUNCTION: acpi_ds_init_one_object
61 * 61 *
62 * PARAMETERS: obj_handle - Node for the object 62 * PARAMETERS: obj_handle - Node for the object
63 * Level - Current nesting level 63 * level - Current nesting level
64 * Context - Points to a init info struct 64 * context - Points to a init info struct
65 * return_value - Not used 65 * return_value - Not used
66 * 66 *
67 * RETURN: Status 67 * RETURN: Status
diff --git a/drivers/acpi/acpica/dsmethod.c b/drivers/acpi/acpica/dsmethod.c
index 00f5dab5bcc0..aa9a5d4e4052 100644
--- a/drivers/acpi/acpica/dsmethod.c
+++ b/drivers/acpi/acpica/dsmethod.c
@@ -61,7 +61,7 @@ acpi_ds_create_method_mutex(union acpi_operand_object *method_desc);
61 * 61 *
62 * FUNCTION: acpi_ds_method_error 62 * FUNCTION: acpi_ds_method_error
63 * 63 *
64 * PARAMETERS: Status - Execution status 64 * PARAMETERS: status - Execution status
65 * walk_state - Current state 65 * walk_state - Current state
66 * 66 *
67 * RETURN: Status 67 * RETURN: Status
@@ -306,9 +306,9 @@ acpi_ds_begin_method_execution(struct acpi_namespace_node *method_node,
306 * 306 *
307 * FUNCTION: acpi_ds_call_control_method 307 * FUNCTION: acpi_ds_call_control_method
308 * 308 *
309 * PARAMETERS: Thread - Info for this thread 309 * PARAMETERS: thread - Info for this thread
310 * this_walk_state - Current walk state 310 * this_walk_state - Current walk state
311 * Op - Current Op to be walked 311 * op - Current Op to be walked
312 * 312 *
313 * RETURN: Status 313 * RETURN: Status
314 * 314 *
diff --git a/drivers/acpi/acpica/dsmthdat.c b/drivers/acpi/acpica/dsmthdat.c
index b40bd507be5d..8d55cebaa656 100644
--- a/drivers/acpi/acpica/dsmthdat.c
+++ b/drivers/acpi/acpica/dsmthdat.c
@@ -177,7 +177,7 @@ void acpi_ds_method_data_delete_all(struct acpi_walk_state *walk_state)
177 * 177 *
178 * FUNCTION: acpi_ds_method_data_init_args 178 * FUNCTION: acpi_ds_method_data_init_args
179 * 179 *
180 * PARAMETERS: *Params - Pointer to a parameter list for the method 180 * PARAMETERS: *params - Pointer to a parameter list for the method
181 * max_param_count - The arg count for this method 181 * max_param_count - The arg count for this method
182 * walk_state - Current walk state object 182 * walk_state - Current walk state object
183 * 183 *
@@ -232,11 +232,11 @@ acpi_ds_method_data_init_args(union acpi_operand_object **params,
232 * 232 *
233 * FUNCTION: acpi_ds_method_data_get_node 233 * FUNCTION: acpi_ds_method_data_get_node
234 * 234 *
235 * PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or 235 * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
236 * ACPI_REFCLASS_ARG 236 * ACPI_REFCLASS_ARG
237 * Index - Which Local or Arg whose type to get 237 * index - Which Local or Arg whose type to get
238 * walk_state - Current walk state object 238 * walk_state - Current walk state object
239 * Node - Where the node is returned. 239 * node - Where the node is returned.
240 * 240 *
241 * RETURN: Status and node 241 * RETURN: Status and node
242 * 242 *
@@ -296,10 +296,10 @@ acpi_ds_method_data_get_node(u8 type,
296 * 296 *
297 * FUNCTION: acpi_ds_method_data_set_value 297 * FUNCTION: acpi_ds_method_data_set_value
298 * 298 *
299 * PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or 299 * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
300 * ACPI_REFCLASS_ARG 300 * ACPI_REFCLASS_ARG
301 * Index - Which Local or Arg to get 301 * index - Which Local or Arg to get
302 * Object - Object to be inserted into the stack entry 302 * object - Object to be inserted into the stack entry
303 * walk_state - Current walk state object 303 * walk_state - Current walk state object
304 * 304 *
305 * RETURN: Status 305 * RETURN: Status
@@ -336,7 +336,7 @@ acpi_ds_method_data_set_value(u8 type,
336 * Increment ref count so object can't be deleted while installed. 336 * Increment ref count so object can't be deleted while installed.
337 * NOTE: We do not copy the object in order to preserve the call by 337 * NOTE: We do not copy the object in order to preserve the call by
338 * reference semantics of ACPI Control Method invocation. 338 * reference semantics of ACPI Control Method invocation.
339 * (See ACPI Specification 2.0_c) 339 * (See ACPI Specification 2.0C)
340 */ 340 */
341 acpi_ut_add_reference(object); 341 acpi_ut_add_reference(object);
342 342
@@ -350,9 +350,9 @@ acpi_ds_method_data_set_value(u8 type,
350 * 350 *
351 * FUNCTION: acpi_ds_method_data_get_value 351 * FUNCTION: acpi_ds_method_data_get_value
352 * 352 *
353 * PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or 353 * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
354 * ACPI_REFCLASS_ARG 354 * ACPI_REFCLASS_ARG
355 * Index - Which local_var or argument to get 355 * index - Which localVar or argument to get
356 * walk_state - Current walk state object 356 * walk_state - Current walk state object
357 * dest_desc - Where Arg or Local value is returned 357 * dest_desc - Where Arg or Local value is returned
358 * 358 *
@@ -458,9 +458,9 @@ acpi_ds_method_data_get_value(u8 type,
458 * 458 *
459 * FUNCTION: acpi_ds_method_data_delete_value 459 * FUNCTION: acpi_ds_method_data_delete_value
460 * 460 *
461 * PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or 461 * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
462 * ACPI_REFCLASS_ARG 462 * ACPI_REFCLASS_ARG
463 * Index - Which local_var or argument to delete 463 * index - Which localVar or argument to delete
464 * walk_state - Current walk state object 464 * walk_state - Current walk state object
465 * 465 *
466 * RETURN: None 466 * RETURN: None
@@ -515,9 +515,9 @@ acpi_ds_method_data_delete_value(u8 type,
515 * 515 *
516 * FUNCTION: acpi_ds_store_object_to_local 516 * FUNCTION: acpi_ds_store_object_to_local
517 * 517 *
518 * PARAMETERS: Type - Either ACPI_REFCLASS_LOCAL or 518 * PARAMETERS: type - Either ACPI_REFCLASS_LOCAL or
519 * ACPI_REFCLASS_ARG 519 * ACPI_REFCLASS_ARG
520 * Index - Which Local or Arg to set 520 * index - Which Local or Arg to set
521 * obj_desc - Value to be stored 521 * obj_desc - Value to be stored
522 * walk_state - Current walk state 522 * walk_state - Current walk state
523 * 523 *
@@ -670,8 +670,8 @@ acpi_ds_store_object_to_local(u8 type,
670 * 670 *
671 * FUNCTION: acpi_ds_method_data_get_type 671 * FUNCTION: acpi_ds_method_data_get_type
672 * 672 *
673 * PARAMETERS: Opcode - Either AML_LOCAL_OP or AML_ARG_OP 673 * PARAMETERS: opcode - Either AML_LOCAL_OP or AML_ARG_OP
674 * Index - Which Local or Arg whose type to get 674 * index - Which Local or Arg whose type to get
675 * walk_state - Current walk state object 675 * walk_state - Current walk state object
676 * 676 *
677 * RETURN: Data type of current value of the selected Arg or Local 677 * RETURN: Data type of current value of the selected Arg or Local
diff --git a/drivers/acpi/acpica/dsobject.c b/drivers/acpi/acpica/dsobject.c
index d7045ca3e32a..68592dd34960 100644
--- a/drivers/acpi/acpica/dsobject.c
+++ b/drivers/acpi/acpica/dsobject.c
@@ -64,7 +64,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
64 * FUNCTION: acpi_ds_build_internal_object 64 * FUNCTION: acpi_ds_build_internal_object
65 * 65 *
66 * PARAMETERS: walk_state - Current walk state 66 * PARAMETERS: walk_state - Current walk state
67 * Op - Parser object to be translated 67 * op - Parser object to be translated
68 * obj_desc_ptr - Where the ACPI internal object is returned 68 * obj_desc_ptr - Where the ACPI internal object is returned
69 * 69 *
70 * RETURN: Status 70 * RETURN: Status
@@ -250,7 +250,7 @@ acpi_ds_build_internal_object(struct acpi_walk_state *walk_state,
250 * FUNCTION: acpi_ds_build_internal_buffer_obj 250 * FUNCTION: acpi_ds_build_internal_buffer_obj
251 * 251 *
252 * PARAMETERS: walk_state - Current walk state 252 * PARAMETERS: walk_state - Current walk state
253 * Op - Parser object to be translated 253 * op - Parser object to be translated
254 * buffer_length - Length of the buffer 254 * buffer_length - Length of the buffer
255 * obj_desc_ptr - Where the ACPI internal object is returned 255 * obj_desc_ptr - Where the ACPI internal object is returned
256 * 256 *
@@ -354,7 +354,7 @@ acpi_ds_build_internal_buffer_obj(struct acpi_walk_state *walk_state,
354 * FUNCTION: acpi_ds_build_internal_package_obj 354 * FUNCTION: acpi_ds_build_internal_package_obj
355 * 355 *
356 * PARAMETERS: walk_state - Current walk state 356 * PARAMETERS: walk_state - Current walk state
357 * Op - Parser object to be translated 357 * op - Parser object to be translated
358 * element_count - Number of elements in the package - this is 358 * element_count - Number of elements in the package - this is
359 * the num_elements argument to Package() 359 * the num_elements argument to Package()
360 * obj_desc_ptr - Where the ACPI internal object is returned 360 * 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,
547 * FUNCTION: acpi_ds_create_node 547 * FUNCTION: acpi_ds_create_node
548 * 548 *
549 * PARAMETERS: walk_state - Current walk state 549 * PARAMETERS: walk_state - Current walk state
550 * Node - NS Node to be initialized 550 * node - NS Node to be initialized
551 * Op - Parser object to be translated 551 * op - Parser object to be translated
552 * 552 *
553 * RETURN: Status 553 * RETURN: Status
554 * 554 *
@@ -611,8 +611,8 @@ acpi_ds_create_node(struct acpi_walk_state *walk_state,
611 * FUNCTION: acpi_ds_init_object_from_op 611 * FUNCTION: acpi_ds_init_object_from_op
612 * 612 *
613 * PARAMETERS: walk_state - Current walk state 613 * PARAMETERS: walk_state - Current walk state
614 * Op - Parser op used to init the internal object 614 * op - Parser op used to init the internal object
615 * Opcode - AML opcode associated with the object 615 * opcode - AML opcode associated with the object
616 * ret_obj_desc - Namespace object to be initialized 616 * ret_obj_desc - Namespace object to be initialized
617 * 617 *
618 * RETURN: Status 618 * RETURN: Status
diff --git a/drivers/acpi/acpica/dsopcode.c b/drivers/acpi/acpica/dsopcode.c
index e5eff7585102..aa34d8984d34 100644
--- a/drivers/acpi/acpica/dsopcode.c
+++ b/drivers/acpi/acpica/dsopcode.c
@@ -286,7 +286,7 @@ acpi_ds_init_buffer_field(u16 aml_opcode,
286 * FUNCTION: acpi_ds_eval_buffer_field_operands 286 * FUNCTION: acpi_ds_eval_buffer_field_operands
287 * 287 *
288 * PARAMETERS: walk_state - Current walk 288 * PARAMETERS: walk_state - Current walk
289 * Op - A valid buffer_field Op object 289 * op - A valid buffer_field Op object
290 * 290 *
291 * RETURN: Status 291 * RETURN: Status
292 * 292 *
@@ -370,7 +370,7 @@ acpi_ds_eval_buffer_field_operands(struct acpi_walk_state *walk_state,
370 * FUNCTION: acpi_ds_eval_region_operands 370 * FUNCTION: acpi_ds_eval_region_operands
371 * 371 *
372 * PARAMETERS: walk_state - Current walk 372 * PARAMETERS: walk_state - Current walk
373 * Op - A valid region Op object 373 * op - A valid region Op object
374 * 374 *
375 * RETURN: Status 375 * RETURN: Status
376 * 376 *
@@ -397,7 +397,7 @@ acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state,
397 */ 397 */
398 node = op->common.node; 398 node = op->common.node;
399 399
400 /* next_op points to the op that holds the space_iD */ 400 /* next_op points to the op that holds the space_ID */
401 401
402 next_op = op->common.value.arg; 402 next_op = op->common.value.arg;
403 403
@@ -461,7 +461,7 @@ acpi_ds_eval_region_operands(struct acpi_walk_state *walk_state,
461 * FUNCTION: acpi_ds_eval_table_region_operands 461 * FUNCTION: acpi_ds_eval_table_region_operands
462 * 462 *
463 * PARAMETERS: walk_state - Current walk 463 * PARAMETERS: walk_state - Current walk
464 * Op - A valid region Op object 464 * op - A valid region Op object
465 * 465 *
466 * RETURN: Status 466 * RETURN: Status
467 * 467 *
@@ -560,7 +560,7 @@ acpi_ds_eval_table_region_operands(struct acpi_walk_state *walk_state,
560 * FUNCTION: acpi_ds_eval_data_object_operands 560 * FUNCTION: acpi_ds_eval_data_object_operands
561 * 561 *
562 * PARAMETERS: walk_state - Current walk 562 * PARAMETERS: walk_state - Current walk
563 * Op - A valid data_object Op object 563 * op - A valid data_object Op object
564 * obj_desc - data_object 564 * obj_desc - data_object
565 * 565 *
566 * RETURN: Status 566 * RETURN: Status
@@ -662,7 +662,7 @@ acpi_ds_eval_data_object_operands(struct acpi_walk_state *walk_state,
662 * FUNCTION: acpi_ds_eval_bank_field_operands 662 * FUNCTION: acpi_ds_eval_bank_field_operands
663 * 663 *
664 * PARAMETERS: walk_state - Current walk 664 * PARAMETERS: walk_state - Current walk
665 * Op - A valid bank_field Op object 665 * op - A valid bank_field Op object
666 * 666 *
667 * RETURN: Status 667 * RETURN: Status
668 * 668 *
diff --git a/drivers/acpi/acpica/dsutils.c b/drivers/acpi/acpica/dsutils.c
index 1abcda31037f..73a5447475f5 100644
--- a/drivers/acpi/acpica/dsutils.c
+++ b/drivers/acpi/acpica/dsutils.c
@@ -157,7 +157,7 @@ acpi_ds_do_implicit_return(union acpi_operand_object *return_desc,
157 * 157 *
158 * FUNCTION: acpi_ds_is_result_used 158 * FUNCTION: acpi_ds_is_result_used
159 * 159 *
160 * PARAMETERS: Op - Current Op 160 * PARAMETERS: op - Current Op
161 * walk_state - Current State 161 * walk_state - Current State
162 * 162 *
163 * RETURN: TRUE if result is used, FALSE otherwise 163 * RETURN: TRUE if result is used, FALSE otherwise
@@ -323,7 +323,7 @@ acpi_ds_is_result_used(union acpi_parse_object * op,
323 * 323 *
324 * FUNCTION: acpi_ds_delete_result_if_not_used 324 * FUNCTION: acpi_ds_delete_result_if_not_used
325 * 325 *
326 * PARAMETERS: Op - Current parse Op 326 * PARAMETERS: op - Current parse Op
327 * result_obj - Result of the operation 327 * result_obj - Result of the operation
328 * walk_state - Current state 328 * walk_state - Current state
329 * 329 *
@@ -445,7 +445,7 @@ void acpi_ds_clear_operands(struct acpi_walk_state *walk_state)
445 * FUNCTION: acpi_ds_create_operand 445 * FUNCTION: acpi_ds_create_operand
446 * 446 *
447 * PARAMETERS: walk_state - Current walk state 447 * PARAMETERS: walk_state - Current walk state
448 * Arg - Parse object for the argument 448 * arg - Parse object for the argument
449 * arg_index - Which argument (zero based) 449 * arg_index - Which argument (zero based)
450 * 450 *
451 * RETURN: Status 451 * RETURN: Status
diff --git a/drivers/acpi/acpica/dswscope.c b/drivers/acpi/acpica/dswscope.c
index 9e9490a9cbf0..f6c4295470ae 100644
--- a/drivers/acpi/acpica/dswscope.c
+++ b/drivers/acpi/acpica/dswscope.c
@@ -85,8 +85,8 @@ void acpi_ds_scope_stack_clear(struct acpi_walk_state *walk_state)
85 * 85 *
86 * FUNCTION: acpi_ds_scope_stack_push 86 * FUNCTION: acpi_ds_scope_stack_push
87 * 87 *
88 * PARAMETERS: Node - Name to be made current 88 * PARAMETERS: node - Name to be made current
89 * Type - Type of frame being pushed 89 * type - Type of frame being pushed
90 * walk_state - Current state 90 * walk_state - Current state
91 * 91 *
92 * RETURN: Status 92 * RETURN: Status
diff --git a/drivers/acpi/acpica/dswstate.c b/drivers/acpi/acpica/dswstate.c
index c9c2ac13e7cc..d0e6555061e4 100644
--- a/drivers/acpi/acpica/dswstate.c
+++ b/drivers/acpi/acpica/dswstate.c
@@ -58,7 +58,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *ws);
58 * 58 *
59 * FUNCTION: acpi_ds_result_pop 59 * FUNCTION: acpi_ds_result_pop
60 * 60 *
61 * PARAMETERS: Object - Where to return the popped object 61 * PARAMETERS: object - Where to return the popped object
62 * walk_state - Current Walk state 62 * walk_state - Current Walk state
63 * 63 *
64 * RETURN: Status 64 * RETURN: Status
@@ -132,7 +132,7 @@ acpi_ds_result_pop(union acpi_operand_object **object,
132 * 132 *
133 * FUNCTION: acpi_ds_result_push 133 * FUNCTION: acpi_ds_result_push
134 * 134 *
135 * PARAMETERS: Object - Where to return the popped object 135 * PARAMETERS: object - Where to return the popped object
136 * walk_state - Current Walk state 136 * walk_state - Current Walk state
137 * 137 *
138 * RETURN: Status 138 * RETURN: Status
@@ -296,7 +296,7 @@ static acpi_status acpi_ds_result_stack_pop(struct acpi_walk_state *walk_state)
296 * 296 *
297 * FUNCTION: acpi_ds_obj_stack_push 297 * FUNCTION: acpi_ds_obj_stack_push
298 * 298 *
299 * PARAMETERS: Object - Object to push 299 * PARAMETERS: object - Object to push
300 * walk_state - Current Walk state 300 * walk_state - Current Walk state
301 * 301 *
302 * RETURN: Status 302 * RETURN: Status
@@ -433,7 +433,7 @@ acpi_ds_obj_stack_pop_and_delete(u32 pop_count,
433 * 433 *
434 * FUNCTION: acpi_ds_get_current_walk_state 434 * FUNCTION: acpi_ds_get_current_walk_state
435 * 435 *
436 * PARAMETERS: Thread - Get current active state for this Thread 436 * PARAMETERS: thread - Get current active state for this Thread
437 * 437 *
438 * RETURN: Pointer to the current walk state 438 * RETURN: Pointer to the current walk state
439 * 439 *
@@ -462,7 +462,7 @@ struct acpi_walk_state *acpi_ds_get_current_walk_state(struct acpi_thread_state
462 * FUNCTION: acpi_ds_push_walk_state 462 * FUNCTION: acpi_ds_push_walk_state
463 * 463 *
464 * PARAMETERS: walk_state - State to push 464 * PARAMETERS: walk_state - State to push
465 * Thread - Thread state object 465 * thread - Thread state object
466 * 466 *
467 * RETURN: None 467 * RETURN: None
468 * 468 *
@@ -486,7 +486,7 @@ acpi_ds_push_walk_state(struct acpi_walk_state *walk_state,
486 * 486 *
487 * FUNCTION: acpi_ds_pop_walk_state 487 * FUNCTION: acpi_ds_pop_walk_state
488 * 488 *
489 * PARAMETERS: Thread - Current thread state 489 * PARAMETERS: thread - Current thread state
490 * 490 *
491 * RETURN: A walk_state object popped from the thread's stack 491 * RETURN: A walk_state object popped from the thread's stack
492 * 492 *
@@ -525,9 +525,9 @@ struct acpi_walk_state *acpi_ds_pop_walk_state(struct acpi_thread_state *thread)
525 * FUNCTION: acpi_ds_create_walk_state 525 * FUNCTION: acpi_ds_create_walk_state
526 * 526 *
527 * PARAMETERS: owner_id - ID for object creation 527 * PARAMETERS: owner_id - ID for object creation
528 * Origin - Starting point for this walk 528 * origin - Starting point for this walk
529 * method_desc - Method object 529 * method_desc - Method object
530 * Thread - Current thread state 530 * thread - Current thread state
531 * 531 *
532 * RETURN: Pointer to the new walk state. 532 * RETURN: Pointer to the new walk state.
533 * 533 *
@@ -578,11 +578,11 @@ struct acpi_walk_state *acpi_ds_create_walk_state(acpi_owner_id owner_id, union
578 * FUNCTION: acpi_ds_init_aml_walk 578 * FUNCTION: acpi_ds_init_aml_walk
579 * 579 *
580 * PARAMETERS: walk_state - New state to be initialized 580 * PARAMETERS: walk_state - New state to be initialized
581 * Op - Current parse op 581 * op - Current parse op
582 * method_node - Control method NS node, if any 582 * method_node - Control method NS node, if any
583 * aml_start - Start of AML 583 * aml_start - Start of AML
584 * aml_length - Length of AML 584 * aml_length - Length of AML
585 * Info - Method info block (params, etc.) 585 * info - Method info block (params, etc.)
586 * pass_number - 1, 2, or 3 586 * pass_number - 1, 2, or 3
587 * 587 *
588 * RETURN: Status 588 * RETURN: Status
diff --git a/drivers/acpi/acpica/evevent.c b/drivers/acpi/acpica/evevent.c
index 07e4dc44f81c..d4acfbbe5b29 100644
--- a/drivers/acpi/acpica/evevent.c
+++ b/drivers/acpi/acpica/evevent.c
@@ -251,7 +251,7 @@ u32 acpi_ev_fixed_event_detect(void)
251 * 251 *
252 * FUNCTION: acpi_ev_fixed_event_dispatch 252 * FUNCTION: acpi_ev_fixed_event_dispatch
253 * 253 *
254 * PARAMETERS: Event - Event type 254 * PARAMETERS: event - Event type
255 * 255 *
256 * RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED 256 * RETURN: INTERRUPT_HANDLED or INTERRUPT_NOT_HANDLED
257 * 257 *
diff --git a/drivers/acpi/acpica/evglock.c b/drivers/acpi/acpica/evglock.c
index cfeab38795d8..af14a7137632 100644
--- a/drivers/acpi/acpica/evglock.c
+++ b/drivers/acpi/acpica/evglock.c
@@ -135,7 +135,7 @@ acpi_status acpi_ev_remove_global_lock_handler(void)
135 * 135 *
136 * FUNCTION: acpi_ev_global_lock_handler 136 * FUNCTION: acpi_ev_global_lock_handler
137 * 137 *
138 * PARAMETERS: Context - From thread interface, not used 138 * PARAMETERS: context - From thread interface, not used
139 * 139 *
140 * RETURN: ACPI_INTERRUPT_HANDLED 140 * RETURN: ACPI_INTERRUPT_HANDLED
141 * 141 *
@@ -182,7 +182,7 @@ static u32 acpi_ev_global_lock_handler(void *context)
182 * 182 *
183 * FUNCTION: acpi_ev_acquire_global_lock 183 * FUNCTION: acpi_ev_acquire_global_lock
184 * 184 *
185 * PARAMETERS: Timeout - Max time to wait for the lock, in millisec. 185 * PARAMETERS: timeout - Max time to wait for the lock, in millisec.
186 * 186 *
187 * RETURN: Status 187 * RETURN: Status
188 * 188 *
diff --git a/drivers/acpi/acpica/evgpeblk.c b/drivers/acpi/acpica/evgpeblk.c
index 23a3ca86b2eb..8cf4c104c7b7 100644
--- a/drivers/acpi/acpica/evgpeblk.c
+++ b/drivers/acpi/acpica/evgpeblk.c
@@ -318,7 +318,7 @@ acpi_ev_create_gpe_info_blocks(struct acpi_gpe_block_info *gpe_block)
318 * FUNCTION: acpi_ev_create_gpe_block 318 * FUNCTION: acpi_ev_create_gpe_block
319 * 319 *
320 * PARAMETERS: gpe_device - Handle to the parent GPE block 320 * PARAMETERS: gpe_device - Handle to the parent GPE block
321 * gpe_block_address - Address and space_iD 321 * gpe_block_address - Address and space_ID
322 * register_count - Number of GPE register pairs in the block 322 * register_count - Number of GPE register pairs in the block
323 * gpe_block_base_number - Starting GPE number for the block 323 * gpe_block_base_number - Starting GPE number for the block
324 * interrupt_number - H/W interrupt for the block 324 * interrupt_number - H/W interrupt for the block
diff --git a/drivers/acpi/acpica/evgpeutil.c b/drivers/acpi/acpica/evgpeutil.c
index 0c33c62bd9eb..cb50dd91bc18 100644
--- a/drivers/acpi/acpica/evgpeutil.c
+++ b/drivers/acpi/acpica/evgpeutil.c
@@ -54,7 +54,7 @@ ACPI_MODULE_NAME("evgpeutil")
54 * FUNCTION: acpi_ev_walk_gpe_list 54 * FUNCTION: acpi_ev_walk_gpe_list
55 * 55 *
56 * PARAMETERS: gpe_walk_callback - Routine called for each GPE block 56 * PARAMETERS: gpe_walk_callback - Routine called for each GPE block
57 * Context - Value passed to callback 57 * context - Value passed to callback
58 * 58 *
59 * RETURN: Status 59 * RETURN: Status
60 * 60 *
diff --git a/drivers/acpi/acpica/evmisc.c b/drivers/acpi/acpica/evmisc.c
index 381fce93a561..51f537937c1f 100644
--- a/drivers/acpi/acpica/evmisc.c
+++ b/drivers/acpi/acpica/evmisc.c
@@ -56,7 +56,7 @@ static void ACPI_SYSTEM_XFACE acpi_ev_notify_dispatch(void *context);
56 * 56 *
57 * FUNCTION: acpi_ev_is_notify_object 57 * FUNCTION: acpi_ev_is_notify_object
58 * 58 *
59 * PARAMETERS: Node - Node to check 59 * PARAMETERS: node - Node to check
60 * 60 *
61 * RETURN: TRUE if notifies allowed on this object 61 * RETURN: TRUE if notifies allowed on this object
62 * 62 *
@@ -86,7 +86,7 @@ u8 acpi_ev_is_notify_object(struct acpi_namespace_node *node)
86 * 86 *
87 * FUNCTION: acpi_ev_queue_notify_request 87 * FUNCTION: acpi_ev_queue_notify_request
88 * 88 *
89 * PARAMETERS: Node - NS node for the notified object 89 * PARAMETERS: node - NS node for the notified object
90 * notify_value - Value from the Notify() request 90 * notify_value - Value from the Notify() request
91 * 91 *
92 * RETURN: Status 92 * RETURN: Status
@@ -181,7 +181,7 @@ acpi_ev_queue_notify_request(struct acpi_namespace_node * node,
181 * 181 *
182 * FUNCTION: acpi_ev_notify_dispatch 182 * FUNCTION: acpi_ev_notify_dispatch
183 * 183 *
184 * PARAMETERS: Context - To be passed to the notify handler 184 * PARAMETERS: context - To be passed to the notify handler
185 * 185 *
186 * RETURN: None. 186 * RETURN: None.
187 * 187 *
diff --git a/drivers/acpi/acpica/evregion.c b/drivers/acpi/acpica/evregion.c
index 1b0180a1b798..0cc6a16fedc7 100644
--- a/drivers/acpi/acpica/evregion.c
+++ b/drivers/acpi/acpica/evregion.c
@@ -150,7 +150,7 @@ acpi_status acpi_ev_install_region_handlers(void)
150 * 150 *
151 * FUNCTION: acpi_ev_has_default_handler 151 * FUNCTION: acpi_ev_has_default_handler
152 * 152 *
153 * PARAMETERS: Node - Namespace node for the device 153 * PARAMETERS: node - Namespace node for the device
154 * space_id - The address space ID 154 * space_id - The address space ID
155 * 155 *
156 * RETURN: TRUE if default handler is installed, FALSE otherwise 156 * RETURN: TRUE if default handler is installed, FALSE otherwise
@@ -244,7 +244,7 @@ acpi_status acpi_ev_initialize_op_regions(void)
244 * FUNCTION: acpi_ev_execute_reg_method 244 * FUNCTION: acpi_ev_execute_reg_method
245 * 245 *
246 * PARAMETERS: region_obj - Region object 246 * PARAMETERS: region_obj - Region object
247 * Function - Passed to _REG: On (1) or Off (0) 247 * function - Passed to _REG: On (1) or Off (0)
248 * 248 *
249 * RETURN: Status 249 * RETURN: Status
250 * 250 *
@@ -286,10 +286,10 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)
286 /* 286 /*
287 * The _REG method has two arguments: 287 * The _REG method has two arguments:
288 * 288 *
289 * Arg0 - Integer: 289 * arg0 - Integer:
290 * Operation region space ID Same value as region_obj->Region.space_id 290 * Operation region space ID Same value as region_obj->Region.space_id
291 * 291 *
292 * Arg1 - Integer: 292 * arg1 - Integer:
293 * connection status 1 for connecting the handler, 0 for disconnecting 293 * connection status 1 for connecting the handler, 0 for disconnecting
294 * the handler (Passed as a parameter) 294 * the handler (Passed as a parameter)
295 */ 295 */
@@ -330,10 +330,10 @@ acpi_ev_execute_reg_method(union acpi_operand_object *region_obj, u32 function)
330 * 330 *
331 * PARAMETERS: region_obj - Internal region object 331 * PARAMETERS: region_obj - Internal region object
332 * field_obj - Corresponding field. Can be NULL. 332 * field_obj - Corresponding field. Can be NULL.
333 * Function - Read or Write operation 333 * function - Read or Write operation
334 * region_offset - Where in the region to read or write 334 * region_offset - Where in the region to read or write
335 * bit_width - Field width in bits (8, 16, 32, or 64) 335 * bit_width - Field width in bits (8, 16, 32, or 64)
336 * Value - Pointer to in or out value, must be 336 * value - Pointer to in or out value, must be
337 * a full 64-bit integer 337 * a full 64-bit integer
338 * 338 *
339 * RETURN: Status 339 * RETURN: Status
@@ -840,11 +840,11 @@ acpi_ev_install_handler(acpi_handle obj_handle,
840 * 840 *
841 * FUNCTION: acpi_ev_install_space_handler 841 * FUNCTION: acpi_ev_install_space_handler
842 * 842 *
843 * PARAMETERS: Node - Namespace node for the device 843 * PARAMETERS: node - Namespace node for the device
844 * space_id - The address space ID 844 * space_id - The address space ID
845 * Handler - Address of the handler 845 * handler - Address of the handler
846 * Setup - Address of the setup function 846 * setup - Address of the setup function
847 * Context - Value passed to the handler on each access 847 * context - Value passed to the handler on each access
848 * 848 *
849 * RETURN: Status 849 * RETURN: Status
850 * 850 *
@@ -1061,7 +1061,7 @@ acpi_ev_install_space_handler(struct acpi_namespace_node * node,
1061 * 1061 *
1062 * FUNCTION: acpi_ev_execute_reg_methods 1062 * FUNCTION: acpi_ev_execute_reg_methods
1063 * 1063 *
1064 * PARAMETERS: Node - Namespace node for the device 1064 * PARAMETERS: node - Namespace node for the device
1065 * space_id - The address space ID 1065 * space_id - The address space ID
1066 * 1066 *
1067 * RETURN: Status 1067 * RETURN: Status
@@ -1104,7 +1104,7 @@ acpi_ev_execute_reg_methods(struct acpi_namespace_node *node,
1104 * 1104 *
1105 * PARAMETERS: walk_namespace callback 1105 * PARAMETERS: walk_namespace callback
1106 * 1106 *
1107 * DESCRIPTION: Run _REG method for region objects of the requested space_iD 1107 * DESCRIPTION: Run _REG method for region objects of the requested spaceID
1108 * 1108 *
1109 ******************************************************************************/ 1109 ******************************************************************************/
1110 1110
diff --git a/drivers/acpi/acpica/evrgnini.c b/drivers/acpi/acpica/evrgnini.c
index 819c17f5897a..4c1c8261166f 100644
--- a/drivers/acpi/acpica/evrgnini.c
+++ b/drivers/acpi/acpica/evrgnini.c
@@ -56,8 +56,8 @@ static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node);
56 * 56 *
57 * FUNCTION: acpi_ev_system_memory_region_setup 57 * FUNCTION: acpi_ev_system_memory_region_setup
58 * 58 *
59 * PARAMETERS: Handle - Region we are interested in 59 * PARAMETERS: handle - Region we are interested in
60 * Function - Start or stop 60 * function - Start or stop
61 * handler_context - Address space handler context 61 * handler_context - Address space handler context
62 * region_context - Region specific context 62 * region_context - Region specific context
63 * 63 *
@@ -118,8 +118,8 @@ acpi_ev_system_memory_region_setup(acpi_handle handle,
118 * 118 *
119 * FUNCTION: acpi_ev_io_space_region_setup 119 * FUNCTION: acpi_ev_io_space_region_setup
120 * 120 *
121 * PARAMETERS: Handle - Region we are interested in 121 * PARAMETERS: handle - Region we are interested in
122 * Function - Start or stop 122 * function - Start or stop
123 * handler_context - Address space handler context 123 * handler_context - Address space handler context
124 * region_context - Region specific context 124 * region_context - Region specific context
125 * 125 *
@@ -149,8 +149,8 @@ acpi_ev_io_space_region_setup(acpi_handle handle,
149 * 149 *
150 * FUNCTION: acpi_ev_pci_config_region_setup 150 * FUNCTION: acpi_ev_pci_config_region_setup
151 * 151 *
152 * PARAMETERS: Handle - Region we are interested in 152 * PARAMETERS: handle - Region we are interested in
153 * Function - Start or stop 153 * function - Start or stop
154 * handler_context - Address space handler context 154 * handler_context - Address space handler context
155 * region_context - Region specific context 155 * region_context - Region specific context
156 * 156 *
@@ -338,7 +338,7 @@ acpi_ev_pci_config_region_setup(acpi_handle handle,
338 * 338 *
339 * FUNCTION: acpi_ev_is_pci_root_bridge 339 * FUNCTION: acpi_ev_is_pci_root_bridge
340 * 340 *
341 * PARAMETERS: Node - Device node being examined 341 * PARAMETERS: node - Device node being examined
342 * 342 *
343 * RETURN: TRUE if device is a PCI/PCI-Express Root Bridge 343 * RETURN: TRUE if device is a PCI/PCI-Express Root Bridge
344 * 344 *
@@ -393,14 +393,14 @@ static u8 acpi_ev_is_pci_root_bridge(struct acpi_namespace_node *node)
393 * 393 *
394 * FUNCTION: acpi_ev_pci_bar_region_setup 394 * FUNCTION: acpi_ev_pci_bar_region_setup
395 * 395 *
396 * PARAMETERS: Handle - Region we are interested in 396 * PARAMETERS: handle - Region we are interested in
397 * Function - Start or stop 397 * function - Start or stop
398 * handler_context - Address space handler context 398 * handler_context - Address space handler context
399 * region_context - Region specific context 399 * region_context - Region specific context
400 * 400 *
401 * RETURN: Status 401 * RETURN: Status
402 * 402 *
403 * DESCRIPTION: Setup a pci_bAR operation region 403 * DESCRIPTION: Setup a pci_BAR operation region
404 * 404 *
405 * MUTEX: Assumes namespace is not locked 405 * MUTEX: Assumes namespace is not locked
406 * 406 *
@@ -420,8 +420,8 @@ acpi_ev_pci_bar_region_setup(acpi_handle handle,
420 * 420 *
421 * FUNCTION: acpi_ev_cmos_region_setup 421 * FUNCTION: acpi_ev_cmos_region_setup
422 * 422 *
423 * PARAMETERS: Handle - Region we are interested in 423 * PARAMETERS: handle - Region we are interested in
424 * Function - Start or stop 424 * function - Start or stop
425 * handler_context - Address space handler context 425 * handler_context - Address space handler context
426 * region_context - Region specific context 426 * region_context - Region specific context
427 * 427 *
@@ -447,8 +447,8 @@ acpi_ev_cmos_region_setup(acpi_handle handle,
447 * 447 *
448 * FUNCTION: acpi_ev_default_region_setup 448 * FUNCTION: acpi_ev_default_region_setup
449 * 449 *
450 * PARAMETERS: Handle - Region we are interested in 450 * PARAMETERS: handle - Region we are interested in
451 * Function - Start or stop 451 * function - Start or stop
452 * handler_context - Address space handler context 452 * handler_context - Address space handler context
453 * region_context - Region specific context 453 * region_context - Region specific context
454 * 454 *
diff --git a/drivers/acpi/acpica/evsci.c b/drivers/acpi/acpica/evsci.c
index 6a57aa2d70d1..f9661e2b46a9 100644
--- a/drivers/acpi/acpica/evsci.c
+++ b/drivers/acpi/acpica/evsci.c
@@ -56,7 +56,7 @@ static u32 ACPI_SYSTEM_XFACE acpi_ev_sci_xrupt_handler(void *context);
56 * 56 *
57 * FUNCTION: acpi_ev_sci_xrupt_handler 57 * FUNCTION: acpi_ev_sci_xrupt_handler
58 * 58 *
59 * PARAMETERS: Context - Calling Context 59 * PARAMETERS: context - Calling Context
60 * 60 *
61 * RETURN: Status code indicates whether interrupt was handled. 61 * RETURN: Status code indicates whether interrupt was handled.
62 * 62 *
@@ -96,7 +96,7 @@ static u32 ACPI_SYSTEM_XFACE acpi_ev_sci_xrupt_handler(void *context)
96 * 96 *
97 * FUNCTION: acpi_ev_gpe_xrupt_handler 97 * FUNCTION: acpi_ev_gpe_xrupt_handler
98 * 98 *
99 * PARAMETERS: Context - Calling Context 99 * PARAMETERS: context - Calling Context
100 * 100 *
101 * RETURN: Status code indicates whether interrupt was handled. 101 * RETURN: Status code indicates whether interrupt was handled.
102 * 102 *
diff --git a/drivers/acpi/acpica/evxface.c b/drivers/acpi/acpica/evxface.c
index 6a8b53789be4..7587eb6c9584 100644
--- a/drivers/acpi/acpica/evxface.c
+++ b/drivers/acpi/acpica/evxface.c
@@ -342,7 +342,7 @@ ACPI_EXPORT_SYMBOL(acpi_remove_notify_handler)
342 * 342 *
343 * FUNCTION: acpi_install_exception_handler 343 * FUNCTION: acpi_install_exception_handler
344 * 344 *
345 * PARAMETERS: Handler - Pointer to the handler function for the 345 * PARAMETERS: handler - Pointer to the handler function for the
346 * event 346 * event
347 * 347 *
348 * RETURN: Status 348 * RETURN: Status
@@ -386,8 +386,8 @@ ACPI_EXPORT_SYMBOL(acpi_install_exception_handler)
386 * 386 *
387 * FUNCTION: acpi_install_global_event_handler 387 * FUNCTION: acpi_install_global_event_handler
388 * 388 *
389 * PARAMETERS: Handler - Pointer to the global event handler function 389 * PARAMETERS: handler - Pointer to the global event handler function
390 * Context - Value passed to the handler on each event 390 * context - Value passed to the handler on each event
391 * 391 *
392 * RETURN: Status 392 * RETURN: Status
393 * 393 *
@@ -436,10 +436,10 @@ ACPI_EXPORT_SYMBOL(acpi_install_global_event_handler)
436 * 436 *
437 * FUNCTION: acpi_install_fixed_event_handler 437 * FUNCTION: acpi_install_fixed_event_handler
438 * 438 *
439 * PARAMETERS: Event - Event type to enable. 439 * PARAMETERS: event - Event type to enable.
440 * Handler - Pointer to the handler function for the 440 * handler - Pointer to the handler function for the
441 * event 441 * event
442 * Context - Value passed to the handler on each GPE 442 * context - Value passed to the handler on each GPE
443 * 443 *
444 * RETURN: Status 444 * RETURN: Status
445 * 445 *
@@ -506,8 +506,8 @@ ACPI_EXPORT_SYMBOL(acpi_install_fixed_event_handler)
506 * 506 *
507 * FUNCTION: acpi_remove_fixed_event_handler 507 * FUNCTION: acpi_remove_fixed_event_handler
508 * 508 *
509 * PARAMETERS: Event - Event type to disable. 509 * PARAMETERS: event - Event type to disable.
510 * Handler - Address of the handler 510 * handler - Address of the handler
511 * 511 *
512 * RETURN: Status 512 * RETURN: Status
513 * 513 *
@@ -563,10 +563,10 @@ ACPI_EXPORT_SYMBOL(acpi_remove_fixed_event_handler)
563 * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT 563 * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT
564 * defined GPEs) 564 * defined GPEs)
565 * gpe_number - The GPE number within the GPE block 565 * gpe_number - The GPE number within the GPE block
566 * Type - Whether this GPE should be treated as an 566 * type - Whether this GPE should be treated as an
567 * edge- or level-triggered interrupt. 567 * edge- or level-triggered interrupt.
568 * Address - Address of the handler 568 * address - Address of the handler
569 * Context - Value passed to the handler on each GPE 569 * context - Value passed to the handler on each GPE
570 * 570 *
571 * RETURN: Status 571 * RETURN: Status
572 * 572 *
@@ -673,7 +673,7 @@ ACPI_EXPORT_SYMBOL(acpi_install_gpe_handler)
673 * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT 673 * PARAMETERS: gpe_device - Namespace node for the GPE (NULL for FADT
674 * defined GPEs) 674 * defined GPEs)
675 * gpe_number - The event to remove a handler 675 * gpe_number - The event to remove a handler
676 * Address - Address of the handler 676 * address - Address of the handler
677 * 677 *
678 * RETURN: Status 678 * RETURN: Status
679 * 679 *
@@ -769,8 +769,8 @@ ACPI_EXPORT_SYMBOL(acpi_remove_gpe_handler)
769 * 769 *
770 * FUNCTION: acpi_acquire_global_lock 770 * FUNCTION: acpi_acquire_global_lock
771 * 771 *
772 * PARAMETERS: Timeout - How long the caller is willing to wait 772 * PARAMETERS: timeout - How long the caller is willing to wait
773 * Handle - Where the handle to the lock is returned 773 * handle - Where the handle to the lock is returned
774 * (if acquired) 774 * (if acquired)
775 * 775 *
776 * RETURN: Status 776 * RETURN: Status
@@ -817,7 +817,7 @@ ACPI_EXPORT_SYMBOL(acpi_acquire_global_lock)
817 * 817 *
818 * FUNCTION: acpi_release_global_lock 818 * FUNCTION: acpi_release_global_lock
819 * 819 *
820 * PARAMETERS: Handle - Returned from acpi_acquire_global_lock 820 * PARAMETERS: handle - Returned from acpi_acquire_global_lock
821 * 821 *
822 * RETURN: Status 822 * RETURN: Status
823 * 823 *
diff --git a/drivers/acpi/acpica/evxfevnt.c b/drivers/acpi/acpica/evxfevnt.c
index 77cee5a5e891..35520c6eeefb 100644
--- a/drivers/acpi/acpica/evxfevnt.c
+++ b/drivers/acpi/acpica/evxfevnt.c
@@ -153,8 +153,8 @@ ACPI_EXPORT_SYMBOL(acpi_disable)
153 * 153 *
154 * FUNCTION: acpi_enable_event 154 * FUNCTION: acpi_enable_event
155 * 155 *
156 * PARAMETERS: Event - The fixed eventto be enabled 156 * PARAMETERS: event - The fixed eventto be enabled
157 * Flags - Reserved 157 * flags - Reserved
158 * 158 *
159 * RETURN: Status 159 * RETURN: Status
160 * 160 *
@@ -265,7 +265,7 @@ ACPI_EXPORT_SYMBOL(acpi_disable_event)
265 * 265 *
266 * FUNCTION: acpi_clear_event 266 * FUNCTION: acpi_clear_event
267 * 267 *
268 * PARAMETERS: Event - The fixed event to be cleared 268 * PARAMETERS: event - The fixed event to be cleared
269 * 269 *
270 * RETURN: Status 270 * RETURN: Status
271 * 271 *
@@ -301,7 +301,7 @@ ACPI_EXPORT_SYMBOL(acpi_clear_event)
301 * 301 *
302 * FUNCTION: acpi_get_event_status 302 * FUNCTION: acpi_get_event_status
303 * 303 *
304 * PARAMETERS: Event - The fixed event 304 * PARAMETERS: event - The fixed event
305 * event_status - Where the current status of the event will 305 * event_status - Where the current status of the event will
306 * be returned 306 * be returned
307 * 307 *
diff --git a/drivers/acpi/acpica/evxfgpe.c b/drivers/acpi/acpica/evxfgpe.c
index 2ce44099eb84..6affbdb4b88c 100644
--- a/drivers/acpi/acpica/evxfgpe.c
+++ b/drivers/acpi/acpica/evxfgpe.c
@@ -315,7 +315,7 @@ ACPI_EXPORT_SYMBOL(acpi_setup_gpe_for_wake)
315 * 315 *
316 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 316 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1
317 * gpe_number - GPE level within the GPE block 317 * gpe_number - GPE level within the GPE block
318 * Action - Enable or Disable 318 * action - Enable or Disable
319 * 319 *
320 * RETURN: Status 320 * RETURN: Status
321 * 321 *
@@ -540,7 +540,7 @@ ACPI_EXPORT_SYMBOL(acpi_enable_all_runtime_gpes)
540 * FUNCTION: acpi_install_gpe_block 540 * FUNCTION: acpi_install_gpe_block
541 * 541 *
542 * PARAMETERS: gpe_device - Handle to the parent GPE Block Device 542 * PARAMETERS: gpe_device - Handle to the parent GPE Block Device
543 * gpe_block_address - Address and space_iD 543 * gpe_block_address - Address and space_ID
544 * register_count - Number of GPE register pairs in the block 544 * register_count - Number of GPE register pairs in the block
545 * interrupt_number - H/W interrupt for the block 545 * interrupt_number - H/W interrupt for the block
546 * 546 *
@@ -685,7 +685,7 @@ ACPI_EXPORT_SYMBOL(acpi_remove_gpe_block)
685 * 685 *
686 * FUNCTION: acpi_get_gpe_device 686 * FUNCTION: acpi_get_gpe_device
687 * 687 *
688 * PARAMETERS: Index - System GPE index (0-current_gpe_count) 688 * PARAMETERS: index - System GPE index (0-current_gpe_count)
689 * gpe_device - Where the parent GPE Device is returned 689 * gpe_device - Where the parent GPE Device is returned
690 * 690 *
691 * RETURN: Status 691 * RETURN: Status
diff --git a/drivers/acpi/acpica/evxfregn.c b/drivers/acpi/acpica/evxfregn.c
index 6019208cd4b6..96b412d03950 100644
--- a/drivers/acpi/acpica/evxfregn.c
+++ b/drivers/acpi/acpica/evxfregn.c
@@ -55,11 +55,11 @@ ACPI_MODULE_NAME("evxfregn")
55 * 55 *
56 * FUNCTION: acpi_install_address_space_handler 56 * FUNCTION: acpi_install_address_space_handler
57 * 57 *
58 * PARAMETERS: Device - Handle for the device 58 * PARAMETERS: device - Handle for the device
59 * space_id - The address space ID 59 * space_id - The address space ID
60 * Handler - Address of the handler 60 * handler - Address of the handler
61 * Setup - Address of the setup function 61 * setup - Address of the setup function
62 * Context - Value passed to the handler on each access 62 * context - Value passed to the handler on each access
63 * 63 *
64 * RETURN: Status 64 * RETURN: Status
65 * 65 *
@@ -112,16 +112,16 @@ acpi_install_address_space_handler(acpi_handle device,
112 } 112 }
113 113
114 /* 114 /*
115 * For the default space_iDs, (the IDs for which there are default region handlers 115 * For the default space_IDs, (the IDs for which there are default region handlers
116 * installed) Only execute the _REG methods if the global initialization _REG 116 * installed) Only execute the _REG methods if the global initialization _REG
117 * methods have already been run (via acpi_initialize_objects). In other words, 117 * methods have already been run (via acpi_initialize_objects). In other words,
118 * we will defer the execution of the _REG methods for these space_iDs until 118 * we will defer the execution of the _REG methods for these space_IDs until
119 * execution of acpi_initialize_objects. This is done because we need the handlers 119 * execution of acpi_initialize_objects. This is done because we need the handlers
120 * for the default spaces (mem/io/pci/table) to be installed before we can run 120 * for the default spaces (mem/io/pci/table) to be installed before we can run
121 * any control methods (or _REG methods). There is known BIOS code that depends 121 * any control methods (or _REG methods). There is known BIOS code that depends
122 * on this. 122 * on this.
123 * 123 *
124 * For all other space_iDs, we can safely execute the _REG methods immediately. 124 * For all other space_IDs, we can safely execute the _REG methods immediately.
125 * This means that for IDs like embedded_controller, this function should be called 125 * This means that for IDs like embedded_controller, this function should be called
126 * only after acpi_enable_subsystem has been called. 126 * only after acpi_enable_subsystem has been called.
127 */ 127 */
@@ -157,9 +157,9 @@ ACPI_EXPORT_SYMBOL(acpi_install_address_space_handler)
157 * 157 *
158 * FUNCTION: acpi_remove_address_space_handler 158 * FUNCTION: acpi_remove_address_space_handler
159 * 159 *
160 * PARAMETERS: Device - Handle for the device 160 * PARAMETERS: device - Handle for the device
161 * space_id - The address space ID 161 * space_id - The address space ID
162 * Handler - Address of the handler 162 * handler - Address of the handler
163 * 163 *
164 * RETURN: Status 164 * RETURN: Status
165 * 165 *
diff --git a/drivers/acpi/acpica/exconfig.c b/drivers/acpi/acpica/exconfig.c
index c86d44e41bc8..16219bde48da 100644
--- a/drivers/acpi/acpica/exconfig.c
+++ b/drivers/acpi/acpica/exconfig.c
@@ -66,7 +66,7 @@ acpi_ex_region_read(union acpi_operand_object *obj_desc,
66 * 66 *
67 * FUNCTION: acpi_ex_add_table 67 * FUNCTION: acpi_ex_add_table
68 * 68 *
69 * PARAMETERS: Table - Pointer to raw table 69 * PARAMETERS: table - Pointer to raw table
70 * parent_node - Where to load the table (scope) 70 * parent_node - Where to load the table (scope)
71 * ddb_handle - Where to return the table handle. 71 * ddb_handle - Where to return the table handle.
72 * 72 *
@@ -276,8 +276,8 @@ acpi_ex_load_table_op(struct acpi_walk_state *walk_state,
276 * FUNCTION: acpi_ex_region_read 276 * FUNCTION: acpi_ex_region_read
277 * 277 *
278 * PARAMETERS: obj_desc - Region descriptor 278 * PARAMETERS: obj_desc - Region descriptor
279 * Length - Number of bytes to read 279 * length - Number of bytes to read
280 * Buffer - Pointer to where to put the data 280 * buffer - Pointer to where to put the data
281 * 281 *
282 * RETURN: Status 282 * RETURN: Status
283 * 283 *
@@ -318,7 +318,7 @@ acpi_ex_region_read(union acpi_operand_object *obj_desc, u32 length, u8 *buffer)
318 * 318 *
319 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be 319 * PARAMETERS: obj_desc - Region or Buffer/Field where the table will be
320 * obtained 320 * obtained
321 * Target - Where a handle to the table will be stored 321 * target - Where a handle to the table will be stored
322 * walk_state - Current state 322 * walk_state - Current state
323 * 323 *
324 * RETURN: Status 324 * RETURN: Status
diff --git a/drivers/acpi/acpica/exconvrt.c b/drivers/acpi/acpica/exconvrt.c
index e385436bd424..bfb062e4c4b4 100644
--- a/drivers/acpi/acpica/exconvrt.c
+++ b/drivers/acpi/acpica/exconvrt.c
@@ -60,7 +60,7 @@ acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 max_length);
60 * PARAMETERS: obj_desc - Object to be converted. Must be an 60 * PARAMETERS: obj_desc - Object to be converted. Must be an
61 * Integer, Buffer, or String 61 * Integer, Buffer, or String
62 * result_desc - Where the new Integer object is returned 62 * result_desc - Where the new Integer object is returned
63 * Flags - Used for string conversion 63 * flags - Used for string conversion
64 * 64 *
65 * RETURN: Status 65 * RETURN: Status
66 * 66 *
@@ -272,9 +272,9 @@ acpi_ex_convert_to_buffer(union acpi_operand_object *obj_desc,
272 * 272 *
273 * FUNCTION: acpi_ex_convert_to_ascii 273 * FUNCTION: acpi_ex_convert_to_ascii
274 * 274 *
275 * PARAMETERS: Integer - Value to be converted 275 * PARAMETERS: integer - Value to be converted
276 * Base - ACPI_STRING_DECIMAL or ACPI_STRING_HEX 276 * base - ACPI_STRING_DECIMAL or ACPI_STRING_HEX
277 * String - Where the string is returned 277 * string - Where the string is returned
278 * data_width - Size of data item to be converted, in bytes 278 * data_width - Size of data item to be converted, in bytes
279 * 279 *
280 * RETURN: Actual string length 280 * RETURN: Actual string length
@@ -385,7 +385,7 @@ acpi_ex_convert_to_ascii(u64 integer, u16 base, u8 *string, u8 data_width)
385 * PARAMETERS: obj_desc - Object to be converted. Must be an 385 * PARAMETERS: obj_desc - Object to be converted. Must be an
386 * Integer, Buffer, or String 386 * Integer, Buffer, or String
387 * result_desc - Where the string object is returned 387 * result_desc - Where the string object is returned
388 * Type - String flags (base and conversion type) 388 * type - String flags (base and conversion type)
389 * 389 *
390 * RETURN: Status 390 * RETURN: Status
391 * 391 *
diff --git a/drivers/acpi/acpica/excreate.c b/drivers/acpi/acpica/excreate.c
index 3f5bc998c1cb..691d4763102c 100644
--- a/drivers/acpi/acpica/excreate.c
+++ b/drivers/acpi/acpica/excreate.c
@@ -369,7 +369,7 @@ acpi_ex_create_region(u8 * aml_start,
369 * 369 *
370 * DESCRIPTION: Create a new processor object and populate the fields 370 * DESCRIPTION: Create a new processor object and populate the fields
371 * 371 *
372 * Processor (Name[0], cpu_iD[1], pblock_addr[2], pblock_length[3]) 372 * Processor (Name[0], cpu_ID[1], pblock_addr[2], pblock_length[3])
373 * 373 *
374 ******************************************************************************/ 374 ******************************************************************************/
375 375
diff --git a/drivers/acpi/acpica/exdebug.c b/drivers/acpi/acpica/exdebug.c
index e211e9c19215..bc5b9a6a1316 100644
--- a/drivers/acpi/acpica/exdebug.c
+++ b/drivers/acpi/acpica/exdebug.c
@@ -54,8 +54,8 @@ ACPI_MODULE_NAME("exdebug")
54 * FUNCTION: acpi_ex_do_debug_object 54 * FUNCTION: acpi_ex_do_debug_object
55 * 55 *
56 * PARAMETERS: source_desc - Object to be output to "Debug Object" 56 * PARAMETERS: source_desc - Object to be output to "Debug Object"
57 * Level - Indentation level (used for packages) 57 * level - Indentation level (used for packages)
58 * Index - Current package element, zero if not pkg 58 * index - Current package element, zero if not pkg
59 * 59 *
60 * RETURN: None 60 * RETURN: None
61 * 61 *
diff --git a/drivers/acpi/acpica/exdump.c b/drivers/acpi/acpica/exdump.c
index 26c56545804d..213c081776fc 100644
--- a/drivers/acpi/acpica/exdump.c
+++ b/drivers/acpi/acpica/exdump.c
@@ -323,7 +323,7 @@ static struct acpi_exdump_info *acpi_ex_dump_info[] = {
323 * FUNCTION: acpi_ex_dump_object 323 * FUNCTION: acpi_ex_dump_object
324 * 324 *
325 * PARAMETERS: obj_desc - Descriptor to dump 325 * PARAMETERS: obj_desc - Descriptor to dump
326 * Info - Info table corresponding to this object 326 * info - Info table corresponding to this object
327 * type 327 * type
328 * 328 *
329 * RETURN: None 329 * RETURN: None
@@ -449,7 +449,7 @@ acpi_ex_dump_object(union acpi_operand_object *obj_desc,
449 * FUNCTION: acpi_ex_dump_operand 449 * FUNCTION: acpi_ex_dump_operand
450 * 450 *
451 * PARAMETERS: *obj_desc - Pointer to entry to be dumped 451 * PARAMETERS: *obj_desc - Pointer to entry to be dumped
452 * Depth - Current nesting depth 452 * depth - Current nesting depth
453 * 453 *
454 * RETURN: None 454 * RETURN: None
455 * 455 *
@@ -731,7 +731,7 @@ void acpi_ex_dump_operand(union acpi_operand_object *obj_desc, u32 depth)
731 * 731 *
732 * FUNCTION: acpi_ex_dump_operands 732 * FUNCTION: acpi_ex_dump_operands
733 * 733 *
734 * PARAMETERS: Operands - A list of Operand objects 734 * PARAMETERS: operands - A list of Operand objects
735 * opcode_name - AML opcode name 735 * opcode_name - AML opcode name
736 * num_operands - Operand count for this opcode 736 * num_operands - Operand count for this opcode
737 * 737 *
@@ -774,8 +774,8 @@ acpi_ex_dump_operands(union acpi_operand_object **operands,
774 * 774 *
775 * FUNCTION: acpi_ex_out* functions 775 * FUNCTION: acpi_ex_out* functions
776 * 776 *
777 * PARAMETERS: Title - Descriptive text 777 * PARAMETERS: title - Descriptive text
778 * Value - Value to be displayed 778 * value - Value to be displayed
779 * 779 *
780 * DESCRIPTION: Object dump output formatting functions. These functions 780 * DESCRIPTION: Object dump output formatting functions. These functions
781 * reduce the number of format strings required and keeps them 781 * reduce the number of format strings required and keeps them
@@ -797,8 +797,8 @@ static void acpi_ex_out_pointer(char *title, void *value)
797 * 797 *
798 * FUNCTION: acpi_ex_dump_namespace_node 798 * FUNCTION: acpi_ex_dump_namespace_node
799 * 799 *
800 * PARAMETERS: Node - Descriptor to dump 800 * PARAMETERS: node - Descriptor to dump
801 * Flags - Force display if TRUE 801 * flags - Force display if TRUE
802 * 802 *
803 * DESCRIPTION: Dumps the members of the given.Node 803 * DESCRIPTION: Dumps the members of the given.Node
804 * 804 *
@@ -830,7 +830,7 @@ void acpi_ex_dump_namespace_node(struct acpi_namespace_node *node, u32 flags)
830 * 830 *
831 * FUNCTION: acpi_ex_dump_reference_obj 831 * FUNCTION: acpi_ex_dump_reference_obj
832 * 832 *
833 * PARAMETERS: Object - Descriptor to dump 833 * PARAMETERS: object - Descriptor to dump
834 * 834 *
835 * DESCRIPTION: Dumps a reference object 835 * DESCRIPTION: Dumps a reference object
836 * 836 *
@@ -887,8 +887,8 @@ static void acpi_ex_dump_reference_obj(union acpi_operand_object *obj_desc)
887 * FUNCTION: acpi_ex_dump_package_obj 887 * FUNCTION: acpi_ex_dump_package_obj
888 * 888 *
889 * PARAMETERS: obj_desc - Descriptor to dump 889 * PARAMETERS: obj_desc - Descriptor to dump
890 * Level - Indentation Level 890 * level - Indentation Level
891 * Index - Package index for this object 891 * index - Package index for this object
892 * 892 *
893 * DESCRIPTION: Dumps the elements of the package 893 * DESCRIPTION: Dumps the elements of the package
894 * 894 *
@@ -980,7 +980,7 @@ acpi_ex_dump_package_obj(union acpi_operand_object *obj_desc,
980 * FUNCTION: acpi_ex_dump_object_descriptor 980 * FUNCTION: acpi_ex_dump_object_descriptor
981 * 981 *
982 * PARAMETERS: obj_desc - Descriptor to dump 982 * PARAMETERS: obj_desc - Descriptor to dump
983 * Flags - Force display if TRUE 983 * flags - Force display if TRUE
984 * 984 *
985 * DESCRIPTION: Dumps the members of the object descriptor given. 985 * DESCRIPTION: Dumps the members of the object descriptor given.
986 * 986 *
diff --git a/drivers/acpi/acpica/exfldio.c b/drivers/acpi/acpica/exfldio.c
index 149de45fdadd..a7784152ed30 100644
--- a/drivers/acpi/acpica/exfldio.c
+++ b/drivers/acpi/acpica/exfldio.c
@@ -222,9 +222,9 @@ acpi_ex_setup_region(union acpi_operand_object *obj_desc,
222 * PARAMETERS: obj_desc - Field to be read 222 * PARAMETERS: obj_desc - Field to be read
223 * field_datum_byte_offset - Byte offset of this datum within the 223 * field_datum_byte_offset - Byte offset of this datum within the
224 * parent field 224 * parent field
225 * Value - Where to store value (must at least 225 * value - Where to store value (must at least
226 * 64 bits) 226 * 64 bits)
227 * Function - Read or Write flag plus other region- 227 * function - Read or Write flag plus other region-
228 * dependent flags 228 * dependent flags
229 * 229 *
230 * RETURN: Status 230 * RETURN: Status
@@ -315,7 +315,7 @@ acpi_ex_access_region(union acpi_operand_object *obj_desc,
315 * FUNCTION: acpi_ex_register_overflow 315 * FUNCTION: acpi_ex_register_overflow
316 * 316 *
317 * PARAMETERS: obj_desc - Register(Field) to be written 317 * PARAMETERS: obj_desc - Register(Field) to be written
318 * Value - Value to be stored 318 * value - Value to be stored
319 * 319 *
320 * RETURN: TRUE if value overflows the field, FALSE otherwise 320 * RETURN: TRUE if value overflows the field, FALSE otherwise
321 * 321 *
@@ -365,7 +365,7 @@ acpi_ex_register_overflow(union acpi_operand_object *obj_desc, u64 value)
365 * PARAMETERS: obj_desc - Field to be read 365 * PARAMETERS: obj_desc - Field to be read
366 * field_datum_byte_offset - Byte offset of this datum within the 366 * field_datum_byte_offset - Byte offset of this datum within the
367 * parent field 367 * parent field
368 * Value - Where to store value (must be 64 bits) 368 * value - Where to store value (must be 64 bits)
369 * read_write - Read or Write flag 369 * read_write - Read or Write flag
370 * 370 *
371 * RETURN: Status 371 * RETURN: Status
@@ -574,7 +574,7 @@ acpi_ex_field_datum_io(union acpi_operand_object *obj_desc,
574 * FUNCTION: acpi_ex_write_with_update_rule 574 * FUNCTION: acpi_ex_write_with_update_rule
575 * 575 *
576 * PARAMETERS: obj_desc - Field to be written 576 * PARAMETERS: obj_desc - Field to be written
577 * Mask - bitmask within field datum 577 * mask - bitmask within field datum
578 * field_value - Value to write 578 * field_value - Value to write
579 * field_datum_byte_offset - Offset of datum within field 579 * field_datum_byte_offset - Offset of datum within field
580 * 580 *
@@ -678,7 +678,7 @@ acpi_ex_write_with_update_rule(union acpi_operand_object *obj_desc,
678 * FUNCTION: acpi_ex_extract_from_field 678 * FUNCTION: acpi_ex_extract_from_field
679 * 679 *
680 * PARAMETERS: obj_desc - Field to be read 680 * PARAMETERS: obj_desc - Field to be read
681 * Buffer - Where to store the field data 681 * buffer - Where to store the field data
682 * buffer_length - Length of Buffer 682 * buffer_length - Length of Buffer
683 * 683 *
684 * RETURN: Status 684 * RETURN: Status
@@ -823,7 +823,7 @@ acpi_ex_extract_from_field(union acpi_operand_object *obj_desc,
823 * FUNCTION: acpi_ex_insert_into_field 823 * FUNCTION: acpi_ex_insert_into_field
824 * 824 *
825 * PARAMETERS: obj_desc - Field to be written 825 * PARAMETERS: obj_desc - Field to be written
826 * Buffer - Data to be written 826 * buffer - Data to be written
827 * buffer_length - Length of Buffer 827 * buffer_length - Length of Buffer
828 * 828 *
829 * RETURN: Status 829 * RETURN: Status
diff --git a/drivers/acpi/acpica/exmisc.c b/drivers/acpi/acpica/exmisc.c
index 0a0893310348..271c0c57ea10 100644
--- a/drivers/acpi/acpica/exmisc.c
+++ b/drivers/acpi/acpica/exmisc.c
@@ -144,8 +144,8 @@ acpi_ex_get_object_reference(union acpi_operand_object *obj_desc,
144 * 144 *
145 * FUNCTION: acpi_ex_concat_template 145 * FUNCTION: acpi_ex_concat_template
146 * 146 *
147 * PARAMETERS: Operand0 - First source object 147 * PARAMETERS: operand0 - First source object
148 * Operand1 - Second source object 148 * operand1 - Second source object
149 * actual_return_desc - Where to place the return object 149 * actual_return_desc - Where to place the return object
150 * walk_state - Current walk state 150 * walk_state - Current walk state
151 * 151 *
@@ -229,8 +229,8 @@ acpi_ex_concat_template(union acpi_operand_object *operand0,
229 * 229 *
230 * FUNCTION: acpi_ex_do_concatenate 230 * FUNCTION: acpi_ex_do_concatenate
231 * 231 *
232 * PARAMETERS: Operand0 - First source object 232 * PARAMETERS: operand0 - First source object
233 * Operand1 - Second source object 233 * operand1 - Second source object
234 * actual_return_desc - Where to place the return object 234 * actual_return_desc - Where to place the return object
235 * walk_state - Current walk state 235 * walk_state - Current walk state
236 * 236 *
@@ -397,9 +397,9 @@ acpi_ex_do_concatenate(union acpi_operand_object *operand0,
397 * 397 *
398 * FUNCTION: acpi_ex_do_math_op 398 * FUNCTION: acpi_ex_do_math_op
399 * 399 *
400 * PARAMETERS: Opcode - AML opcode 400 * PARAMETERS: opcode - AML opcode
401 * Integer0 - Integer operand #0 401 * integer0 - Integer operand #0
402 * Integer1 - Integer operand #1 402 * integer1 - Integer operand #1
403 * 403 *
404 * RETURN: Integer result of the operation 404 * RETURN: Integer result of the operation
405 * 405 *
@@ -479,9 +479,9 @@ u64 acpi_ex_do_math_op(u16 opcode, u64 integer0, u64 integer1)
479 * 479 *
480 * FUNCTION: acpi_ex_do_logical_numeric_op 480 * FUNCTION: acpi_ex_do_logical_numeric_op
481 * 481 *
482 * PARAMETERS: Opcode - AML opcode 482 * PARAMETERS: opcode - AML opcode
483 * Integer0 - Integer operand #0 483 * integer0 - Integer operand #0
484 * Integer1 - Integer operand #1 484 * integer1 - Integer operand #1
485 * logical_result - TRUE/FALSE result of the operation 485 * logical_result - TRUE/FALSE result of the operation
486 * 486 *
487 * RETURN: Status 487 * RETURN: Status
@@ -534,9 +534,9 @@ acpi_ex_do_logical_numeric_op(u16 opcode,
534 * 534 *
535 * FUNCTION: acpi_ex_do_logical_op 535 * FUNCTION: acpi_ex_do_logical_op
536 * 536 *
537 * PARAMETERS: Opcode - AML opcode 537 * PARAMETERS: opcode - AML opcode
538 * Operand0 - operand #0 538 * operand0 - operand #0
539 * Operand1 - operand #1 539 * operand1 - operand #1
540 * logical_result - TRUE/FALSE result of the operation 540 * logical_result - TRUE/FALSE result of the operation
541 * 541 *
542 * RETURN: Status 542 * RETURN: Status
diff --git a/drivers/acpi/acpica/exmutex.c b/drivers/acpi/acpica/exmutex.c
index 60933e9dc3c0..bcceda5be9e3 100644
--- a/drivers/acpi/acpica/exmutex.c
+++ b/drivers/acpi/acpica/exmutex.c
@@ -102,7 +102,7 @@ void acpi_ex_unlink_mutex(union acpi_operand_object *obj_desc)
102 * FUNCTION: acpi_ex_link_mutex 102 * FUNCTION: acpi_ex_link_mutex
103 * 103 *
104 * PARAMETERS: obj_desc - The mutex to be linked 104 * PARAMETERS: obj_desc - The mutex to be linked
105 * Thread - Current executing thread object 105 * thread - Current executing thread object
106 * 106 *
107 * RETURN: None 107 * RETURN: None
108 * 108 *
@@ -138,7 +138,7 @@ acpi_ex_link_mutex(union acpi_operand_object *obj_desc,
138 * 138 *
139 * FUNCTION: acpi_ex_acquire_mutex_object 139 * FUNCTION: acpi_ex_acquire_mutex_object
140 * 140 *
141 * PARAMETERS: Timeout - Timeout in milliseconds 141 * PARAMETERS: timeout - Timeout in milliseconds
142 * obj_desc - Mutex object 142 * obj_desc - Mutex object
143 * thread_id - Current thread state 143 * thread_id - Current thread state
144 * 144 *
@@ -443,7 +443,7 @@ acpi_ex_release_mutex(union acpi_operand_object *obj_desc,
443 * 443 *
444 * FUNCTION: acpi_ex_release_all_mutexes 444 * FUNCTION: acpi_ex_release_all_mutexes
445 * 445 *
446 * PARAMETERS: Thread - Current executing thread object 446 * PARAMETERS: thread - Current executing thread object
447 * 447 *
448 * RETURN: Status 448 * RETURN: Status
449 * 449 *
diff --git a/drivers/acpi/acpica/exprep.c b/drivers/acpi/acpica/exprep.c
index ae62038c9459..81eca60d2748 100644
--- a/drivers/acpi/acpica/exprep.c
+++ b/drivers/acpi/acpica/exprep.c
@@ -391,7 +391,7 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc,
391 * 391 *
392 * FUNCTION: acpi_ex_prep_field_value 392 * FUNCTION: acpi_ex_prep_field_value
393 * 393 *
394 * PARAMETERS: Info - Contains all field creation info 394 * PARAMETERS: info - Contains all field creation info
395 * 395 *
396 * RETURN: Status 396 * RETURN: Status
397 * 397 *
diff --git a/drivers/acpi/acpica/exregion.c b/drivers/acpi/acpica/exregion.c
index 12d51df6d3bf..1f1ce0c3d2f8 100644
--- a/drivers/acpi/acpica/exregion.c
+++ b/drivers/acpi/acpica/exregion.c
@@ -53,10 +53,10 @@ ACPI_MODULE_NAME("exregion")
53 * 53 *
54 * FUNCTION: acpi_ex_system_memory_space_handler 54 * FUNCTION: acpi_ex_system_memory_space_handler
55 * 55 *
56 * PARAMETERS: Function - Read or Write operation 56 * PARAMETERS: function - Read or Write operation
57 * Address - Where in the space to read or write 57 * address - Where in the space to read or write
58 * bit_width - Field width in bits (8, 16, or 32) 58 * bit_width - Field width in bits (8, 16, or 32)
59 * Value - Pointer to in or out value 59 * value - Pointer to in or out value
60 * handler_context - Pointer to Handler's context 60 * handler_context - Pointer to Handler's context
61 * region_context - Pointer to context specific to the 61 * region_context - Pointer to context specific to the
62 * accessed region 62 * accessed region
@@ -270,10 +270,10 @@ acpi_ex_system_memory_space_handler(u32 function,
270 * 270 *
271 * FUNCTION: acpi_ex_system_io_space_handler 271 * FUNCTION: acpi_ex_system_io_space_handler
272 * 272 *
273 * PARAMETERS: Function - Read or Write operation 273 * PARAMETERS: function - Read or Write operation
274 * Address - Where in the space to read or write 274 * address - Where in the space to read or write
275 * bit_width - Field width in bits (8, 16, or 32) 275 * bit_width - Field width in bits (8, 16, or 32)
276 * Value - Pointer to in or out value 276 * value - Pointer to in or out value
277 * handler_context - Pointer to Handler's context 277 * handler_context - Pointer to Handler's context
278 * region_context - Pointer to context specific to the 278 * region_context - Pointer to context specific to the
279 * accessed region 279 * accessed region
@@ -329,10 +329,10 @@ acpi_ex_system_io_space_handler(u32 function,
329 * 329 *
330 * FUNCTION: acpi_ex_pci_config_space_handler 330 * FUNCTION: acpi_ex_pci_config_space_handler
331 * 331 *
332 * PARAMETERS: Function - Read or Write operation 332 * PARAMETERS: function - Read or Write operation
333 * Address - Where in the space to read or write 333 * address - Where in the space to read or write
334 * bit_width - Field width in bits (8, 16, or 32) 334 * bit_width - Field width in bits (8, 16, or 32)
335 * Value - Pointer to in or out value 335 * value - Pointer to in or out value
336 * handler_context - Pointer to Handler's context 336 * handler_context - Pointer to Handler's context
337 * region_context - Pointer to context specific to the 337 * region_context - Pointer to context specific to the
338 * accessed region 338 * accessed region
@@ -365,7 +365,7 @@ acpi_ex_pci_config_space_handler(u32 function,
365 * pci_function is the PCI device function number 365 * pci_function is the PCI device function number
366 * pci_register is the Config space register range 0-255 bytes 366 * pci_register is the Config space register range 0-255 bytes
367 * 367 *
368 * Value - input value for write, output address for read 368 * value - input value for write, output address for read
369 * 369 *
370 */ 370 */
371 pci_id = (struct acpi_pci_id *)region_context; 371 pci_id = (struct acpi_pci_id *)region_context;
@@ -402,10 +402,10 @@ acpi_ex_pci_config_space_handler(u32 function,
402 * 402 *
403 * FUNCTION: acpi_ex_cmos_space_handler 403 * FUNCTION: acpi_ex_cmos_space_handler
404 * 404 *
405 * PARAMETERS: Function - Read or Write operation 405 * PARAMETERS: function - Read or Write operation
406 * Address - Where in the space to read or write 406 * address - Where in the space to read or write
407 * bit_width - Field width in bits (8, 16, or 32) 407 * bit_width - Field width in bits (8, 16, or 32)
408 * Value - Pointer to in or out value 408 * value - Pointer to in or out value
409 * handler_context - Pointer to Handler's context 409 * handler_context - Pointer to Handler's context
410 * region_context - Pointer to context specific to the 410 * region_context - Pointer to context specific to the
411 * accessed region 411 * accessed region
@@ -434,10 +434,10 @@ acpi_ex_cmos_space_handler(u32 function,
434 * 434 *
435 * FUNCTION: acpi_ex_pci_bar_space_handler 435 * FUNCTION: acpi_ex_pci_bar_space_handler
436 * 436 *
437 * PARAMETERS: Function - Read or Write operation 437 * PARAMETERS: function - Read or Write operation
438 * Address - Where in the space to read or write 438 * address - Where in the space to read or write
439 * bit_width - Field width in bits (8, 16, or 32) 439 * bit_width - Field width in bits (8, 16, or 32)
440 * Value - Pointer to in or out value 440 * value - Pointer to in or out value
441 * handler_context - Pointer to Handler's context 441 * handler_context - Pointer to Handler's context
442 * region_context - Pointer to context specific to the 442 * region_context - Pointer to context specific to the
443 * accessed region 443 * accessed region
@@ -466,10 +466,10 @@ acpi_ex_pci_bar_space_handler(u32 function,
466 * 466 *
467 * FUNCTION: acpi_ex_data_table_space_handler 467 * FUNCTION: acpi_ex_data_table_space_handler
468 * 468 *
469 * PARAMETERS: Function - Read or Write operation 469 * PARAMETERS: function - Read or Write operation
470 * Address - Where in the space to read or write 470 * address - Where in the space to read or write
471 * bit_width - Field width in bits (8, 16, or 32) 471 * bit_width - Field width in bits (8, 16, or 32)
472 * Value - Pointer to in or out value 472 * value - Pointer to in or out value
473 * handler_context - Pointer to Handler's context 473 * handler_context - Pointer to Handler's context
474 * region_context - Pointer to context specific to the 474 * region_context - Pointer to context specific to the
475 * accessed region 475 * accessed region
diff --git a/drivers/acpi/acpica/exresolv.c b/drivers/acpi/acpica/exresolv.c
index c6f0ad436c34..bbf40ac27585 100644
--- a/drivers/acpi/acpica/exresolv.c
+++ b/drivers/acpi/acpica/exresolv.c
@@ -321,7 +321,7 @@ acpi_ex_resolve_object_to_value(union acpi_operand_object **stack_ptr,
321 * FUNCTION: acpi_ex_resolve_multiple 321 * FUNCTION: acpi_ex_resolve_multiple
322 * 322 *
323 * PARAMETERS: walk_state - Current state (contains AML opcode) 323 * PARAMETERS: walk_state - Current state (contains AML opcode)
324 * Operand - Starting point for resolution 324 * operand - Starting point for resolution
325 * return_type - Where the object type is returned 325 * return_type - Where the object type is returned
326 * return_desc - Where the resolved object is returned 326 * return_desc - Where the resolved object is returned
327 * 327 *
diff --git a/drivers/acpi/acpica/exresop.c b/drivers/acpi/acpica/exresop.c
index a67b1d925ddd..f232fbabdea8 100644
--- a/drivers/acpi/acpica/exresop.c
+++ b/drivers/acpi/acpica/exresop.c
@@ -113,7 +113,7 @@ acpi_ex_check_object_type(acpi_object_type type_needed,
113 * 113 *
114 * FUNCTION: acpi_ex_resolve_operands 114 * FUNCTION: acpi_ex_resolve_operands
115 * 115 *
116 * PARAMETERS: Opcode - Opcode being interpreted 116 * PARAMETERS: opcode - Opcode being interpreted
117 * stack_ptr - Pointer to the operand stack to be 117 * stack_ptr - Pointer to the operand stack to be
118 * resolved 118 * resolved
119 * walk_state - Current state 119 * walk_state - Current state
@@ -307,7 +307,7 @@ acpi_ex_resolve_operands(u16 opcode,
307 case ARGI_DEVICE_REF: 307 case ARGI_DEVICE_REF:
308 case ARGI_TARGETREF: /* Allows implicit conversion rules before store */ 308 case ARGI_TARGETREF: /* Allows implicit conversion rules before store */
309 case ARGI_FIXED_TARGET: /* No implicit conversion before store to target */ 309 case ARGI_FIXED_TARGET: /* No implicit conversion before store to target */
310 case ARGI_SIMPLE_TARGET: /* Name, Local, or Arg - no implicit conversion */ 310 case ARGI_SIMPLE_TARGET: /* Name, Local, or arg - no implicit conversion */
311 311
312 /* 312 /*
313 * Need an operand of type ACPI_TYPE_LOCAL_REFERENCE 313 * Need an operand of type ACPI_TYPE_LOCAL_REFERENCE
@@ -410,7 +410,7 @@ acpi_ex_resolve_operands(u16 opcode,
410 /* 410 /*
411 * Need an operand of type ACPI_TYPE_INTEGER, 411 * Need an operand of type ACPI_TYPE_INTEGER,
412 * But we can implicitly convert from a STRING or BUFFER 412 * But we can implicitly convert from a STRING or BUFFER
413 * Aka - "Implicit Source Operand Conversion" 413 * aka - "Implicit Source Operand Conversion"
414 */ 414 */
415 status = 415 status =
416 acpi_ex_convert_to_integer(obj_desc, stack_ptr, 16); 416 acpi_ex_convert_to_integer(obj_desc, stack_ptr, 16);
@@ -437,7 +437,7 @@ acpi_ex_resolve_operands(u16 opcode,
437 /* 437 /*
438 * Need an operand of type ACPI_TYPE_BUFFER, 438 * Need an operand of type ACPI_TYPE_BUFFER,
439 * But we can implicitly convert from a STRING or INTEGER 439 * But we can implicitly convert from a STRING or INTEGER
440 * Aka - "Implicit Source Operand Conversion" 440 * aka - "Implicit Source Operand Conversion"
441 */ 441 */
442 status = acpi_ex_convert_to_buffer(obj_desc, stack_ptr); 442 status = acpi_ex_convert_to_buffer(obj_desc, stack_ptr);
443 if (ACPI_FAILURE(status)) { 443 if (ACPI_FAILURE(status)) {
@@ -463,7 +463,7 @@ acpi_ex_resolve_operands(u16 opcode,
463 /* 463 /*
464 * Need an operand of type ACPI_TYPE_STRING, 464 * Need an operand of type ACPI_TYPE_STRING,
465 * But we can implicitly convert from a BUFFER or INTEGER 465 * But we can implicitly convert from a BUFFER or INTEGER
466 * Aka - "Implicit Source Operand Conversion" 466 * aka - "Implicit Source Operand Conversion"
467 */ 467 */
468 status = acpi_ex_convert_to_string(obj_desc, stack_ptr, 468 status = acpi_ex_convert_to_string(obj_desc, stack_ptr,
469 ACPI_IMPLICIT_CONVERT_HEX); 469 ACPI_IMPLICIT_CONVERT_HEX);
diff --git a/drivers/acpi/acpica/exstore.c b/drivers/acpi/acpica/exstore.c
index 38c5048cfbe2..5fffe7ab5ece 100644
--- a/drivers/acpi/acpica/exstore.c
+++ b/drivers/acpi/acpica/exstore.c
@@ -361,7 +361,7 @@ acpi_ex_store_object_to_index(union acpi_operand_object *source_desc,
361 * FUNCTION: acpi_ex_store_object_to_node 361 * FUNCTION: acpi_ex_store_object_to_node
362 * 362 *
363 * PARAMETERS: source_desc - Value to be stored 363 * PARAMETERS: source_desc - Value to be stored
364 * Node - Named object to receive the value 364 * node - Named object to receive the value
365 * walk_state - Current walk state 365 * walk_state - Current walk state
366 * implicit_conversion - Perform implicit conversion (yes/no) 366 * implicit_conversion - Perform implicit conversion (yes/no)
367 * 367 *
diff --git a/drivers/acpi/acpica/exstorob.c b/drivers/acpi/acpica/exstorob.c
index 65a45d8335c8..53c248473547 100644
--- a/drivers/acpi/acpica/exstorob.c
+++ b/drivers/acpi/acpica/exstorob.c
@@ -110,7 +110,7 @@ acpi_ex_store_buffer_to_buffer(union acpi_operand_object *source_desc,
110 * NOTE: ACPI versions up to 3.0 specified that the buffer must be 110 * NOTE: ACPI versions up to 3.0 specified that the buffer must be
111 * truncated if the string is smaller than the buffer. However, "other" 111 * truncated if the string is smaller than the buffer. However, "other"
112 * implementations of ACPI never did this and thus became the defacto 112 * implementations of ACPI never did this and thus became the defacto
113 * standard. ACPI 3.0_a changes this behavior such that the buffer 113 * standard. ACPI 3.0A changes this behavior such that the buffer
114 * is no longer truncated. 114 * is no longer truncated.
115 */ 115 */
116 116
diff --git a/drivers/acpi/acpica/exsystem.c b/drivers/acpi/acpica/exsystem.c
index 191a12945226..b760641e2fc6 100644
--- a/drivers/acpi/acpica/exsystem.c
+++ b/drivers/acpi/acpica/exsystem.c
@@ -53,8 +53,8 @@ ACPI_MODULE_NAME("exsystem")
53 * 53 *
54 * FUNCTION: acpi_ex_system_wait_semaphore 54 * FUNCTION: acpi_ex_system_wait_semaphore
55 * 55 *
56 * PARAMETERS: Semaphore - Semaphore to wait on 56 * PARAMETERS: semaphore - Semaphore to wait on
57 * Timeout - Max time to wait 57 * timeout - Max time to wait
58 * 58 *
59 * RETURN: Status 59 * RETURN: Status
60 * 60 *
@@ -98,8 +98,8 @@ acpi_status acpi_ex_system_wait_semaphore(acpi_semaphore semaphore, u16 timeout)
98 * 98 *
99 * FUNCTION: acpi_ex_system_wait_mutex 99 * FUNCTION: acpi_ex_system_wait_mutex
100 * 100 *
101 * PARAMETERS: Mutex - Mutex to wait on 101 * PARAMETERS: mutex - Mutex to wait on
102 * Timeout - Max time to wait 102 * timeout - Max time to wait
103 * 103 *
104 * RETURN: Status 104 * RETURN: Status
105 * 105 *
diff --git a/drivers/acpi/acpica/exutils.c b/drivers/acpi/acpica/exutils.c
index 748240094085..d1ab7917eed7 100644
--- a/drivers/acpi/acpica/exutils.c
+++ b/drivers/acpi/acpica/exutils.c
@@ -317,8 +317,8 @@ void acpi_ex_release_global_lock(u32 field_flags)
317 * 317 *
318 * FUNCTION: acpi_ex_digits_needed 318 * FUNCTION: acpi_ex_digits_needed
319 * 319 *
320 * PARAMETERS: Value - Value to be represented 320 * PARAMETERS: value - Value to be represented
321 * Base - Base of representation 321 * base - Base of representation
322 * 322 *
323 * RETURN: The number of digits. 323 * RETURN: The number of digits.
324 * 324 *
@@ -408,7 +408,7 @@ void acpi_ex_eisa_id_to_string(char *out_string, u64 compressed_id)
408 * PARAMETERS: out_string - Where to put the converted string. At least 408 * PARAMETERS: out_string - Where to put the converted string. At least
409 * 21 bytes are needed to hold the largest 409 * 21 bytes are needed to hold the largest
410 * possible 64-bit integer. 410 * possible 64-bit integer.
411 * Value - Value to be converted 411 * value - Value to be converted
412 * 412 *
413 * RETURN: None, string 413 * RETURN: None, string
414 * 414 *
@@ -443,7 +443,7 @@ void acpi_ex_integer_to_string(char *out_string, u64 value)
443 * 443 *
444 * RETURN: TRUE if valid/supported ID. 444 * RETURN: TRUE if valid/supported ID.
445 * 445 *
446 * DESCRIPTION: Validate an operation region space_iD. 446 * DESCRIPTION: Validate an operation region space_ID.
447 * 447 *
448 ******************************************************************************/ 448 ******************************************************************************/
449 449
diff --git a/drivers/acpi/acpica/hwacpi.c b/drivers/acpi/acpica/hwacpi.c
index d0b9ed5df97e..a1e71d0ef57b 100644
--- a/drivers/acpi/acpica/hwacpi.c
+++ b/drivers/acpi/acpica/hwacpi.c
@@ -53,7 +53,7 @@ ACPI_MODULE_NAME("hwacpi")
53 * 53 *
54 * FUNCTION: acpi_hw_set_mode 54 * FUNCTION: acpi_hw_set_mode
55 * 55 *
56 * PARAMETERS: Mode - SYS_MODE_ACPI or SYS_MODE_LEGACY 56 * PARAMETERS: mode - SYS_MODE_ACPI or SYS_MODE_LEGACY
57 * 57 *
58 * RETURN: Status 58 * RETURN: Status
59 * 59 *
diff --git a/drivers/acpi/acpica/hwesleep.c b/drivers/acpi/acpica/hwesleep.c
index 3680c45b0827..48518dac5342 100644
--- a/drivers/acpi/acpica/hwesleep.c
+++ b/drivers/acpi/acpica/hwesleep.c
@@ -90,7 +90,7 @@ void acpi_hw_execute_sleep_method(char *method_pathname, u32 integer_argument)
90 * FUNCTION: acpi_hw_extended_sleep 90 * FUNCTION: acpi_hw_extended_sleep
91 * 91 *
92 * PARAMETERS: sleep_state - Which sleep state to enter 92 * PARAMETERS: sleep_state - Which sleep state to enter
93 * Flags - ACPI_EXECUTE_GTS to run optional method 93 * flags - ACPI_EXECUTE_GTS to run optional method
94 * 94 *
95 * RETURN: Status 95 * RETURN: Status
96 * 96 *
@@ -172,7 +172,7 @@ acpi_status acpi_hw_extended_sleep(u8 sleep_state, u8 flags)
172 * FUNCTION: acpi_hw_extended_wake_prep 172 * FUNCTION: acpi_hw_extended_wake_prep
173 * 173 *
174 * PARAMETERS: sleep_state - Which sleep state we just exited 174 * PARAMETERS: sleep_state - Which sleep state we just exited
175 * Flags - ACPI_EXECUTE_BFS to run optional method 175 * flags - ACPI_EXECUTE_BFS to run optional method
176 * 176 *
177 * RETURN: Status 177 * RETURN: Status
178 * 178 *
@@ -213,7 +213,7 @@ acpi_status acpi_hw_extended_wake_prep(u8 sleep_state, u8 flags)
213 * FUNCTION: acpi_hw_extended_wake 213 * FUNCTION: acpi_hw_extended_wake
214 * 214 *
215 * PARAMETERS: sleep_state - Which sleep state we just exited 215 * PARAMETERS: sleep_state - Which sleep state we just exited
216 * Flags - Reserved, set to zero 216 * flags - Reserved, set to zero
217 * 217 *
218 * RETURN: Status 218 * RETURN: Status
219 * 219 *
diff --git a/drivers/acpi/acpica/hwregs.c b/drivers/acpi/acpica/hwregs.c
index 6b6c83b87b52..4af6d20ef077 100644
--- a/drivers/acpi/acpica/hwregs.c
+++ b/drivers/acpi/acpica/hwregs.c
@@ -69,9 +69,9 @@ acpi_hw_write_multiple(u32 value,
69 * 69 *
70 * FUNCTION: acpi_hw_validate_register 70 * FUNCTION: acpi_hw_validate_register
71 * 71 *
72 * PARAMETERS: Reg - GAS register structure 72 * PARAMETERS: reg - GAS register structure
73 * max_bit_width - Max bit_width supported (32 or 64) 73 * max_bit_width - Max bit_width supported (32 or 64)
74 * Address - Pointer to where the gas->address 74 * address - Pointer to where the gas->address
75 * is returned 75 * is returned
76 * 76 *
77 * RETURN: Status 77 * RETURN: Status
@@ -102,7 +102,7 @@ acpi_hw_validate_register(struct acpi_generic_address *reg,
102 return (AE_BAD_ADDRESS); 102 return (AE_BAD_ADDRESS);
103 } 103 }
104 104
105 /* Validate the space_iD */ 105 /* Validate the space_ID */
106 106
107 if ((reg->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) && 107 if ((reg->space_id != ACPI_ADR_SPACE_SYSTEM_MEMORY) &&
108 (reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO)) { 108 (reg->space_id != ACPI_ADR_SPACE_SYSTEM_IO)) {
@@ -137,8 +137,8 @@ acpi_hw_validate_register(struct acpi_generic_address *reg,
137 * 137 *
138 * FUNCTION: acpi_hw_read 138 * FUNCTION: acpi_hw_read
139 * 139 *
140 * PARAMETERS: Value - Where the value is returned 140 * PARAMETERS: value - Where the value is returned
141 * Reg - GAS register structure 141 * reg - GAS register structure
142 * 142 *
143 * RETURN: Status 143 * RETURN: Status
144 * 144 *
@@ -148,7 +148,7 @@ acpi_hw_validate_register(struct acpi_generic_address *reg,
148 * 148 *
149 * LIMITATIONS: <These limitations also apply to acpi_hw_write> 149 * LIMITATIONS: <These limitations also apply to acpi_hw_write>
150 * bit_width must be exactly 8, 16, or 32. 150 * bit_width must be exactly 8, 16, or 32.
151 * space_iD must be system_memory or system_iO. 151 * space_ID must be system_memory or system_IO.
152 * bit_offset and access_width are currently ignored, as there has 152 * bit_offset and access_width are currently ignored, as there has
153 * not been a need to implement these. 153 * not been a need to implement these.
154 * 154 *
@@ -200,8 +200,8 @@ acpi_status acpi_hw_read(u32 *value, struct acpi_generic_address *reg)
200 * 200 *
201 * FUNCTION: acpi_hw_write 201 * FUNCTION: acpi_hw_write
202 * 202 *
203 * PARAMETERS: Value - Value to be written 203 * PARAMETERS: value - Value to be written
204 * Reg - GAS register structure 204 * reg - GAS register structure
205 * 205 *
206 * RETURN: Status 206 * RETURN: Status
207 * 207 *
@@ -439,7 +439,7 @@ acpi_hw_register_read(u32 register_id, u32 * return_value)
439 * FUNCTION: acpi_hw_register_write 439 * FUNCTION: acpi_hw_register_write
440 * 440 *
441 * PARAMETERS: register_id - ACPI Register ID 441 * PARAMETERS: register_id - ACPI Register ID
442 * Value - The value to write 442 * value - The value to write
443 * 443 *
444 * RETURN: Status 444 * RETURN: Status
445 * 445 *
@@ -571,7 +571,7 @@ acpi_status acpi_hw_register_write(u32 register_id, u32 value)
571 * 571 *
572 * FUNCTION: acpi_hw_read_multiple 572 * FUNCTION: acpi_hw_read_multiple
573 * 573 *
574 * PARAMETERS: Value - Where the register value is returned 574 * PARAMETERS: value - Where the register value is returned
575 * register_a - First ACPI register (required) 575 * register_a - First ACPI register (required)
576 * register_b - Second ACPI register (optional) 576 * register_b - Second ACPI register (optional)
577 * 577 *
@@ -624,7 +624,7 @@ acpi_hw_read_multiple(u32 *value,
624 * 624 *
625 * FUNCTION: acpi_hw_write_multiple 625 * FUNCTION: acpi_hw_write_multiple
626 * 626 *
627 * PARAMETERS: Value - The value to write 627 * PARAMETERS: value - The value to write
628 * register_a - First ACPI register (required) 628 * register_a - First ACPI register (required)
629 * register_b - Second ACPI register (optional) 629 * register_b - Second ACPI register (optional)
630 * 630 *
diff --git a/drivers/acpi/acpica/hwsleep.c b/drivers/acpi/acpica/hwsleep.c
index 0ed85cac3231..8049fbe9d5de 100644
--- a/drivers/acpi/acpica/hwsleep.c
+++ b/drivers/acpi/acpica/hwsleep.c
@@ -56,7 +56,7 @@ ACPI_MODULE_NAME("hwsleep")
56 * FUNCTION: acpi_hw_legacy_sleep 56 * FUNCTION: acpi_hw_legacy_sleep
57 * 57 *
58 * PARAMETERS: sleep_state - Which sleep state to enter 58 * PARAMETERS: sleep_state - Which sleep state to enter
59 * Flags - ACPI_EXECUTE_GTS to run optional method 59 * flags - ACPI_EXECUTE_GTS to run optional method
60 * 60 *
61 * RETURN: Status 61 * RETURN: Status
62 * 62 *
@@ -226,7 +226,7 @@ acpi_status acpi_hw_legacy_sleep(u8 sleep_state, u8 flags)
226 * FUNCTION: acpi_hw_legacy_wake_prep 226 * FUNCTION: acpi_hw_legacy_wake_prep
227 * 227 *
228 * PARAMETERS: sleep_state - Which sleep state we just exited 228 * PARAMETERS: sleep_state - Which sleep state we just exited
229 * Flags - ACPI_EXECUTE_BFS to run optional method 229 * flags - ACPI_EXECUTE_BFS to run optional method
230 * 230 *
231 * RETURN: Status 231 * RETURN: Status
232 * 232 *
@@ -300,7 +300,7 @@ acpi_status acpi_hw_legacy_wake_prep(u8 sleep_state, u8 flags)
300 * FUNCTION: acpi_hw_legacy_wake 300 * FUNCTION: acpi_hw_legacy_wake
301 * 301 *
302 * PARAMETERS: sleep_state - Which sleep state we just exited 302 * PARAMETERS: sleep_state - Which sleep state we just exited
303 * Flags - Reserved, set to zero 303 * flags - Reserved, set to zero
304 * 304 *
305 * RETURN: Status 305 * RETURN: Status
306 * 306 *
diff --git a/drivers/acpi/acpica/hwtimer.c b/drivers/acpi/acpica/hwtimer.c
index f1b2c3b94cac..b6411f16832f 100644
--- a/drivers/acpi/acpica/hwtimer.c
+++ b/drivers/acpi/acpica/hwtimer.c
@@ -54,7 +54,7 @@ ACPI_MODULE_NAME("hwtimer")
54 * 54 *
55 * FUNCTION: acpi_get_timer_resolution 55 * FUNCTION: acpi_get_timer_resolution
56 * 56 *
57 * PARAMETERS: Resolution - Where the resolution is returned 57 * PARAMETERS: resolution - Where the resolution is returned
58 * 58 *
59 * RETURN: Status and timer resolution 59 * RETURN: Status and timer resolution
60 * 60 *
@@ -84,7 +84,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_timer_resolution)
84 * 84 *
85 * FUNCTION: acpi_get_timer 85 * FUNCTION: acpi_get_timer
86 * 86 *
87 * PARAMETERS: Ticks - Where the timer value is returned 87 * PARAMETERS: ticks - Where the timer value is returned
88 * 88 *
89 * RETURN: Status and current timer value (ticks) 89 * RETURN: Status and current timer value (ticks)
90 * 90 *
diff --git a/drivers/acpi/acpica/hwvalid.c b/drivers/acpi/acpica/hwvalid.c
index 6e5c43a60bb7..c99d546b217f 100644
--- a/drivers/acpi/acpica/hwvalid.c
+++ b/drivers/acpi/acpica/hwvalid.c
@@ -58,7 +58,7 @@ acpi_hw_validate_io_request(acpi_io_address address, u32 bit_width);
58 * 58 *
59 * The table is used to implement the Microsoft port access rules that 59 * The table is used to implement the Microsoft port access rules that
60 * first appeared in Windows XP. Some ports are always illegal, and some 60 * first appeared in Windows XP. Some ports are always illegal, and some
61 * ports are only illegal if the BIOS calls _OSI with a win_xP string or 61 * ports are only illegal if the BIOS calls _OSI with a win_XP string or
62 * later (meaning that the BIOS itelf is post-XP.) 62 * later (meaning that the BIOS itelf is post-XP.)
63 * 63 *
64 * This provides ACPICA with the desired port protections and 64 * 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);
66 * 66 *
67 * Description of port entries: 67 * Description of port entries:
68 * DMA: DMA controller 68 * DMA: DMA controller
69 * PIC0: Programmable Interrupt Controller (8259_a) 69 * PIC0: Programmable Interrupt Controller (8259A)
70 * PIT1: System Timer 1 70 * PIT1: System Timer 1
71 * PIT2: System Timer 2 failsafe 71 * PIT2: System Timer 2 failsafe
72 * RTC: Real-time clock 72 * RTC: Real-time clock
diff --git a/drivers/acpi/acpica/hwxface.c b/drivers/acpi/acpica/hwxface.c
index a716fede4f25..7bfd649d1996 100644
--- a/drivers/acpi/acpica/hwxface.c
+++ b/drivers/acpi/acpica/hwxface.c
@@ -104,8 +104,8 @@ ACPI_EXPORT_SYMBOL(acpi_reset)
104 * 104 *
105 * FUNCTION: acpi_read 105 * FUNCTION: acpi_read
106 * 106 *
107 * PARAMETERS: Value - Where the value is returned 107 * PARAMETERS: value - Where the value is returned
108 * Reg - GAS register structure 108 * reg - GAS register structure
109 * 109 *
110 * RETURN: Status 110 * RETURN: Status
111 * 111 *
@@ -113,7 +113,7 @@ ACPI_EXPORT_SYMBOL(acpi_reset)
113 * 113 *
114 * LIMITATIONS: <These limitations also apply to acpi_write> 114 * LIMITATIONS: <These limitations also apply to acpi_write>
115 * bit_width must be exactly 8, 16, 32, or 64. 115 * bit_width must be exactly 8, 16, 32, or 64.
116 * space_iD must be system_memory or system_iO. 116 * space_ID must be system_memory or system_IO.
117 * bit_offset and access_width are currently ignored, as there has 117 * bit_offset and access_width are currently ignored, as there has
118 * not been a need to implement these. 118 * not been a need to implement these.
119 * 119 *
@@ -196,8 +196,8 @@ ACPI_EXPORT_SYMBOL(acpi_read)
196 * 196 *
197 * FUNCTION: acpi_write 197 * FUNCTION: acpi_write
198 * 198 *
199 * PARAMETERS: Value - Value to be written 199 * PARAMETERS: value - Value to be written
200 * Reg - GAS register structure 200 * reg - GAS register structure
201 * 201 *
202 * RETURN: Status 202 * RETURN: Status
203 * 203 *
@@ -441,7 +441,7 @@ ACPI_EXPORT_SYMBOL(acpi_write_bit_register)
441 * *sleep_type_a - Where SLP_TYPa is returned 441 * *sleep_type_a - Where SLP_TYPa is returned
442 * *sleep_type_b - Where SLP_TYPb is returned 442 * *sleep_type_b - Where SLP_TYPb is returned
443 * 443 *
444 * RETURN: Status - ACPI status 444 * RETURN: status - ACPI status
445 * 445 *
446 * DESCRIPTION: Obtain the SLP_TYPa and SLP_TYPb values for the requested sleep 446 * DESCRIPTION: Obtain the SLP_TYPa and SLP_TYPb values for the requested sleep
447 * state. 447 * state.
diff --git a/drivers/acpi/acpica/hwxfsleep.c b/drivers/acpi/acpica/hwxfsleep.c
index 762d059bb508..f8684bfe7907 100644
--- a/drivers/acpi/acpica/hwxfsleep.c
+++ b/drivers/acpi/acpica/hwxfsleep.c
@@ -205,7 +205,7 @@ acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void)
205 ACPI_FLUSH_CPU_CACHE(); 205 ACPI_FLUSH_CPU_CACHE();
206 206
207 status = acpi_hw_write_port(acpi_gbl_FADT.smi_command, 207 status = acpi_hw_write_port(acpi_gbl_FADT.smi_command,
208 (u32)acpi_gbl_FADT.S4bios_request, 8); 208 (u32)acpi_gbl_FADT.s4_bios_request, 8);
209 209
210 do { 210 do {
211 acpi_os_stall(1000); 211 acpi_os_stall(1000);
@@ -349,7 +349,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state_prep)
349 * FUNCTION: acpi_enter_sleep_state 349 * FUNCTION: acpi_enter_sleep_state
350 * 350 *
351 * PARAMETERS: sleep_state - Which sleep state to enter 351 * PARAMETERS: sleep_state - Which sleep state to enter
352 * Flags - ACPI_EXECUTE_GTS to run optional method 352 * flags - ACPI_EXECUTE_GTS to run optional method
353 * 353 *
354 * RETURN: Status 354 * RETURN: Status
355 * 355 *
@@ -382,7 +382,7 @@ ACPI_EXPORT_SYMBOL(acpi_enter_sleep_state)
382 * FUNCTION: acpi_leave_sleep_state_prep 382 * FUNCTION: acpi_leave_sleep_state_prep
383 * 383 *
384 * PARAMETERS: sleep_state - Which sleep state we are exiting 384 * PARAMETERS: sleep_state - Which sleep state we are exiting
385 * Flags - ACPI_EXECUTE_BFS to run optional method 385 * flags - ACPI_EXECUTE_BFS to run optional method
386 * 386 *
387 * RETURN: Status 387 * RETURN: Status
388 * 388 *
diff --git a/drivers/acpi/acpica/nsaccess.c b/drivers/acpi/acpica/nsaccess.c
index 61623f3f6826..23db53ce2293 100644
--- a/drivers/acpi/acpica/nsaccess.c
+++ b/drivers/acpi/acpica/nsaccess.c
@@ -157,7 +157,7 @@ acpi_status acpi_ns_root_initialize(void)
157 157
158#if defined (ACPI_ASL_COMPILER) 158#if defined (ACPI_ASL_COMPILER)
159 159
160 /* Save the parameter count for the i_aSL compiler */ 160 /* Save the parameter count for the iASL compiler */
161 161
162 new_node->value = obj_desc->method.param_count; 162 new_node->value = obj_desc->method.param_count;
163#else 163#else
@@ -258,11 +258,11 @@ acpi_status acpi_ns_root_initialize(void)
258 * FUNCTION: acpi_ns_lookup 258 * FUNCTION: acpi_ns_lookup
259 * 259 *
260 * PARAMETERS: scope_info - Current scope info block 260 * PARAMETERS: scope_info - Current scope info block
261 * Pathname - Search pathname, in internal format 261 * pathname - Search pathname, in internal format
262 * (as represented in the AML stream) 262 * (as represented in the AML stream)
263 * Type - Type associated with name 263 * type - Type associated with name
264 * interpreter_mode - IMODE_LOAD_PASS2 => add name if not found 264 * interpreter_mode - IMODE_LOAD_PASS2 => add name if not found
265 * Flags - Flags describing the search restrictions 265 * flags - Flags describing the search restrictions
266 * walk_state - Current state of the walk 266 * walk_state - Current state of the walk
267 * return_node - Where the Node is placed (if found 267 * return_node - Where the Node is placed (if found
268 * or created successfully) 268 * or created successfully)
diff --git a/drivers/acpi/acpica/nsalloc.c b/drivers/acpi/acpica/nsalloc.c
index 7c3d3ceb98b3..ac389e5bb594 100644
--- a/drivers/acpi/acpica/nsalloc.c
+++ b/drivers/acpi/acpica/nsalloc.c
@@ -52,7 +52,7 @@ ACPI_MODULE_NAME("nsalloc")
52 * 52 *
53 * FUNCTION: acpi_ns_create_node 53 * FUNCTION: acpi_ns_create_node
54 * 54 *
55 * PARAMETERS: Name - Name of the new node (4 char ACPI name) 55 * PARAMETERS: name - Name of the new node (4 char ACPI name)
56 * 56 *
57 * RETURN: New namespace node (Null on failure) 57 * RETURN: New namespace node (Null on failure)
58 * 58 *
@@ -92,7 +92,7 @@ struct acpi_namespace_node *acpi_ns_create_node(u32 name)
92 * 92 *
93 * FUNCTION: acpi_ns_delete_node 93 * FUNCTION: acpi_ns_delete_node
94 * 94 *
95 * PARAMETERS: Node - Node to be deleted 95 * PARAMETERS: node - Node to be deleted
96 * 96 *
97 * RETURN: None 97 * RETURN: None
98 * 98 *
@@ -143,7 +143,7 @@ void acpi_ns_delete_node(struct acpi_namespace_node *node)
143 * 143 *
144 * FUNCTION: acpi_ns_remove_node 144 * FUNCTION: acpi_ns_remove_node
145 * 145 *
146 * PARAMETERS: Node - Node to be removed/deleted 146 * PARAMETERS: node - Node to be removed/deleted
147 * 147 *
148 * RETURN: None 148 * RETURN: None
149 * 149 *
@@ -196,8 +196,8 @@ void acpi_ns_remove_node(struct acpi_namespace_node *node)
196 * 196 *
197 * PARAMETERS: walk_state - Current state of the walk 197 * PARAMETERS: walk_state - Current state of the walk
198 * parent_node - The parent of the new Node 198 * parent_node - The parent of the new Node
199 * Node - The new Node to install 199 * node - The new Node to install
200 * Type - ACPI object type of the new Node 200 * type - ACPI object type of the new Node
201 * 201 *
202 * RETURN: None 202 * RETURN: None
203 * 203 *
diff --git a/drivers/acpi/acpica/nsdump.c b/drivers/acpi/acpica/nsdump.c
index 3f7f3f6e7dd5..7ee4e6aeb0a2 100644
--- a/drivers/acpi/acpica/nsdump.c
+++ b/drivers/acpi/acpica/nsdump.c
@@ -63,7 +63,7 @@ acpi_ns_dump_one_device(acpi_handle obj_handle,
63 * FUNCTION: acpi_ns_print_pathname 63 * FUNCTION: acpi_ns_print_pathname
64 * 64 *
65 * PARAMETERS: num_segments - Number of ACPI name segments 65 * PARAMETERS: num_segments - Number of ACPI name segments
66 * Pathname - The compressed (internal) path 66 * pathname - The compressed (internal) path
67 * 67 *
68 * RETURN: None 68 * RETURN: None
69 * 69 *
@@ -107,10 +107,10 @@ void acpi_ns_print_pathname(u32 num_segments, char *pathname)
107 * 107 *
108 * FUNCTION: acpi_ns_dump_pathname 108 * FUNCTION: acpi_ns_dump_pathname
109 * 109 *
110 * PARAMETERS: Handle - Object 110 * PARAMETERS: handle - Object
111 * Msg - Prefix message 111 * msg - Prefix message
112 * Level - Desired debug level 112 * level - Desired debug level
113 * Component - Caller's component ID 113 * component - Caller's component ID
114 * 114 *
115 * RETURN: None 115 * RETURN: None
116 * 116 *
@@ -143,8 +143,8 @@ acpi_ns_dump_pathname(acpi_handle handle, char *msg, u32 level, u32 component)
143 * FUNCTION: acpi_ns_dump_one_object 143 * FUNCTION: acpi_ns_dump_one_object
144 * 144 *
145 * PARAMETERS: obj_handle - Node to be dumped 145 * PARAMETERS: obj_handle - Node to be dumped
146 * Level - Nesting level of the handle 146 * level - Nesting level of the handle
147 * Context - Passed into walk_namespace 147 * context - Passed into walk_namespace
148 * return_value - Not used 148 * return_value - Not used
149 * 149 *
150 * RETURN: Status 150 * RETURN: Status
@@ -615,7 +615,7 @@ acpi_ns_dump_one_object(acpi_handle obj_handle,
615 * 615 *
616 * FUNCTION: acpi_ns_dump_objects 616 * FUNCTION: acpi_ns_dump_objects
617 * 617 *
618 * PARAMETERS: Type - Object type to be dumped 618 * PARAMETERS: type - Object type to be dumped
619 * display_type - 0 or ACPI_DISPLAY_SUMMARY 619 * display_type - 0 or ACPI_DISPLAY_SUMMARY
620 * max_depth - Maximum depth of dump. Use ACPI_UINT32_MAX 620 * max_depth - Maximum depth of dump. Use ACPI_UINT32_MAX
621 * for an effectively unlimited depth. 621 * for an effectively unlimited depth.
@@ -671,7 +671,7 @@ acpi_ns_dump_objects(acpi_object_type type,
671 * 671 *
672 * FUNCTION: acpi_ns_dump_entry 672 * FUNCTION: acpi_ns_dump_entry
673 * 673 *
674 * PARAMETERS: Handle - Node to be dumped 674 * PARAMETERS: handle - Node to be dumped
675 * debug_level - Output level 675 * debug_level - Output level
676 * 676 *
677 * RETURN: None 677 * RETURN: None
diff --git a/drivers/acpi/acpica/nsdumpdv.c b/drivers/acpi/acpica/nsdumpdv.c
index 3b5acb0eb406..944d4c8d9438 100644
--- a/drivers/acpi/acpica/nsdumpdv.c
+++ b/drivers/acpi/acpica/nsdumpdv.c
@@ -55,9 +55,9 @@ ACPI_MODULE_NAME("nsdumpdv")
55 * 55 *
56 * FUNCTION: acpi_ns_dump_one_device 56 * FUNCTION: acpi_ns_dump_one_device
57 * 57 *
58 * PARAMETERS: Handle - Node to be dumped 58 * PARAMETERS: handle - Node to be dumped
59 * Level - Nesting level of the handle 59 * level - Nesting level of the handle
60 * Context - Passed into walk_namespace 60 * context - Passed into walk_namespace
61 * return_value - Not used 61 * return_value - Not used
62 * 62 *
63 * RETURN: Status 63 * RETURN: Status
diff --git a/drivers/acpi/acpica/nseval.c b/drivers/acpi/acpica/nseval.c
index f375cb82e321..69074be498e8 100644
--- a/drivers/acpi/acpica/nseval.c
+++ b/drivers/acpi/acpica/nseval.c
@@ -59,11 +59,11 @@ acpi_ns_exec_module_code(union acpi_operand_object *method_obj,
59 * 59 *
60 * FUNCTION: acpi_ns_evaluate 60 * FUNCTION: acpi_ns_evaluate
61 * 61 *
62 * PARAMETERS: Info - Evaluation info block, contains: 62 * PARAMETERS: info - Evaluation info block, contains:
63 * prefix_node - Prefix or Method/Object Node to execute 63 * prefix_node - Prefix or Method/Object Node to execute
64 * Pathname - Name of method to execute, If NULL, the 64 * pathname - Name of method to execute, If NULL, the
65 * Node is the object to execute 65 * Node is the object to execute
66 * Parameters - List of parameters to pass to the method, 66 * parameters - List of parameters to pass to the method,
67 * terminated by NULL. Params itself may be 67 * terminated by NULL. Params itself may be
68 * NULL if no parameters are being passed. 68 * NULL if no parameters are being passed.
69 * return_object - Where to put method's return value (if 69 * 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,
71 * parameter_type - Type of Parameter list 71 * parameter_type - Type of Parameter list
72 * return_object - Where to put method's return value (if 72 * return_object - Where to put method's return value (if
73 * any). If NULL, no value is returned. 73 * any). If NULL, no value is returned.
74 * Flags - ACPI_IGNORE_RETURN_VALUE to delete return 74 * flags - ACPI_IGNORE_RETURN_VALUE to delete return
75 * 75 *
76 * RETURN: Status 76 * RETURN: Status
77 * 77 *
@@ -351,7 +351,7 @@ void acpi_ns_exec_module_code_list(void)
351 * FUNCTION: acpi_ns_exec_module_code 351 * FUNCTION: acpi_ns_exec_module_code
352 * 352 *
353 * PARAMETERS: method_obj - Object container for the module-level code 353 * PARAMETERS: method_obj - Object container for the module-level code
354 * Info - Info block for method evaluation 354 * info - Info block for method evaluation
355 * 355 *
356 * RETURN: None. Exceptions during method execution are ignored, since 356 * RETURN: None. Exceptions during method execution are ignored, since
357 * we cannot abort a table load. 357 * we cannot abort a table load.
diff --git a/drivers/acpi/acpica/nsinit.c b/drivers/acpi/acpica/nsinit.c
index 9d84ec2f0211..95ffe8dfa1f1 100644
--- a/drivers/acpi/acpica/nsinit.c
+++ b/drivers/acpi/acpica/nsinit.c
@@ -224,8 +224,8 @@ acpi_status acpi_ns_initialize_devices(void)
224 * FUNCTION: acpi_ns_init_one_object 224 * FUNCTION: acpi_ns_init_one_object
225 * 225 *
226 * PARAMETERS: obj_handle - Node 226 * PARAMETERS: obj_handle - Node
227 * Level - Current nesting level 227 * level - Current nesting level
228 * Context - Points to a init info struct 228 * context - Points to a init info struct
229 * return_value - Not used 229 * return_value - Not used
230 * 230 *
231 * RETURN: Status 231 * RETURN: Status
@@ -530,7 +530,7 @@ acpi_ns_init_one_device(acpi_handle obj_handle,
530 * we will not run _INI, but we continue to examine the children 530 * we will not run _INI, but we continue to examine the children
531 * of this device. 531 * of this device.
532 * 532 *
533 * From the ACPI spec, description of _STA: (Note - no mention 533 * From the ACPI spec, description of _STA: (note - no mention
534 * of whether to run _INI or not on the device in question) 534 * of whether to run _INI or not on the device in question)
535 * 535 *
536 * "_STA may return bit 0 clear (not present) with bit 3 set 536 * "_STA may return bit 0 clear (not present) with bit 3 set
diff --git a/drivers/acpi/acpica/nsload.c b/drivers/acpi/acpica/nsload.c
index 5cbf15ffe7d8..76935ff29289 100644
--- a/drivers/acpi/acpica/nsload.c
+++ b/drivers/acpi/acpica/nsload.c
@@ -63,7 +63,7 @@ static acpi_status acpi_ns_delete_subtree(acpi_handle start_handle);
63 * FUNCTION: acpi_ns_load_table 63 * FUNCTION: acpi_ns_load_table
64 * 64 *
65 * PARAMETERS: table_index - Index for table to be loaded 65 * PARAMETERS: table_index - Index for table to be loaded
66 * Node - Owning NS node 66 * node - Owning NS node
67 * 67 *
68 * RETURN: Status 68 * RETURN: Status
69 * 69 *
@@ -278,7 +278,7 @@ static acpi_status acpi_ns_delete_subtree(acpi_handle start_handle)
278 * 278 *
279 * FUNCTION: acpi_ns_unload_name_space 279 * FUNCTION: acpi_ns_unload_name_space
280 * 280 *
281 * PARAMETERS: Handle - Root of namespace subtree to be deleted 281 * PARAMETERS: handle - Root of namespace subtree to be deleted
282 * 282 *
283 * RETURN: Status 283 * RETURN: Status
284 * 284 *
diff --git a/drivers/acpi/acpica/nsnames.c b/drivers/acpi/acpica/nsnames.c
index b20e7c8c3ffb..96e0eb609bb4 100644
--- a/drivers/acpi/acpica/nsnames.c
+++ b/drivers/acpi/acpica/nsnames.c
@@ -53,8 +53,8 @@ ACPI_MODULE_NAME("nsnames")
53 * 53 *
54 * FUNCTION: acpi_ns_build_external_path 54 * FUNCTION: acpi_ns_build_external_path
55 * 55 *
56 * PARAMETERS: Node - NS node whose pathname is needed 56 * PARAMETERS: node - NS node whose pathname is needed
57 * Size - Size of the pathname 57 * size - Size of the pathname
58 * *name_buffer - Where to return the pathname 58 * *name_buffer - Where to return the pathname
59 * 59 *
60 * RETURN: Status 60 * RETURN: Status
@@ -120,7 +120,7 @@ acpi_ns_build_external_path(struct acpi_namespace_node *node,
120 * 120 *
121 * FUNCTION: acpi_ns_get_external_pathname 121 * FUNCTION: acpi_ns_get_external_pathname
122 * 122 *
123 * PARAMETERS: Node - Namespace node whose pathname is needed 123 * PARAMETERS: node - Namespace node whose pathname is needed
124 * 124 *
125 * RETURN: Pointer to storage containing the fully qualified name of 125 * RETURN: Pointer to storage containing the fully qualified name of
126 * the node, In external format (name segments separated by path 126 * 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)
168 * 168 *
169 * FUNCTION: acpi_ns_get_pathname_length 169 * FUNCTION: acpi_ns_get_pathname_length
170 * 170 *
171 * PARAMETERS: Node - Namespace node 171 * PARAMETERS: node - Namespace node
172 * 172 *
173 * RETURN: Length of path, including prefix 173 * RETURN: Length of path, including prefix
174 * 174 *
@@ -214,7 +214,7 @@ acpi_size acpi_ns_get_pathname_length(struct acpi_namespace_node *node)
214 * 214 *
215 * PARAMETERS: target_handle - Handle of named object whose name is 215 * PARAMETERS: target_handle - Handle of named object whose name is
216 * to be found 216 * to be found
217 * Buffer - Where the pathname is returned 217 * buffer - Where the pathname is returned
218 * 218 *
219 * RETURN: Status, Buffer is filled with pathname if status is AE_OK 219 * RETURN: Status, Buffer is filled with pathname if status is AE_OK
220 * 220 *
diff --git a/drivers/acpi/acpica/nsobject.c b/drivers/acpi/acpica/nsobject.c
index dd77a3ce6e50..d6c9a3cc6716 100644
--- a/drivers/acpi/acpica/nsobject.c
+++ b/drivers/acpi/acpica/nsobject.c
@@ -53,9 +53,9 @@ ACPI_MODULE_NAME("nsobject")
53 * 53 *
54 * FUNCTION: acpi_ns_attach_object 54 * FUNCTION: acpi_ns_attach_object
55 * 55 *
56 * PARAMETERS: Node - Parent Node 56 * PARAMETERS: node - Parent Node
57 * Object - Object to be attached 57 * object - Object to be attached
58 * Type - Type of object, or ACPI_TYPE_ANY if not 58 * type - Type of object, or ACPI_TYPE_ANY if not
59 * known 59 * known
60 * 60 *
61 * RETURN: Status 61 * RETURN: Status
@@ -191,7 +191,7 @@ acpi_ns_attach_object(struct acpi_namespace_node *node,
191 * 191 *
192 * FUNCTION: acpi_ns_detach_object 192 * FUNCTION: acpi_ns_detach_object
193 * 193 *
194 * PARAMETERS: Node - A Namespace node whose object will be detached 194 * PARAMETERS: node - A Namespace node whose object will be detached
195 * 195 *
196 * RETURN: None. 196 * RETURN: None.
197 * 197 *
@@ -250,7 +250,7 @@ void acpi_ns_detach_object(struct acpi_namespace_node *node)
250 * 250 *
251 * FUNCTION: acpi_ns_get_attached_object 251 * FUNCTION: acpi_ns_get_attached_object
252 * 252 *
253 * PARAMETERS: Node - Namespace node 253 * PARAMETERS: node - Namespace node
254 * 254 *
255 * RETURN: Current value of the object field from the Node whose 255 * RETURN: Current value of the object field from the Node whose
256 * handle is passed 256 * handle is passed
@@ -285,7 +285,7 @@ union acpi_operand_object *acpi_ns_get_attached_object(struct
285 * 285 *
286 * FUNCTION: acpi_ns_get_secondary_object 286 * FUNCTION: acpi_ns_get_secondary_object
287 * 287 *
288 * PARAMETERS: Node - Namespace node 288 * PARAMETERS: node - Namespace node
289 * 289 *
290 * RETURN: Current value of the object field from the Node whose 290 * RETURN: Current value of the object field from the Node whose
291 * handle is passed. 291 * handle is passed.
@@ -315,9 +315,9 @@ union acpi_operand_object *acpi_ns_get_secondary_object(union
315 * 315 *
316 * FUNCTION: acpi_ns_attach_data 316 * FUNCTION: acpi_ns_attach_data
317 * 317 *
318 * PARAMETERS: Node - Namespace node 318 * PARAMETERS: node - Namespace node
319 * Handler - Handler to be associated with the data 319 * handler - Handler to be associated with the data
320 * Data - Data to be attached 320 * data - Data to be attached
321 * 321 *
322 * RETURN: Status 322 * RETURN: Status
323 * 323 *
@@ -372,8 +372,8 @@ acpi_ns_attach_data(struct acpi_namespace_node *node,
372 * 372 *
373 * FUNCTION: acpi_ns_detach_data 373 * FUNCTION: acpi_ns_detach_data
374 * 374 *
375 * PARAMETERS: Node - Namespace node 375 * PARAMETERS: node - Namespace node
376 * Handler - Handler associated with the data 376 * handler - Handler associated with the data
377 * 377 *
378 * RETURN: Status 378 * RETURN: Status
379 * 379 *
@@ -416,9 +416,9 @@ acpi_ns_detach_data(struct acpi_namespace_node * node,
416 * 416 *
417 * FUNCTION: acpi_ns_get_attached_data 417 * FUNCTION: acpi_ns_get_attached_data
418 * 418 *
419 * PARAMETERS: Node - Namespace node 419 * PARAMETERS: node - Namespace node
420 * Handler - Handler associated with the data 420 * handler - Handler associated with the data
421 * Data - Where the data is returned 421 * data - Where the data is returned
422 * 422 *
423 * RETURN: Status 423 * RETURN: Status
424 * 424 *
diff --git a/drivers/acpi/acpica/nspredef.c b/drivers/acpi/acpica/nspredef.c
index 23ce09686418..10b85aecd16e 100644
--- a/drivers/acpi/acpica/nspredef.c
+++ b/drivers/acpi/acpica/nspredef.c
@@ -116,7 +116,7 @@ static const char *acpi_rtype_names[] = {
116 * 116 *
117 * FUNCTION: acpi_ns_check_predefined_names 117 * FUNCTION: acpi_ns_check_predefined_names
118 * 118 *
119 * PARAMETERS: Node - Namespace node for the method/object 119 * PARAMETERS: node - Namespace node for the method/object
120 * user_param_count - Number of parameters actually passed 120 * user_param_count - Number of parameters actually passed
121 * return_status - Status from the object evaluation 121 * return_status - Status from the object evaluation
122 * return_object_ptr - Pointer to the object returned from the 122 * return_object_ptr - Pointer to the object returned from the
@@ -275,10 +275,10 @@ cleanup:
275 * 275 *
276 * FUNCTION: acpi_ns_check_parameter_count 276 * FUNCTION: acpi_ns_check_parameter_count
277 * 277 *
278 * PARAMETERS: Pathname - Full pathname to the node (for error msgs) 278 * PARAMETERS: pathname - Full pathname to the node (for error msgs)
279 * Node - Namespace node for the method/object 279 * node - Namespace node for the method/object
280 * user_param_count - Number of args passed in by the caller 280 * user_param_count - Number of args passed in by the caller
281 * Predefined - Pointer to entry in predefined name table 281 * predefined - Pointer to entry in predefined name table
282 * 282 *
283 * RETURN: None 283 * RETURN: None
284 * 284 *
@@ -364,7 +364,7 @@ acpi_ns_check_parameter_count(char *pathname,
364 * 364 *
365 * FUNCTION: acpi_ns_check_for_predefined_name 365 * FUNCTION: acpi_ns_check_for_predefined_name
366 * 366 *
367 * PARAMETERS: Node - Namespace node for the method/object 367 * PARAMETERS: node - Namespace node for the method/object
368 * 368 *
369 * RETURN: Pointer to entry in predefined table. NULL indicates not found. 369 * RETURN: Pointer to entry in predefined table. NULL indicates not found.
370 * 370 *
@@ -410,7 +410,7 @@ const union acpi_predefined_info *acpi_ns_check_for_predefined_name(struct
410 * 410 *
411 * FUNCTION: acpi_ns_check_package 411 * FUNCTION: acpi_ns_check_package
412 * 412 *
413 * PARAMETERS: Data - Pointer to validation data structure 413 * PARAMETERS: data - Pointer to validation data structure
414 * return_object_ptr - Pointer to the object returned from the 414 * return_object_ptr - Pointer to the object returned from the
415 * evaluation of a method or object 415 * evaluation of a method or object
416 * 416 *
@@ -685,11 +685,11 @@ package_too_small:
685 * 685 *
686 * FUNCTION: acpi_ns_check_package_list 686 * FUNCTION: acpi_ns_check_package_list
687 * 687 *
688 * PARAMETERS: Data - Pointer to validation data structure 688 * PARAMETERS: data - Pointer to validation data structure
689 * Package - Pointer to package-specific info for method 689 * package - Pointer to package-specific info for method
690 * Elements - Element list of parent package. All elements 690 * elements - Element list of parent package. All elements
691 * of this list should be of type Package. 691 * of this list should be of type Package.
692 * Count - Count of subpackages 692 * count - Count of subpackages
693 * 693 *
694 * RETURN: Status 694 * RETURN: Status
695 * 695 *
@@ -911,12 +911,12 @@ package_too_small:
911 * 911 *
912 * FUNCTION: acpi_ns_check_package_elements 912 * FUNCTION: acpi_ns_check_package_elements
913 * 913 *
914 * PARAMETERS: Data - Pointer to validation data structure 914 * PARAMETERS: data - Pointer to validation data structure
915 * Elements - Pointer to the package elements array 915 * elements - Pointer to the package elements array
916 * Type1 - Object type for first group 916 * type1 - Object type for first group
917 * Count1 - Count for first group 917 * count1 - Count for first group
918 * Type2 - Object type for second group 918 * type2 - Object type for second group
919 * Count2 - Count for second group 919 * count2 - Count for second group
920 * start_index - Start of the first group of elements 920 * start_index - Start of the first group of elements
921 * 921 *
922 * RETURN: Status 922 * RETURN: Status
@@ -968,7 +968,7 @@ acpi_ns_check_package_elements(struct acpi_predefined_data *data,
968 * 968 *
969 * FUNCTION: acpi_ns_check_object_type 969 * FUNCTION: acpi_ns_check_object_type
970 * 970 *
971 * PARAMETERS: Data - Pointer to validation data structure 971 * PARAMETERS: data - Pointer to validation data structure
972 * return_object_ptr - Pointer to the object returned from the 972 * return_object_ptr - Pointer to the object returned from the
973 * evaluation of a method or object 973 * evaluation of a method or object
974 * expected_btypes - Bitmap of expected return type(s) 974 * expected_btypes - Bitmap of expected return type(s)
@@ -1102,7 +1102,7 @@ acpi_ns_check_object_type(struct acpi_predefined_data *data,
1102 * 1102 *
1103 * FUNCTION: acpi_ns_check_reference 1103 * FUNCTION: acpi_ns_check_reference
1104 * 1104 *
1105 * PARAMETERS: Data - Pointer to validation data structure 1105 * PARAMETERS: data - Pointer to validation data structure
1106 * return_object - Object returned from the evaluation of a 1106 * return_object - Object returned from the evaluation of a
1107 * method or object 1107 * method or object
1108 * 1108 *
@@ -1140,7 +1140,7 @@ acpi_ns_check_reference(struct acpi_predefined_data *data,
1140 * 1140 *
1141 * FUNCTION: acpi_ns_get_expected_types 1141 * FUNCTION: acpi_ns_get_expected_types
1142 * 1142 *
1143 * PARAMETERS: Buffer - Pointer to where the string is returned 1143 * PARAMETERS: buffer - Pointer to where the string is returned
1144 * expected_btypes - Bitmap of expected return type(s) 1144 * expected_btypes - Bitmap of expected return type(s)
1145 * 1145 *
1146 * RETURN: Buffer is populated with type names. 1146 * RETURN: Buffer is populated with type names.
diff --git a/drivers/acpi/acpica/nsrepair.c b/drivers/acpi/acpica/nsrepair.c
index 5519a64a353f..8c5f292860fc 100644
--- a/drivers/acpi/acpica/nsrepair.c
+++ b/drivers/acpi/acpica/nsrepair.c
@@ -94,7 +94,7 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
94 * 94 *
95 * FUNCTION: acpi_ns_repair_object 95 * FUNCTION: acpi_ns_repair_object
96 * 96 *
97 * PARAMETERS: Data - Pointer to validation data structure 97 * PARAMETERS: data - Pointer to validation data structure
98 * expected_btypes - Object types expected 98 * expected_btypes - Object types expected
99 * package_index - Index of object within parent package (if 99 * package_index - Index of object within parent package (if
100 * applicable - ACPI_NOT_PACKAGE_ELEMENT 100 * applicable - ACPI_NOT_PACKAGE_ELEMENT
@@ -470,7 +470,7 @@ acpi_ns_convert_to_buffer(union acpi_operand_object *original_object,
470 * 470 *
471 * FUNCTION: acpi_ns_repair_null_element 471 * FUNCTION: acpi_ns_repair_null_element
472 * 472 *
473 * PARAMETERS: Data - Pointer to validation data structure 473 * PARAMETERS: data - Pointer to validation data structure
474 * expected_btypes - Object types expected 474 * expected_btypes - Object types expected
475 * package_index - Index of object within parent package (if 475 * package_index - Index of object within parent package (if
476 * applicable - ACPI_NOT_PACKAGE_ELEMENT 476 * applicable - ACPI_NOT_PACKAGE_ELEMENT
@@ -509,17 +509,17 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
509 */ 509 */
510 if (expected_btypes & ACPI_RTYPE_INTEGER) { 510 if (expected_btypes & ACPI_RTYPE_INTEGER) {
511 511
512 /* Need an Integer - create a zero-value integer */ 512 /* Need an integer - create a zero-value integer */
513 513
514 new_object = acpi_ut_create_integer_object((u64)0); 514 new_object = acpi_ut_create_integer_object((u64)0);
515 } else if (expected_btypes & ACPI_RTYPE_STRING) { 515 } else if (expected_btypes & ACPI_RTYPE_STRING) {
516 516
517 /* Need a String - create a NULL string */ 517 /* Need a string - create a NULL string */
518 518
519 new_object = acpi_ut_create_string_object(0); 519 new_object = acpi_ut_create_string_object(0);
520 } else if (expected_btypes & ACPI_RTYPE_BUFFER) { 520 } else if (expected_btypes & ACPI_RTYPE_BUFFER) {
521 521
522 /* Need a Buffer - create a zero-length buffer */ 522 /* Need a buffer - create a zero-length buffer */
523 523
524 new_object = acpi_ut_create_buffer_object(0); 524 new_object = acpi_ut_create_buffer_object(0);
525 } else { 525 } else {
@@ -552,7 +552,7 @@ acpi_ns_repair_null_element(struct acpi_predefined_data *data,
552 * 552 *
553 * FUNCTION: acpi_ns_remove_null_elements 553 * FUNCTION: acpi_ns_remove_null_elements
554 * 554 *
555 * PARAMETERS: Data - Pointer to validation data structure 555 * PARAMETERS: data - Pointer to validation data structure
556 * package_type - An acpi_return_package_types value 556 * package_type - An acpi_return_package_types value
557 * obj_desc - A Package object 557 * obj_desc - A Package object
558 * 558 *
@@ -635,7 +635,7 @@ acpi_ns_remove_null_elements(struct acpi_predefined_data *data,
635 * 635 *
636 * FUNCTION: acpi_ns_wrap_with_package 636 * FUNCTION: acpi_ns_wrap_with_package
637 * 637 *
638 * PARAMETERS: Data - Pointer to validation data structure 638 * PARAMETERS: data - Pointer to validation data structure
639 * original_object - Pointer to the object to repair. 639 * original_object - Pointer to the object to repair.
640 * obj_desc_ptr - The new package object is returned here 640 * obj_desc_ptr - The new package object is returned here
641 * 641 *
diff --git a/drivers/acpi/acpica/nsrepair2.c b/drivers/acpi/acpica/nsrepair2.c
index 726bc8e687f7..90189251cdf0 100644
--- a/drivers/acpi/acpica/nsrepair2.c
+++ b/drivers/acpi/acpica/nsrepair2.c
@@ -149,8 +149,8 @@ static const struct acpi_repair_info acpi_ns_repairable_names[] = {
149 * 149 *
150 * FUNCTION: acpi_ns_complex_repairs 150 * FUNCTION: acpi_ns_complex_repairs
151 * 151 *
152 * PARAMETERS: Data - Pointer to validation data structure 152 * PARAMETERS: data - Pointer to validation data structure
153 * Node - Namespace node for the method/object 153 * node - Namespace node for the method/object
154 * validate_status - Original status of earlier validation 154 * validate_status - Original status of earlier validation
155 * return_object_ptr - Pointer to the object returned from the 155 * return_object_ptr - Pointer to the object returned from the
156 * evaluation of a method or object 156 * evaluation of a method or object
@@ -187,7 +187,7 @@ acpi_ns_complex_repairs(struct acpi_predefined_data *data,
187 * 187 *
188 * FUNCTION: acpi_ns_match_repairable_name 188 * FUNCTION: acpi_ns_match_repairable_name
189 * 189 *
190 * PARAMETERS: Node - Namespace node for the method/object 190 * PARAMETERS: node - Namespace node for the method/object
191 * 191 *
192 * RETURN: Pointer to entry in repair table. NULL indicates not found. 192 * RETURN: Pointer to entry in repair table. NULL indicates not found.
193 * 193 *
@@ -218,7 +218,7 @@ static const struct acpi_repair_info *acpi_ns_match_repairable_name(struct
218 * 218 *
219 * FUNCTION: acpi_ns_repair_ALR 219 * FUNCTION: acpi_ns_repair_ALR
220 * 220 *
221 * PARAMETERS: Data - Pointer to validation data structure 221 * PARAMETERS: data - Pointer to validation data structure
222 * return_object_ptr - Pointer to the object returned from the 222 * return_object_ptr - Pointer to the object returned from the
223 * evaluation of a method or object 223 * evaluation of a method or object
224 * 224 *
@@ -247,7 +247,7 @@ acpi_ns_repair_ALR(struct acpi_predefined_data *data,
247 * 247 *
248 * FUNCTION: acpi_ns_repair_FDE 248 * FUNCTION: acpi_ns_repair_FDE
249 * 249 *
250 * PARAMETERS: Data - Pointer to validation data structure 250 * PARAMETERS: data - Pointer to validation data structure
251 * return_object_ptr - Pointer to the object returned from the 251 * return_object_ptr - Pointer to the object returned from the
252 * evaluation of a method or object 252 * evaluation of a method or object
253 * 253 *
@@ -335,7 +335,7 @@ acpi_ns_repair_FDE(struct acpi_predefined_data *data,
335 * 335 *
336 * FUNCTION: acpi_ns_repair_CID 336 * FUNCTION: acpi_ns_repair_CID
337 * 337 *
338 * PARAMETERS: Data - Pointer to validation data structure 338 * PARAMETERS: data - Pointer to validation data structure
339 * return_object_ptr - Pointer to the object returned from the 339 * return_object_ptr - Pointer to the object returned from the
340 * evaluation of a method or object 340 * evaluation of a method or object
341 * 341 *
@@ -405,7 +405,7 @@ acpi_ns_repair_CID(struct acpi_predefined_data *data,
405 * 405 *
406 * FUNCTION: acpi_ns_repair_HID 406 * FUNCTION: acpi_ns_repair_HID
407 * 407 *
408 * PARAMETERS: Data - Pointer to validation data structure 408 * PARAMETERS: data - Pointer to validation data structure
409 * return_object_ptr - Pointer to the object returned from the 409 * return_object_ptr - Pointer to the object returned from the
410 * evaluation of a method or object 410 * evaluation of a method or object
411 * 411 *
@@ -487,7 +487,7 @@ acpi_ns_repair_HID(struct acpi_predefined_data *data,
487 * 487 *
488 * FUNCTION: acpi_ns_repair_TSS 488 * FUNCTION: acpi_ns_repair_TSS
489 * 489 *
490 * PARAMETERS: Data - Pointer to validation data structure 490 * PARAMETERS: data - Pointer to validation data structure
491 * return_object_ptr - Pointer to the object returned from the 491 * return_object_ptr - Pointer to the object returned from the
492 * evaluation of a method or object 492 * evaluation of a method or object
493 * 493 *
@@ -531,7 +531,7 @@ acpi_ns_repair_TSS(struct acpi_predefined_data *data,
531 * 531 *
532 * FUNCTION: acpi_ns_repair_PSS 532 * FUNCTION: acpi_ns_repair_PSS
533 * 533 *
534 * PARAMETERS: Data - Pointer to validation data structure 534 * PARAMETERS: data - Pointer to validation data structure
535 * return_object_ptr - Pointer to the object returned from the 535 * return_object_ptr - Pointer to the object returned from the
536 * evaluation of a method or object 536 * evaluation of a method or object
537 * 537 *
@@ -600,7 +600,7 @@ acpi_ns_repair_PSS(struct acpi_predefined_data *data,
600 * 600 *
601 * FUNCTION: acpi_ns_check_sorted_list 601 * FUNCTION: acpi_ns_check_sorted_list
602 * 602 *
603 * PARAMETERS: Data - Pointer to validation data structure 603 * PARAMETERS: data - Pointer to validation data structure
604 * return_object - Pointer to the top-level returned object 604 * return_object - Pointer to the top-level returned object
605 * expected_count - Minimum length of each sub-package 605 * expected_count - Minimum length of each sub-package
606 * sort_index - Sub-package entry to sort on 606 * sort_index - Sub-package entry to sort on
@@ -707,9 +707,9 @@ acpi_ns_check_sorted_list(struct acpi_predefined_data *data,
707 * 707 *
708 * FUNCTION: acpi_ns_sort_list 708 * FUNCTION: acpi_ns_sort_list
709 * 709 *
710 * PARAMETERS: Elements - Package object element list 710 * PARAMETERS: elements - Package object element list
711 * Count - Element count for above 711 * count - Element count for above
712 * Index - Sort by which package element 712 * index - Sort by which package element
713 * sort_direction - Ascending or Descending sort 713 * sort_direction - Ascending or Descending sort
714 * 714 *
715 * RETURN: None 715 * RETURN: None
diff --git a/drivers/acpi/acpica/nssearch.c b/drivers/acpi/acpica/nssearch.c
index 507043d66114..456cc859f869 100644
--- a/drivers/acpi/acpica/nssearch.c
+++ b/drivers/acpi/acpica/nssearch.c
@@ -65,7 +65,7 @@ acpi_ns_search_parent_tree(u32 target_name,
65 * 65 *
66 * PARAMETERS: target_name - Ascii ACPI name to search for 66 * PARAMETERS: target_name - Ascii ACPI name to search for
67 * parent_node - Starting node where search will begin 67 * parent_node - Starting node where search will begin
68 * Type - Object type to match 68 * type - Object type to match
69 * return_node - Where the matched Named obj is returned 69 * return_node - Where the matched Named obj is returned
70 * 70 *
71 * RETURN: Status 71 * RETURN: Status
@@ -175,8 +175,8 @@ acpi_ns_search_one_scope(u32 target_name,
175 * FUNCTION: acpi_ns_search_parent_tree 175 * FUNCTION: acpi_ns_search_parent_tree
176 * 176 *
177 * PARAMETERS: target_name - Ascii ACPI name to search for 177 * PARAMETERS: target_name - Ascii ACPI name to search for
178 * Node - Starting node where search will begin 178 * node - Starting node where search will begin
179 * Type - Object type to match 179 * type - Object type to match
180 * return_node - Where the matched Node is returned 180 * return_node - Where the matched Node is returned
181 * 181 *
182 * RETURN: Status 182 * RETURN: Status
@@ -264,11 +264,11 @@ acpi_ns_search_parent_tree(u32 target_name,
264 * 264 *
265 * PARAMETERS: target_name - Ascii ACPI name to search for (4 chars) 265 * PARAMETERS: target_name - Ascii ACPI name to search for (4 chars)
266 * walk_state - Current state of the walk 266 * walk_state - Current state of the walk
267 * Node - Starting node where search will begin 267 * node - Starting node where search will begin
268 * interpreter_mode - Add names only in ACPI_MODE_LOAD_PASS_x. 268 * interpreter_mode - Add names only in ACPI_MODE_LOAD_PASS_x.
269 * Otherwise,search only. 269 * Otherwise,search only.
270 * Type - Object type to match 270 * type - Object type to match
271 * Flags - Flags describing the search restrictions 271 * flags - Flags describing the search restrictions
272 * return_node - Where the Node is returned 272 * return_node - Where the Node is returned
273 * 273 *
274 * RETURN: Status 274 * RETURN: Status
diff --git a/drivers/acpi/acpica/nsutils.c b/drivers/acpi/acpica/nsutils.c
index 75113759f69d..ef753a41e087 100644
--- a/drivers/acpi/acpica/nsutils.c
+++ b/drivers/acpi/acpica/nsutils.c
@@ -62,8 +62,8 @@ acpi_name acpi_ns_find_parent_name(struct acpi_namespace_node *node_to_search);
62 * 62 *
63 * FUNCTION: acpi_ns_print_node_pathname 63 * FUNCTION: acpi_ns_print_node_pathname
64 * 64 *
65 * PARAMETERS: Node - Object 65 * PARAMETERS: node - Object
66 * Message - Prefix message 66 * message - Prefix message
67 * 67 *
68 * DESCRIPTION: Print an object's full namespace pathname 68 * DESCRIPTION: Print an object's full namespace pathname
69 * Manages allocation/freeing of a pathname buffer 69 * Manages allocation/freeing of a pathname buffer
@@ -101,7 +101,7 @@ acpi_ns_print_node_pathname(struct acpi_namespace_node *node,
101 * 101 *
102 * FUNCTION: acpi_ns_valid_root_prefix 102 * FUNCTION: acpi_ns_valid_root_prefix
103 * 103 *
104 * PARAMETERS: Prefix - Character to be checked 104 * PARAMETERS: prefix - Character to be checked
105 * 105 *
106 * RETURN: TRUE if a valid prefix 106 * RETURN: TRUE if a valid prefix
107 * 107 *
@@ -119,7 +119,7 @@ u8 acpi_ns_valid_root_prefix(char prefix)
119 * 119 *
120 * FUNCTION: acpi_ns_valid_path_separator 120 * FUNCTION: acpi_ns_valid_path_separator
121 * 121 *
122 * PARAMETERS: Sep - Character to be checked 122 * PARAMETERS: sep - Character to be checked
123 * 123 *
124 * RETURN: TRUE if a valid path separator 124 * RETURN: TRUE if a valid path separator
125 * 125 *
@@ -137,7 +137,7 @@ static u8 acpi_ns_valid_path_separator(char sep)
137 * 137 *
138 * FUNCTION: acpi_ns_get_type 138 * FUNCTION: acpi_ns_get_type
139 * 139 *
140 * PARAMETERS: Node - Parent Node to be examined 140 * PARAMETERS: node - Parent Node to be examined
141 * 141 *
142 * RETURN: Type field from Node whose handle is passed 142 * RETURN: Type field from Node whose handle is passed
143 * 143 *
@@ -161,7 +161,7 @@ acpi_object_type acpi_ns_get_type(struct acpi_namespace_node * node)
161 * 161 *
162 * FUNCTION: acpi_ns_local 162 * FUNCTION: acpi_ns_local
163 * 163 *
164 * PARAMETERS: Type - A namespace object type 164 * PARAMETERS: type - A namespace object type
165 * 165 *
166 * RETURN: LOCAL if names must be found locally in objects of the 166 * RETURN: LOCAL if names must be found locally in objects of the
167 * passed type, 0 if enclosing scopes should be searched 167 * passed type, 0 if enclosing scopes should be searched
@@ -189,7 +189,7 @@ u32 acpi_ns_local(acpi_object_type type)
189 * 189 *
190 * FUNCTION: acpi_ns_get_internal_name_length 190 * FUNCTION: acpi_ns_get_internal_name_length
191 * 191 *
192 * PARAMETERS: Info - Info struct initialized with the 192 * PARAMETERS: info - Info struct initialized with the
193 * external name pointer. 193 * external name pointer.
194 * 194 *
195 * RETURN: None 195 * RETURN: None
@@ -260,7 +260,7 @@ void acpi_ns_get_internal_name_length(struct acpi_namestring_info *info)
260 * 260 *
261 * FUNCTION: acpi_ns_build_internal_name 261 * FUNCTION: acpi_ns_build_internal_name
262 * 262 *
263 * PARAMETERS: Info - Info struct fully initialized 263 * PARAMETERS: info - Info struct fully initialized
264 * 264 *
265 * RETURN: Status 265 * RETURN: Status
266 * 266 *
@@ -371,7 +371,7 @@ acpi_status acpi_ns_build_internal_name(struct acpi_namestring_info *info)
371 * FUNCTION: acpi_ns_internalize_name 371 * FUNCTION: acpi_ns_internalize_name
372 * 372 *
373 * PARAMETERS: *external_name - External representation of name 373 * PARAMETERS: *external_name - External representation of name
374 * **Converted Name - Where to return the resulting 374 * **Converted name - Where to return the resulting
375 * internal represention of the name 375 * internal represention of the name
376 * 376 *
377 * RETURN: Status 377 * RETURN: Status
@@ -575,7 +575,7 @@ acpi_ns_externalize_name(u32 internal_name_length,
575 * 575 *
576 * FUNCTION: acpi_ns_validate_handle 576 * FUNCTION: acpi_ns_validate_handle
577 * 577 *
578 * PARAMETERS: Handle - Handle to be validated and typecast to a 578 * PARAMETERS: handle - Handle to be validated and typecast to a
579 * namespace node. 579 * namespace node.
580 * 580 *
581 * RETURN: A pointer to a namespace node 581 * RETURN: A pointer to a namespace node
@@ -651,7 +651,7 @@ void acpi_ns_terminate(void)
651 * 651 *
652 * FUNCTION: acpi_ns_opens_scope 652 * FUNCTION: acpi_ns_opens_scope
653 * 653 *
654 * PARAMETERS: Type - A valid namespace type 654 * PARAMETERS: type - A valid namespace type
655 * 655 *
656 * RETURN: NEWSCOPE if the passed type "opens a name scope" according 656 * RETURN: NEWSCOPE if the passed type "opens a name scope" according
657 * to the ACPI specification, else 0 657 * to the ACPI specification, else 0
@@ -677,14 +677,14 @@ u32 acpi_ns_opens_scope(acpi_object_type type)
677 * 677 *
678 * FUNCTION: acpi_ns_get_node 678 * FUNCTION: acpi_ns_get_node
679 * 679 *
680 * PARAMETERS: *Pathname - Name to be found, in external (ASL) format. The 680 * PARAMETERS: *pathname - Name to be found, in external (ASL) format. The
681 * \ (backslash) and ^ (carat) prefixes, and the 681 * \ (backslash) and ^ (carat) prefixes, and the
682 * . (period) to separate segments are supported. 682 * . (period) to separate segments are supported.
683 * prefix_node - Root of subtree to be searched, or NS_ALL for the 683 * prefix_node - Root of subtree to be searched, or NS_ALL for the
684 * root of the name space. If Name is fully 684 * root of the name space. If Name is fully
685 * qualified (first s8 is '\'), the passed value 685 * qualified (first s8 is '\'), the passed value
686 * of Scope will not be accessed. 686 * of Scope will not be accessed.
687 * Flags - Used to indicate whether to perform upsearch or 687 * flags - Used to indicate whether to perform upsearch or
688 * not. 688 * not.
689 * return_node - Where the Node is returned 689 * return_node - Where the Node is returned
690 * 690 *
diff --git a/drivers/acpi/acpica/nswalk.c b/drivers/acpi/acpica/nswalk.c
index f69895a54895..730bccc5e7f7 100644
--- a/drivers/acpi/acpica/nswalk.c
+++ b/drivers/acpi/acpica/nswalk.c
@@ -88,7 +88,7 @@ struct acpi_namespace_node *acpi_ns_get_next_node(struct acpi_namespace_node
88 * 88 *
89 * FUNCTION: acpi_ns_get_next_node_typed 89 * FUNCTION: acpi_ns_get_next_node_typed
90 * 90 *
91 * PARAMETERS: Type - Type of node to be searched for 91 * PARAMETERS: type - Type of node to be searched for
92 * parent_node - Parent node whose children we are 92 * parent_node - Parent node whose children we are
93 * getting 93 * getting
94 * child_node - Previous child that was found. 94 * 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,
151 * 151 *
152 * FUNCTION: acpi_ns_walk_namespace 152 * FUNCTION: acpi_ns_walk_namespace
153 * 153 *
154 * PARAMETERS: Type - acpi_object_type to search for 154 * PARAMETERS: type - acpi_object_type to search for
155 * start_node - Handle in namespace where search begins 155 * start_node - Handle in namespace where search begins
156 * max_depth - Depth to which search is to reach 156 * max_depth - Depth to which search is to reach
157 * Flags - Whether to unlock the NS before invoking 157 * flags - Whether to unlock the NS before invoking
158 * the callback routine 158 * the callback routine
159 * pre_order_visit - Called during tree pre-order visit 159 * pre_order_visit - Called during tree pre-order visit
160 * when an object of "Type" is found 160 * when an object of "Type" is found
161 * post_order_visit - Called during tree post-order visit 161 * post_order_visit - Called during tree post-order visit
162 * when an object of "Type" is found 162 * when an object of "Type" is found
163 * Context - Passed to user function(s) above 163 * context - Passed to user function(s) above
164 * return_value - from the user_function if terminated 164 * return_value - from the user_function if terminated
165 * early. Otherwise, returns NULL. 165 * early. Otherwise, returns NULL.
166 * RETURNS: Status 166 * RETURNS: Status
diff --git a/drivers/acpi/acpica/nsxfeval.c b/drivers/acpi/acpica/nsxfeval.c
index 71d15f61807b..9692e6702333 100644
--- a/drivers/acpi/acpica/nsxfeval.c
+++ b/drivers/acpi/acpica/nsxfeval.c
@@ -58,8 +58,8 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info);
58 * 58 *
59 * FUNCTION: acpi_evaluate_object_typed 59 * FUNCTION: acpi_evaluate_object_typed
60 * 60 *
61 * PARAMETERS: Handle - Object handle (optional) 61 * PARAMETERS: handle - Object handle (optional)
62 * Pathname - Object pathname (optional) 62 * pathname - Object pathname (optional)
63 * external_params - List of parameters to pass to method, 63 * external_params - List of parameters to pass to method,
64 * terminated by NULL. May be NULL 64 * terminated by NULL. May be NULL
65 * if no parameters are being passed. 65 * if no parameters are being passed.
@@ -152,8 +152,8 @@ ACPI_EXPORT_SYMBOL(acpi_evaluate_object_typed)
152 * 152 *
153 * FUNCTION: acpi_evaluate_object 153 * FUNCTION: acpi_evaluate_object
154 * 154 *
155 * PARAMETERS: Handle - Object handle (optional) 155 * PARAMETERS: handle - Object handle (optional)
156 * Pathname - Object pathname (optional) 156 * pathname - Object pathname (optional)
157 * external_params - List of parameters to pass to method, 157 * external_params - List of parameters to pass to method,
158 * terminated by NULL. May be NULL 158 * terminated by NULL. May be NULL
159 * if no parameters are being passed. 159 * if no parameters are being passed.
@@ -364,7 +364,7 @@ ACPI_EXPORT_SYMBOL(acpi_evaluate_object)
364 * 364 *
365 * FUNCTION: acpi_ns_resolve_references 365 * FUNCTION: acpi_ns_resolve_references
366 * 366 *
367 * PARAMETERS: Info - Evaluation info block 367 * PARAMETERS: info - Evaluation info block
368 * 368 *
369 * RETURN: Info->return_object is replaced with the dereferenced object 369 * RETURN: Info->return_object is replaced with the dereferenced object
370 * 370 *
@@ -431,14 +431,14 @@ static void acpi_ns_resolve_references(struct acpi_evaluate_info *info)
431 * 431 *
432 * FUNCTION: acpi_walk_namespace 432 * FUNCTION: acpi_walk_namespace
433 * 433 *
434 * PARAMETERS: Type - acpi_object_type to search for 434 * PARAMETERS: type - acpi_object_type to search for
435 * start_object - Handle in namespace where search begins 435 * start_object - Handle in namespace where search begins
436 * max_depth - Depth to which search is to reach 436 * max_depth - Depth to which search is to reach
437 * pre_order_visit - Called during tree pre-order visit 437 * pre_order_visit - Called during tree pre-order visit
438 * when an object of "Type" is found 438 * when an object of "Type" is found
439 * post_order_visit - Called during tree post-order visit 439 * post_order_visit - Called during tree post-order visit
440 * when an object of "Type" is found 440 * when an object of "Type" is found
441 * Context - Passed to user function(s) above 441 * context - Passed to user function(s) above
442 * return_value - Location where return value of 442 * return_value - Location where return value of
443 * user_function is put if terminated early 443 * user_function is put if terminated early
444 * 444 *
@@ -646,7 +646,7 @@ acpi_ns_get_device_callback(acpi_handle obj_handle,
646 * 646 *
647 * PARAMETERS: HID - HID to search for. Can be NULL. 647 * PARAMETERS: HID - HID to search for. Can be NULL.
648 * user_function - Called when a matching object is found 648 * user_function - Called when a matching object is found
649 * Context - Passed to user function 649 * context - Passed to user function
650 * return_value - Location where return value of 650 * return_value - Location where return value of
651 * user_function is put if terminated early 651 * user_function is put if terminated early
652 * 652 *
@@ -716,8 +716,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_devices)
716 * FUNCTION: acpi_attach_data 716 * FUNCTION: acpi_attach_data
717 * 717 *
718 * PARAMETERS: obj_handle - Namespace node 718 * PARAMETERS: obj_handle - Namespace node
719 * Handler - Handler for this attachment 719 * handler - Handler for this attachment
720 * Data - Pointer to data to be attached 720 * data - Pointer to data to be attached
721 * 721 *
722 * RETURN: Status 722 * RETURN: Status
723 * 723 *
@@ -764,7 +764,7 @@ ACPI_EXPORT_SYMBOL(acpi_attach_data)
764 * FUNCTION: acpi_detach_data 764 * FUNCTION: acpi_detach_data
765 * 765 *
766 * PARAMETERS: obj_handle - Namespace node handle 766 * PARAMETERS: obj_handle - Namespace node handle
767 * Handler - Handler used in call to acpi_attach_data 767 * handler - Handler used in call to acpi_attach_data
768 * 768 *
769 * RETURN: Status 769 * RETURN: Status
770 * 770 *
@@ -810,8 +810,8 @@ ACPI_EXPORT_SYMBOL(acpi_detach_data)
810 * FUNCTION: acpi_get_data 810 * FUNCTION: acpi_get_data
811 * 811 *
812 * PARAMETERS: obj_handle - Namespace node 812 * PARAMETERS: obj_handle - Namespace node
813 * Handler - Handler used in call to attach_data 813 * handler - Handler used in call to attach_data
814 * Data - Where the data is returned 814 * data - Where the data is returned
815 * 815 *
816 * RETURN: Status 816 * RETURN: Status
817 * 817 *
diff --git a/drivers/acpi/acpica/nsxfname.c b/drivers/acpi/acpica/nsxfname.c
index af401c9c4dfc..08e9610b34ca 100644
--- a/drivers/acpi/acpica/nsxfname.c
+++ b/drivers/acpi/acpica/nsxfname.c
@@ -61,8 +61,8 @@ static char *acpi_ns_copy_device_id(struct acpica_device_id *dest,
61 * 61 *
62 * FUNCTION: acpi_get_handle 62 * FUNCTION: acpi_get_handle
63 * 63 *
64 * PARAMETERS: Parent - Object to search under (search scope). 64 * PARAMETERS: parent - Object to search under (search scope).
65 * Pathname - Pointer to an asciiz string containing the 65 * pathname - Pointer to an asciiz string containing the
66 * name 66 * name
67 * ret_handle - Where the return handle is returned 67 * ret_handle - Where the return handle is returned
68 * 68 *
@@ -142,9 +142,9 @@ ACPI_EXPORT_SYMBOL(acpi_get_handle)
142 * 142 *
143 * FUNCTION: acpi_get_name 143 * FUNCTION: acpi_get_name
144 * 144 *
145 * PARAMETERS: Handle - Handle to be converted to a pathname 145 * PARAMETERS: handle - Handle to be converted to a pathname
146 * name_type - Full pathname or single segment 146 * name_type - Full pathname or single segment
147 * Buffer - Buffer for returned path 147 * buffer - Buffer for returned path
148 * 148 *
149 * RETURN: Pointer to a string containing the fully qualified Name. 149 * RETURN: Pointer to a string containing the fully qualified Name.
150 * 150 *
@@ -219,8 +219,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_name)
219 * 219 *
220 * FUNCTION: acpi_ns_copy_device_id 220 * FUNCTION: acpi_ns_copy_device_id
221 * 221 *
222 * PARAMETERS: Dest - Pointer to the destination DEVICE_ID 222 * PARAMETERS: dest - Pointer to the destination DEVICE_ID
223 * Source - Pointer to the source DEVICE_ID 223 * source - Pointer to the source DEVICE_ID
224 * string_area - Pointer to where to copy the dest string 224 * string_area - Pointer to where to copy the dest string
225 * 225 *
226 * RETURN: Pointer to the next string area 226 * RETURN: Pointer to the next string area
@@ -247,7 +247,7 @@ static char *acpi_ns_copy_device_id(struct acpica_device_id *dest,
247 * 247 *
248 * FUNCTION: acpi_get_object_info 248 * FUNCTION: acpi_get_object_info
249 * 249 *
250 * PARAMETERS: Handle - Object Handle 250 * PARAMETERS: handle - Object Handle
251 * return_buffer - Where the info is returned 251 * return_buffer - Where the info is returned
252 * 252 *
253 * RETURN: Status 253 * RETURN: Status
@@ -493,7 +493,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_object_info)
493 * 493 *
494 * FUNCTION: acpi_install_method 494 * FUNCTION: acpi_install_method
495 * 495 *
496 * PARAMETERS: Buffer - An ACPI table containing one control method 496 * PARAMETERS: buffer - An ACPI table containing one control method
497 * 497 *
498 * RETURN: Status 498 * RETURN: Status
499 * 499 *
diff --git a/drivers/acpi/acpica/nsxfobj.c b/drivers/acpi/acpica/nsxfobj.c
index 880a605cee20..6766fc4f088f 100644
--- a/drivers/acpi/acpica/nsxfobj.c
+++ b/drivers/acpi/acpica/nsxfobj.c
@@ -98,7 +98,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_id)
98 * 98 *
99 * FUNCTION: acpi_get_type 99 * FUNCTION: acpi_get_type
100 * 100 *
101 * PARAMETERS: Handle - Handle of object whose type is desired 101 * PARAMETERS: handle - Handle of object whose type is desired
102 * ret_type - Where the type will be placed 102 * ret_type - Where the type will be placed
103 * 103 *
104 * RETURN: Status 104 * RETURN: Status
@@ -151,7 +151,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_type)
151 * 151 *
152 * FUNCTION: acpi_get_parent 152 * FUNCTION: acpi_get_parent
153 * 153 *
154 * PARAMETERS: Handle - Handle of object whose parent is desired 154 * PARAMETERS: handle - Handle of object whose parent is desired
155 * ret_handle - Where the parent handle will be placed 155 * ret_handle - Where the parent handle will be placed
156 * 156 *
157 * RETURN: Status 157 * RETURN: Status
@@ -212,8 +212,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_parent)
212 * 212 *
213 * FUNCTION: acpi_get_next_object 213 * FUNCTION: acpi_get_next_object
214 * 214 *
215 * PARAMETERS: Type - Type of object to be searched for 215 * PARAMETERS: type - Type of object to be searched for
216 * Parent - Parent object whose children we are getting 216 * parent - Parent object whose children we are getting
217 * last_child - Previous child that was found. 217 * last_child - Previous child that was found.
218 * The NEXT child will be returned 218 * The NEXT child will be returned
219 * ret_handle - Where handle to the next object is placed 219 * ret_handle - Where handle to the next object is placed
diff --git a/drivers/acpi/acpica/psargs.c b/drivers/acpi/acpica/psargs.c
index a683d6606e2e..844464c4f901 100644
--- a/drivers/acpi/acpica/psargs.c
+++ b/drivers/acpi/acpica/psargs.c
@@ -210,7 +210,7 @@ char *acpi_ps_get_next_namestring(struct acpi_parse_state *parser_state)
210 * FUNCTION: acpi_ps_get_next_namepath 210 * FUNCTION: acpi_ps_get_next_namepath
211 * 211 *
212 * PARAMETERS: parser_state - Current parser state object 212 * PARAMETERS: parser_state - Current parser state object
213 * Arg - Where the namepath will be stored 213 * arg - Where the namepath will be stored
214 * arg_count - If the namepath points to a control method 214 * arg_count - If the namepath points to a control method
215 * the method's argument is returned here. 215 * the method's argument is returned here.
216 * possible_method_call - Whether the namepath can possibly be the 216 * 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,
379 * 379 *
380 * PARAMETERS: parser_state - Current parser state object 380 * PARAMETERS: parser_state - Current parser state object
381 * arg_type - The argument type (AML_*_ARG) 381 * arg_type - The argument type (AML_*_ARG)
382 * Arg - Where the argument is returned 382 * arg - Where the argument is returned
383 * 383 *
384 * RETURN: None 384 * RETURN: None
385 * 385 *
diff --git a/drivers/acpi/acpica/psloop.c b/drivers/acpi/acpica/psloop.c
index 9547ad8a620b..799162c1b6df 100644
--- a/drivers/acpi/acpica/psloop.c
+++ b/drivers/acpi/acpica/psloop.c
@@ -167,7 +167,7 @@ static acpi_status acpi_ps_get_aml_opcode(struct acpi_walk_state *walk_state)
167 * PARAMETERS: walk_state - Current state 167 * PARAMETERS: walk_state - Current state
168 * aml_op_start - Begin of named Op in AML 168 * aml_op_start - Begin of named Op in AML
169 * unnamed_op - Early Op (not a named Op) 169 * unnamed_op - Early Op (not a named Op)
170 * Op - Returned Op 170 * op - Returned Op
171 * 171 *
172 * RETURN: Status 172 * RETURN: Status
173 * 173 *
@@ -323,7 +323,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
323 323
324 if (walk_state->op_info->flags & AML_CREATE) { 324 if (walk_state->op_info->flags & AML_CREATE) {
325 /* 325 /*
326 * Backup to beginning of create_xXXfield declaration 326 * Backup to beginning of create_XXXfield declaration
327 * body_length is unknown until we parse the body 327 * body_length is unknown until we parse the body
328 */ 328 */
329 op->named.data = aml_op_start; 329 op->named.data = aml_op_start;
@@ -380,7 +380,7 @@ acpi_ps_create_op(struct acpi_walk_state *walk_state,
380 * 380 *
381 * PARAMETERS: walk_state - Current state 381 * PARAMETERS: walk_state - Current state
382 * aml_op_start - Op start in AML 382 * aml_op_start - Op start in AML
383 * Op - Current Op 383 * op - Current Op
384 * 384 *
385 * RETURN: Status 385 * RETURN: Status
386 * 386 *
@@ -679,8 +679,8 @@ acpi_ps_link_module_code(union acpi_parse_object *parent_op,
679 * FUNCTION: acpi_ps_complete_op 679 * FUNCTION: acpi_ps_complete_op
680 * 680 *
681 * PARAMETERS: walk_state - Current state 681 * PARAMETERS: walk_state - Current state
682 * Op - Returned Op 682 * op - Returned Op
683 * Status - Parse status before complete Op 683 * status - Parse status before complete Op
684 * 684 *
685 * RETURN: Status 685 * RETURN: Status
686 * 686 *
@@ -853,8 +853,8 @@ acpi_ps_complete_op(struct acpi_walk_state *walk_state,
853 * FUNCTION: acpi_ps_complete_final_op 853 * FUNCTION: acpi_ps_complete_final_op
854 * 854 *
855 * PARAMETERS: walk_state - Current state 855 * PARAMETERS: walk_state - Current state
856 * Op - Current Op 856 * op - Current Op
857 * Status - Current parse status before complete last 857 * status - Current parse status before complete last
858 * Op 858 * Op
859 * 859 *
860 * RETURN: Status 860 * RETURN: Status
@@ -1165,7 +1165,7 @@ acpi_status acpi_ps_parse_loop(struct acpi_walk_state *walk_state)
1165 1165
1166 if (walk_state->op_info->flags & AML_CREATE) { 1166 if (walk_state->op_info->flags & AML_CREATE) {
1167 /* 1167 /*
1168 * Backup to beginning of create_xXXfield declaration (1 for 1168 * Backup to beginning of create_XXXfield declaration (1 for
1169 * Opcode) 1169 * Opcode)
1170 * 1170 *
1171 * body_length is unknown until we parse the body 1171 * body_length is unknown until we parse the body
diff --git a/drivers/acpi/acpica/psopcode.c b/drivers/acpi/acpica/psopcode.c
index a0226fdcf75c..ed1d457bd5ca 100644
--- a/drivers/acpi/acpica/psopcode.c
+++ b/drivers/acpi/acpica/psopcode.c
@@ -724,7 +724,7 @@ static const u8 acpi_gbl_long_op_index[NUM_EXTENDED_OPCODE] = {
724 * 724 *
725 * FUNCTION: acpi_ps_get_opcode_info 725 * FUNCTION: acpi_ps_get_opcode_info
726 * 726 *
727 * PARAMETERS: Opcode - The AML opcode 727 * PARAMETERS: opcode - The AML opcode
728 * 728 *
729 * RETURN: A pointer to the info about the opcode. 729 * RETURN: A pointer to the info about the opcode.
730 * 730 *
@@ -769,7 +769,7 @@ const struct acpi_opcode_info *acpi_ps_get_opcode_info(u16 opcode)
769 * 769 *
770 * FUNCTION: acpi_ps_get_opcode_name 770 * FUNCTION: acpi_ps_get_opcode_name
771 * 771 *
772 * PARAMETERS: Opcode - The AML opcode 772 * PARAMETERS: opcode - The AML opcode
773 * 773 *
774 * RETURN: A pointer to the name of the opcode (ASCII String) 774 * RETURN: A pointer to the name of the opcode (ASCII String)
775 * Note: Never returns NULL. 775 * Note: Never returns NULL.
diff --git a/drivers/acpi/acpica/psparse.c b/drivers/acpi/acpica/psparse.c
index 2ff9c35a1968..01985703bb98 100644
--- a/drivers/acpi/acpica/psparse.c
+++ b/drivers/acpi/acpica/psparse.c
@@ -64,7 +64,7 @@ ACPI_MODULE_NAME("psparse")
64 * 64 *
65 * FUNCTION: acpi_ps_get_opcode_size 65 * FUNCTION: acpi_ps_get_opcode_size
66 * 66 *
67 * PARAMETERS: Opcode - An AML opcode 67 * PARAMETERS: opcode - An AML opcode
68 * 68 *
69 * RETURN: Size of the opcode, in bytes (1 or 2) 69 * RETURN: Size of the opcode, in bytes (1 or 2)
70 * 70 *
@@ -121,7 +121,7 @@ u16 acpi_ps_peek_opcode(struct acpi_parse_state * parser_state)
121 * FUNCTION: acpi_ps_complete_this_op 121 * FUNCTION: acpi_ps_complete_this_op
122 * 122 *
123 * PARAMETERS: walk_state - Current State 123 * PARAMETERS: walk_state - Current State
124 * Op - Op to complete 124 * op - Op to complete
125 * 125 *
126 * RETURN: Status 126 * RETURN: Status
127 * 127 *
@@ -311,7 +311,7 @@ acpi_ps_complete_this_op(struct acpi_walk_state * walk_state,
311 * FUNCTION: acpi_ps_next_parse_state 311 * FUNCTION: acpi_ps_next_parse_state
312 * 312 *
313 * PARAMETERS: walk_state - Current state 313 * PARAMETERS: walk_state - Current state
314 * Op - Current parse op 314 * op - Current parse op
315 * callback_status - Status from previous operation 315 * callback_status - Status from previous operation
316 * 316 *
317 * RETURN: Status 317 * RETURN: Status
diff --git a/drivers/acpi/acpica/psscope.c b/drivers/acpi/acpica/psscope.c
index c872aa4b926e..608dc20dc173 100644
--- a/drivers/acpi/acpica/psscope.c
+++ b/drivers/acpi/acpica/psscope.c
@@ -93,7 +93,7 @@ u8 acpi_ps_has_completed_scope(struct acpi_parse_state * parser_state)
93 * FUNCTION: acpi_ps_init_scope 93 * FUNCTION: acpi_ps_init_scope
94 * 94 *
95 * PARAMETERS: parser_state - Current parser state object 95 * PARAMETERS: parser_state - Current parser state object
96 * Root - the Root Node of this new scope 96 * root - the Root Node of this new scope
97 * 97 *
98 * RETURN: Status 98 * RETURN: Status
99 * 99 *
@@ -131,7 +131,7 @@ acpi_ps_init_scope(struct acpi_parse_state * parser_state,
131 * FUNCTION: acpi_ps_push_scope 131 * FUNCTION: acpi_ps_push_scope
132 * 132 *
133 * PARAMETERS: parser_state - Current parser state object 133 * PARAMETERS: parser_state - Current parser state object
134 * Op - Current op to be pushed 134 * op - Current op to be pushed
135 * remaining_args - List of args remaining 135 * remaining_args - List of args remaining
136 * arg_count - Fixed or variable number of args 136 * arg_count - Fixed or variable number of args
137 * 137 *
@@ -184,7 +184,7 @@ acpi_ps_push_scope(struct acpi_parse_state *parser_state,
184 * FUNCTION: acpi_ps_pop_scope 184 * FUNCTION: acpi_ps_pop_scope
185 * 185 *
186 * PARAMETERS: parser_state - Current parser state object 186 * PARAMETERS: parser_state - Current parser state object
187 * Op - Where the popped op is returned 187 * op - Where the popped op is returned
188 * arg_list - Where the popped "next argument" is 188 * arg_list - Where the popped "next argument" is
189 * returned 189 * returned
190 * arg_count - Count of objects in arg_list 190 * arg_count - Count of objects in arg_list
diff --git a/drivers/acpi/acpica/pstree.c b/drivers/acpi/acpica/pstree.c
index 2b03cdbbe1c0..fdb2e71f3046 100644
--- a/drivers/acpi/acpica/pstree.c
+++ b/drivers/acpi/acpica/pstree.c
@@ -58,8 +58,8 @@ union acpi_parse_object *acpi_ps_get_child(union acpi_parse_object *op);
58 * 58 *
59 * FUNCTION: acpi_ps_get_arg 59 * FUNCTION: acpi_ps_get_arg
60 * 60 *
61 * PARAMETERS: Op - Get an argument for this op 61 * PARAMETERS: op - Get an argument for this op
62 * Argn - Nth argument to get 62 * argn - Nth argument to get
63 * 63 *
64 * RETURN: The argument (as an Op object). NULL if argument does not exist 64 * RETURN: The argument (as an Op object). NULL if argument does not exist
65 * 65 *
@@ -114,8 +114,8 @@ union acpi_parse_object *acpi_ps_get_arg(union acpi_parse_object *op, u32 argn)
114 * 114 *
115 * FUNCTION: acpi_ps_append_arg 115 * FUNCTION: acpi_ps_append_arg
116 * 116 *
117 * PARAMETERS: Op - Append an argument to this Op. 117 * PARAMETERS: op - Append an argument to this Op.
118 * Arg - Argument Op to append 118 * arg - Argument Op to append
119 * 119 *
120 * RETURN: None. 120 * RETURN: None.
121 * 121 *
@@ -188,8 +188,8 @@ acpi_ps_append_arg(union acpi_parse_object *op, union acpi_parse_object *arg)
188 * 188 *
189 * FUNCTION: acpi_ps_get_depth_next 189 * FUNCTION: acpi_ps_get_depth_next
190 * 190 *
191 * PARAMETERS: Origin - Root of subtree to search 191 * PARAMETERS: origin - Root of subtree to search
192 * Op - Last (previous) Op that was found 192 * op - Last (previous) Op that was found
193 * 193 *
194 * RETURN: Next Op found in the search. 194 * RETURN: Next Op found in the search.
195 * 195 *
@@ -261,7 +261,7 @@ union acpi_parse_object *acpi_ps_get_depth_next(union acpi_parse_object *origin,
261 * 261 *
262 * FUNCTION: acpi_ps_get_child 262 * FUNCTION: acpi_ps_get_child
263 * 263 *
264 * PARAMETERS: Op - Get the child of this Op 264 * PARAMETERS: op - Get the child of this Op
265 * 265 *
266 * RETURN: Child Op, Null if none is found. 266 * RETURN: Child Op, Null if none is found.
267 * 267 *
diff --git a/drivers/acpi/acpica/psutils.c b/drivers/acpi/acpica/psutils.c
index 13bb131ae125..8736ad5f04d3 100644
--- a/drivers/acpi/acpica/psutils.c
+++ b/drivers/acpi/acpica/psutils.c
@@ -77,8 +77,8 @@ union acpi_parse_object *acpi_ps_create_scope_op(void)
77 * 77 *
78 * FUNCTION: acpi_ps_init_op 78 * FUNCTION: acpi_ps_init_op
79 * 79 *
80 * PARAMETERS: Op - A newly allocated Op object 80 * PARAMETERS: op - A newly allocated Op object
81 * Opcode - Opcode to store in the Op 81 * opcode - Opcode to store in the Op
82 * 82 *
83 * RETURN: None 83 * RETURN: None
84 * 84 *
@@ -103,7 +103,7 @@ void acpi_ps_init_op(union acpi_parse_object *op, u16 opcode)
103 * 103 *
104 * FUNCTION: acpi_ps_alloc_op 104 * FUNCTION: acpi_ps_alloc_op
105 * 105 *
106 * PARAMETERS: Opcode - Opcode that will be stored in the new Op 106 * PARAMETERS: opcode - Opcode that will be stored in the new Op
107 * 107 *
108 * RETURN: Pointer to the new Op, null on failure 108 * RETURN: Pointer to the new Op, null on failure
109 * 109 *
@@ -160,7 +160,7 @@ union acpi_parse_object *acpi_ps_alloc_op(u16 opcode)
160 * 160 *
161 * FUNCTION: acpi_ps_free_op 161 * FUNCTION: acpi_ps_free_op
162 * 162 *
163 * PARAMETERS: Op - Op to be freed 163 * PARAMETERS: op - Op to be freed
164 * 164 *
165 * RETURN: None. 165 * RETURN: None.
166 * 166 *
diff --git a/drivers/acpi/acpica/psxface.c b/drivers/acpi/acpica/psxface.c
index 9d98c5ff66a5..963e16225797 100644
--- a/drivers/acpi/acpica/psxface.c
+++ b/drivers/acpi/acpica/psxface.c
@@ -66,7 +66,7 @@ acpi_ps_update_parameter_list(struct acpi_evaluate_info *info, u16 action);
66 * PARAMETERS: method_name - Valid ACPI name string 66 * PARAMETERS: method_name - Valid ACPI name string
67 * debug_level - Optional level mask. 0 to use default 67 * debug_level - Optional level mask. 0 to use default
68 * debug_layer - Optional layer mask. 0 to use default 68 * debug_layer - Optional layer mask. 0 to use default
69 * Flags - bit 1: one shot(1) or persistent(0) 69 * flags - bit 1: one shot(1) or persistent(0)
70 * 70 *
71 * RETURN: Status 71 * RETURN: Status
72 * 72 *
@@ -105,7 +105,7 @@ acpi_debug_trace(char *name, u32 debug_level, u32 debug_layer, u32 flags)
105 * 105 *
106 * FUNCTION: acpi_ps_start_trace 106 * FUNCTION: acpi_ps_start_trace
107 * 107 *
108 * PARAMETERS: Info - Method info struct 108 * PARAMETERS: info - Method info struct
109 * 109 *
110 * RETURN: None 110 * RETURN: None
111 * 111 *
@@ -150,7 +150,7 @@ static void acpi_ps_start_trace(struct acpi_evaluate_info *info)
150 * 150 *
151 * FUNCTION: acpi_ps_stop_trace 151 * FUNCTION: acpi_ps_stop_trace
152 * 152 *
153 * PARAMETERS: Info - Method info struct 153 * PARAMETERS: info - Method info struct
154 * 154 *
155 * RETURN: None 155 * RETURN: None
156 * 156 *
@@ -193,10 +193,10 @@ static void acpi_ps_stop_trace(struct acpi_evaluate_info *info)
193 * 193 *
194 * FUNCTION: acpi_ps_execute_method 194 * FUNCTION: acpi_ps_execute_method
195 * 195 *
196 * PARAMETERS: Info - Method info block, contains: 196 * PARAMETERS: info - Method info block, contains:
197 * Node - Method Node to execute 197 * node - Method Node to execute
198 * obj_desc - Method object 198 * obj_desc - Method object
199 * Parameters - List of parameters to pass to the method, 199 * parameters - List of parameters to pass to the method,
200 * terminated by NULL. Params itself may be 200 * terminated by NULL. Params itself may be
201 * NULL if no parameters are being passed. 201 * NULL if no parameters are being passed.
202 * return_object - Where to put method's return value (if 202 * 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)
361 * 361 *
362 * FUNCTION: acpi_ps_update_parameter_list 362 * FUNCTION: acpi_ps_update_parameter_list
363 * 363 *
364 * PARAMETERS: Info - See struct acpi_evaluate_info 364 * PARAMETERS: info - See struct acpi_evaluate_info
365 * (Used: parameter_type and Parameters) 365 * (Used: parameter_type and Parameters)
366 * Action - Add or Remove reference 366 * action - Add or Remove reference
367 * 367 *
368 * RETURN: Status 368 * RETURN: Status
369 * 369 *
diff --git a/drivers/acpi/acpica/rsaddr.c b/drivers/acpi/acpica/rsaddr.c
index a0305652394f..856ff075b6ab 100644
--- a/drivers/acpi/acpica/rsaddr.c
+++ b/drivers/acpi/acpica/rsaddr.c
@@ -182,8 +182,8 @@ struct acpi_rsconvert_info acpi_rs_convert_ext_address64[5] = {
182 182
183 /* Revision ID */ 183 /* Revision ID */
184 184
185 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.ext_address64.revision_iD), 185 {ACPI_RSC_MOVE8, ACPI_RS_OFFSET(data.ext_address64.revision_ID),
186 AML_OFFSET(ext_address64.revision_iD), 186 AML_OFFSET(ext_address64.revision_ID),
187 1}, 187 1},
188 /* 188 /*
189 * These fields are contiguous in both the source and destination: 189 * 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] = {
215 AML_OFFSET(address.resource_type), 215 AML_OFFSET(address.resource_type),
216 1}, 216 1},
217 217
218 /* General Flags - Consume, Decode, min_fixed, max_fixed */ 218 /* General flags - Consume, Decode, min_fixed, max_fixed */
219 219
220 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer), 220 {ACPI_RSC_1BITFLAG, ACPI_RS_OFFSET(data.address.producer_consumer),
221 AML_OFFSET(address.flags), 221 AML_OFFSET(address.flags),
@@ -293,8 +293,8 @@ static struct acpi_rsconvert_info acpi_rs_convert_io_flags[4] = {
293 * 293 *
294 * FUNCTION: acpi_rs_get_address_common 294 * FUNCTION: acpi_rs_get_address_common
295 * 295 *
296 * PARAMETERS: Resource - Pointer to the internal resource struct 296 * PARAMETERS: resource - Pointer to the internal resource struct
297 * Aml - Pointer to the AML resource descriptor 297 * aml - Pointer to the AML resource descriptor
298 * 298 *
299 * RETURN: TRUE if the resource_type field is OK, FALSE otherwise 299 * RETURN: TRUE if the resource_type field is OK, FALSE otherwise
300 * 300 *
@@ -343,8 +343,8 @@ acpi_rs_get_address_common(struct acpi_resource *resource,
343 * 343 *
344 * FUNCTION: acpi_rs_set_address_common 344 * FUNCTION: acpi_rs_set_address_common
345 * 345 *
346 * PARAMETERS: Aml - Pointer to the AML resource descriptor 346 * PARAMETERS: aml - Pointer to the AML resource descriptor
347 * Resource - Pointer to the internal resource struct 347 * resource - Pointer to the internal resource struct
348 * 348 *
349 * RETURN: None 349 * RETURN: None
350 * 350 *
diff --git a/drivers/acpi/acpica/rscalc.c b/drivers/acpi/acpica/rscalc.c
index 3c6df4b7eb2d..de12469d1c9c 100644
--- a/drivers/acpi/acpica/rscalc.c
+++ b/drivers/acpi/acpica/rscalc.c
@@ -173,7 +173,7 @@ acpi_rs_stream_option_length(u32 resource_length,
173 * 173 *
174 * FUNCTION: acpi_rs_get_aml_length 174 * FUNCTION: acpi_rs_get_aml_length
175 * 175 *
176 * PARAMETERS: Resource - Pointer to the resource linked list 176 * PARAMETERS: resource - Pointer to the resource linked list
177 * size_needed - Where the required size is returned 177 * size_needed - Where the required size is returned
178 * 178 *
179 * RETURN: Status 179 * RETURN: Status
diff --git a/drivers/acpi/acpica/rsdump.c b/drivers/acpi/acpica/rsdump.c
index b4c581132393..4d11b072388c 100644
--- a/drivers/acpi/acpica/rsdump.c
+++ b/drivers/acpi/acpica/rsdump.c
@@ -703,7 +703,7 @@ acpi_rs_dump_resource_source(struct acpi_resource_source *resource_source)
703 * 703 *
704 * FUNCTION: acpi_rs_dump_address_common 704 * FUNCTION: acpi_rs_dump_address_common
705 * 705 *
706 * PARAMETERS: Resource - Pointer to an internal resource descriptor 706 * PARAMETERS: resource - Pointer to an internal resource descriptor
707 * 707 *
708 * RETURN: None 708 * RETURN: None
709 * 709 *
@@ -850,8 +850,8 @@ void acpi_rs_dump_irq_list(u8 * route_table)
850 * 850 *
851 * FUNCTION: acpi_rs_out* 851 * FUNCTION: acpi_rs_out*
852 * 852 *
853 * PARAMETERS: Title - Name of the resource field 853 * PARAMETERS: title - Name of the resource field
854 * Value - Value of the resource field 854 * value - Value of the resource field
855 * 855 *
856 * RETURN: None 856 * RETURN: None
857 * 857 *
@@ -898,8 +898,8 @@ static void acpi_rs_out_title(char *title)
898 * 898 *
899 * FUNCTION: acpi_rs_dump*List 899 * FUNCTION: acpi_rs_dump*List
900 * 900 *
901 * PARAMETERS: Length - Number of elements in the list 901 * PARAMETERS: length - Number of elements in the list
902 * Data - Start of the list 902 * data - Start of the list
903 * 903 *
904 * RETURN: None 904 * RETURN: None
905 * 905 *
diff --git a/drivers/acpi/acpica/rslist.c b/drivers/acpi/acpica/rslist.c
index 9be129f5d6f4..46b5324b22d6 100644
--- a/drivers/acpi/acpica/rslist.c
+++ b/drivers/acpi/acpica/rslist.c
@@ -139,7 +139,7 @@ acpi_rs_convert_aml_to_resources(u8 * aml,
139 * 139 *
140 * FUNCTION: acpi_rs_convert_resources_to_aml 140 * FUNCTION: acpi_rs_convert_resources_to_aml
141 * 141 *
142 * PARAMETERS: Resource - Pointer to the resource linked list 142 * PARAMETERS: resource - Pointer to the resource linked list
143 * aml_size_needed - Calculated size of the byte stream 143 * aml_size_needed - Calculated size of the byte stream
144 * needed from calling acpi_rs_get_aml_length() 144 * needed from calling acpi_rs_get_aml_length()
145 * The size of the output_buffer is 145 * The size of the output_buffer is
diff --git a/drivers/acpi/acpica/rsmisc.c b/drivers/acpi/acpica/rsmisc.c
index 8073b371cc7c..c6f291c2bc83 100644
--- a/drivers/acpi/acpica/rsmisc.c
+++ b/drivers/acpi/acpica/rsmisc.c
@@ -57,9 +57,9 @@ ACPI_MODULE_NAME("rsmisc")
57 * 57 *
58 * FUNCTION: acpi_rs_convert_aml_to_resource 58 * FUNCTION: acpi_rs_convert_aml_to_resource
59 * 59 *
60 * PARAMETERS: Resource - Pointer to the resource descriptor 60 * PARAMETERS: resource - Pointer to the resource descriptor
61 * Aml - Where the AML descriptor is returned 61 * aml - Where the AML descriptor is returned
62 * Info - Pointer to appropriate conversion table 62 * info - Pointer to appropriate conversion table
63 * 63 *
64 * RETURN: Status 64 * RETURN: Status
65 * 65 *
@@ -406,7 +406,7 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
406 406
407 case ACPI_RSC_EXIT_NE: 407 case ACPI_RSC_EXIT_NE:
408 /* 408 /*
409 * Control - Exit conversion if not equal 409 * control - Exit conversion if not equal
410 */ 410 */
411 switch (info->resource_offset) { 411 switch (info->resource_offset) {
412 case ACPI_RSC_COMPARE_AML_LENGTH: 412 case ACPI_RSC_COMPARE_AML_LENGTH:
@@ -454,9 +454,9 @@ acpi_rs_convert_aml_to_resource(struct acpi_resource *resource,
454 * 454 *
455 * FUNCTION: acpi_rs_convert_resource_to_aml 455 * FUNCTION: acpi_rs_convert_resource_to_aml
456 * 456 *
457 * PARAMETERS: Resource - Pointer to the resource descriptor 457 * PARAMETERS: resource - Pointer to the resource descriptor
458 * Aml - Where the AML descriptor is returned 458 * aml - Where the AML descriptor is returned
459 * Info - Pointer to appropriate conversion table 459 * info - Pointer to appropriate conversion table
460 * 460 *
461 * RETURN: Status 461 * RETURN: Status
462 * 462 *
@@ -726,7 +726,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
726 726
727 case ACPI_RSC_EXIT_LE: 727 case ACPI_RSC_EXIT_LE:
728 /* 728 /*
729 * Control - Exit conversion if less than or equal 729 * control - Exit conversion if less than or equal
730 */ 730 */
731 if (item_count <= info->value) { 731 if (item_count <= info->value) {
732 goto exit; 732 goto exit;
@@ -735,7 +735,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
735 735
736 case ACPI_RSC_EXIT_NE: 736 case ACPI_RSC_EXIT_NE:
737 /* 737 /*
738 * Control - Exit conversion if not equal 738 * control - Exit conversion if not equal
739 */ 739 */
740 switch (COMPARE_OPCODE(info)) { 740 switch (COMPARE_OPCODE(info)) {
741 case ACPI_RSC_COMPARE_VALUE: 741 case ACPI_RSC_COMPARE_VALUE:
@@ -757,7 +757,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
757 757
758 case ACPI_RSC_EXIT_EQ: 758 case ACPI_RSC_EXIT_EQ:
759 /* 759 /*
760 * Control - Exit conversion if equal 760 * control - Exit conversion if equal
761 */ 761 */
762 if (*ACPI_ADD_PTR(u8, resource, 762 if (*ACPI_ADD_PTR(u8, resource,
763 COMPARE_TARGET(info)) == 763 COMPARE_TARGET(info)) ==
@@ -783,7 +783,7 @@ acpi_rs_convert_resource_to_aml(struct acpi_resource *resource,
783#if 0 783#if 0
784/* Previous resource validations */ 784/* Previous resource validations */
785 785
786if (aml->ext_address64.revision_iD != AML_RESOURCE_EXTENDED_ADDRESS_REVISION) { 786if (aml->ext_address64.revision_ID != AML_RESOURCE_EXTENDED_ADDRESS_REVISION) {
787 return_ACPI_STATUS(AE_SUPPORT); 787 return_ACPI_STATUS(AE_SUPPORT);
788} 788}
789 789
diff --git a/drivers/acpi/acpica/rsutils.c b/drivers/acpi/acpica/rsutils.c
index 433a375deb93..37d5241c0acf 100644
--- a/drivers/acpi/acpica/rsutils.c
+++ b/drivers/acpi/acpica/rsutils.c
@@ -53,8 +53,8 @@ ACPI_MODULE_NAME("rsutils")
53 * 53 *
54 * FUNCTION: acpi_rs_decode_bitmask 54 * FUNCTION: acpi_rs_decode_bitmask
55 * 55 *
56 * PARAMETERS: Mask - Bitmask to decode 56 * PARAMETERS: mask - Bitmask to decode
57 * List - Where the converted list is returned 57 * list - Where the converted list is returned
58 * 58 *
59 * RETURN: Count of bits set (length of list) 59 * RETURN: Count of bits set (length of list)
60 * 60 *
@@ -86,8 +86,8 @@ u8 acpi_rs_decode_bitmask(u16 mask, u8 * list)
86 * 86 *
87 * FUNCTION: acpi_rs_encode_bitmask 87 * FUNCTION: acpi_rs_encode_bitmask
88 * 88 *
89 * PARAMETERS: List - List of values to encode 89 * PARAMETERS: list - List of values to encode
90 * Count - Length of list 90 * count - Length of list
91 * 91 *
92 * RETURN: Encoded bitmask 92 * RETURN: Encoded bitmask
93 * 93 *
@@ -115,8 +115,8 @@ u16 acpi_rs_encode_bitmask(u8 * list, u8 count)
115 * 115 *
116 * FUNCTION: acpi_rs_move_data 116 * FUNCTION: acpi_rs_move_data
117 * 117 *
118 * PARAMETERS: Destination - Pointer to the destination descriptor 118 * PARAMETERS: destination - Pointer to the destination descriptor
119 * Source - Pointer to the source descriptor 119 * source - Pointer to the source descriptor
120 * item_count - How many items to move 120 * item_count - How many items to move
121 * move_type - Byte width 121 * move_type - Byte width
122 * 122 *
@@ -183,7 +183,7 @@ acpi_rs_move_data(void *destination, void *source, u16 item_count, u8 move_type)
183 * 183 *
184 * PARAMETERS: total_length - Length of the AML descriptor, including 184 * PARAMETERS: total_length - Length of the AML descriptor, including
185 * the header and length fields. 185 * the header and length fields.
186 * Aml - Pointer to the raw AML descriptor 186 * aml - Pointer to the raw AML descriptor
187 * 187 *
188 * RETURN: None 188 * RETURN: None
189 * 189 *
@@ -235,7 +235,7 @@ acpi_rs_set_resource_length(acpi_rsdesc_size total_length,
235 * PARAMETERS: descriptor_type - Byte to be inserted as the type 235 * PARAMETERS: descriptor_type - Byte to be inserted as the type
236 * total_length - Length of the AML descriptor, including 236 * total_length - Length of the AML descriptor, including
237 * the header and length fields. 237 * the header and length fields.
238 * Aml - Pointer to the raw AML descriptor 238 * aml - Pointer to the raw AML descriptor
239 * 239 *
240 * RETURN: None 240 * RETURN: None
241 * 241 *
@@ -265,8 +265,8 @@ acpi_rs_set_resource_header(u8 descriptor_type,
265 * 265 *
266 * FUNCTION: acpi_rs_strcpy 266 * FUNCTION: acpi_rs_strcpy
267 * 267 *
268 * PARAMETERS: Destination - Pointer to the destination string 268 * PARAMETERS: destination - Pointer to the destination string
269 * Source - Pointer to the source string 269 * source - Pointer to the source string
270 * 270 *
271 * RETURN: String length, including NULL terminator 271 * RETURN: String length, including NULL terminator
272 * 272 *
@@ -300,7 +300,7 @@ static u16 acpi_rs_strcpy(char *destination, char *source)
300 * minimum_length - Minimum length of the descriptor (minus 300 * minimum_length - Minimum length of the descriptor (minus
301 * any optional fields) 301 * any optional fields)
302 * resource_source - Where the resource_source is returned 302 * resource_source - Where the resource_source is returned
303 * Aml - Pointer to the raw AML descriptor 303 * aml - Pointer to the raw AML descriptor
304 * string_ptr - (optional) where to store the actual 304 * string_ptr - (optional) where to store the actual
305 * resource_source string 305 * resource_source string
306 * 306 *
@@ -386,7 +386,7 @@ acpi_rs_get_resource_source(acpi_rs_length resource_length,
386 * 386 *
387 * FUNCTION: acpi_rs_set_resource_source 387 * FUNCTION: acpi_rs_set_resource_source
388 * 388 *
389 * PARAMETERS: Aml - Pointer to the raw AML descriptor 389 * PARAMETERS: aml - Pointer to the raw AML descriptor
390 * minimum_length - Minimum length of the descriptor (minus 390 * minimum_length - Minimum length of the descriptor (minus
391 * any optional fields) 391 * any optional fields)
392 * resource_source - Internal resource_source 392 * resource_source - Internal resource_source
@@ -445,7 +445,7 @@ acpi_rs_set_resource_source(union aml_resource * aml,
445 * 445 *
446 * FUNCTION: acpi_rs_get_prt_method_data 446 * FUNCTION: acpi_rs_get_prt_method_data
447 * 447 *
448 * PARAMETERS: Node - Device node 448 * PARAMETERS: node - Device node
449 * ret_buffer - Pointer to a buffer structure for the 449 * ret_buffer - Pointer to a buffer structure for the
450 * results 450 * results
451 * 451 *
@@ -494,7 +494,7 @@ acpi_rs_get_prt_method_data(struct acpi_namespace_node * node,
494 * 494 *
495 * FUNCTION: acpi_rs_get_crs_method_data 495 * FUNCTION: acpi_rs_get_crs_method_data
496 * 496 *
497 * PARAMETERS: Node - Device node 497 * PARAMETERS: node - Device node
498 * ret_buffer - Pointer to a buffer structure for the 498 * ret_buffer - Pointer to a buffer structure for the
499 * results 499 * results
500 * 500 *
@@ -534,7 +534,7 @@ acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
534 */ 534 */
535 status = acpi_rs_create_resource_list(obj_desc, ret_buffer); 535 status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
536 536
537 /* On exit, we must delete the object returned by evaluate_object */ 537 /* On exit, we must delete the object returned by evaluateObject */
538 538
539 acpi_ut_remove_reference(obj_desc); 539 acpi_ut_remove_reference(obj_desc);
540 return_ACPI_STATUS(status); 540 return_ACPI_STATUS(status);
@@ -544,7 +544,7 @@ acpi_rs_get_crs_method_data(struct acpi_namespace_node *node,
544 * 544 *
545 * FUNCTION: acpi_rs_get_prs_method_data 545 * FUNCTION: acpi_rs_get_prs_method_data
546 * 546 *
547 * PARAMETERS: Node - Device node 547 * PARAMETERS: node - Device node
548 * ret_buffer - Pointer to a buffer structure for the 548 * ret_buffer - Pointer to a buffer structure for the
549 * results 549 * results
550 * 550 *
@@ -585,7 +585,7 @@ acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
585 */ 585 */
586 status = acpi_rs_create_resource_list(obj_desc, ret_buffer); 586 status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
587 587
588 /* On exit, we must delete the object returned by evaluate_object */ 588 /* On exit, we must delete the object returned by evaluateObject */
589 589
590 acpi_ut_remove_reference(obj_desc); 590 acpi_ut_remove_reference(obj_desc);
591 return_ACPI_STATUS(status); 591 return_ACPI_STATUS(status);
@@ -596,7 +596,7 @@ acpi_rs_get_prs_method_data(struct acpi_namespace_node *node,
596 * 596 *
597 * FUNCTION: acpi_rs_get_aei_method_data 597 * FUNCTION: acpi_rs_get_aei_method_data
598 * 598 *
599 * PARAMETERS: Node - Device node 599 * PARAMETERS: node - Device node
600 * ret_buffer - Pointer to a buffer structure for the 600 * ret_buffer - Pointer to a buffer structure for the
601 * results 601 * results
602 * 602 *
@@ -636,7 +636,7 @@ acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
636 */ 636 */
637 status = acpi_rs_create_resource_list(obj_desc, ret_buffer); 637 status = acpi_rs_create_resource_list(obj_desc, ret_buffer);
638 638
639 /* On exit, we must delete the object returned by evaluate_object */ 639 /* On exit, we must delete the object returned by evaluateObject */
640 640
641 acpi_ut_remove_reference(obj_desc); 641 acpi_ut_remove_reference(obj_desc);
642 return_ACPI_STATUS(status); 642 return_ACPI_STATUS(status);
@@ -646,8 +646,8 @@ acpi_rs_get_aei_method_data(struct acpi_namespace_node *node,
646 * 646 *
647 * FUNCTION: acpi_rs_get_method_data 647 * FUNCTION: acpi_rs_get_method_data
648 * 648 *
649 * PARAMETERS: Handle - Handle to the containing object 649 * PARAMETERS: handle - Handle to the containing object
650 * Path - Path to method, relative to Handle 650 * path - Path to method, relative to Handle
651 * ret_buffer - Pointer to a buffer structure for the 651 * ret_buffer - Pointer to a buffer structure for the
652 * results 652 * results
653 * 653 *
@@ -697,7 +697,7 @@ acpi_rs_get_method_data(acpi_handle handle,
697 * 697 *
698 * FUNCTION: acpi_rs_set_srs_method_data 698 * FUNCTION: acpi_rs_set_srs_method_data
699 * 699 *
700 * PARAMETERS: Node - Device node 700 * PARAMETERS: node - Device node
701 * in_buffer - Pointer to a buffer structure of the 701 * in_buffer - Pointer to a buffer structure of the
702 * parameter 702 * parameter
703 * 703 *
diff --git a/drivers/acpi/acpica/rsxface.c b/drivers/acpi/acpica/rsxface.c
index f58c098c7aeb..5aad744b5b83 100644
--- a/drivers/acpi/acpica/rsxface.c
+++ b/drivers/acpi/acpica/rsxface.c
@@ -79,7 +79,7 @@ acpi_rs_validate_parameters(acpi_handle device_handle,
79 * FUNCTION: acpi_rs_validate_parameters 79 * FUNCTION: acpi_rs_validate_parameters
80 * 80 *
81 * PARAMETERS: device_handle - Handle to a device 81 * PARAMETERS: device_handle - Handle to a device
82 * Buffer - Pointer to a data buffer 82 * buffer - Pointer to a data buffer
83 * return_node - Pointer to where the device node is returned 83 * return_node - Pointer to where the device node is returned
84 * 84 *
85 * RETURN: Status 85 * RETURN: Status
@@ -351,8 +351,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_event_resources)
351 * 351 *
352 * FUNCTION: acpi_resource_to_address64 352 * FUNCTION: acpi_resource_to_address64
353 * 353 *
354 * PARAMETERS: Resource - Pointer to a resource 354 * PARAMETERS: resource - Pointer to a resource
355 * Out - Pointer to the users's return buffer 355 * out - Pointer to the users's return buffer
356 * (a struct acpi_resource_address64) 356 * (a struct acpi_resource_address64)
357 * 357 *
358 * RETURN: Status 358 * RETURN: Status
@@ -415,9 +415,9 @@ ACPI_EXPORT_SYMBOL(acpi_resource_to_address64)
415 * FUNCTION: acpi_get_vendor_resource 415 * FUNCTION: acpi_get_vendor_resource
416 * 416 *
417 * PARAMETERS: device_handle - Handle for the parent device object 417 * PARAMETERS: device_handle - Handle for the parent device object
418 * Name - Method name for the parent resource 418 * name - Method name for the parent resource
419 * (METHOD_NAME__CRS or METHOD_NAME__PRS) 419 * (METHOD_NAME__CRS or METHOD_NAME__PRS)
420 * Uuid - Pointer to the UUID to be matched. 420 * uuid - Pointer to the UUID to be matched.
421 * includes both subtype and 16-byte UUID 421 * includes both subtype and 16-byte UUID
422 * ret_buffer - Where the vendor resource is returned 422 * ret_buffer - Where the vendor resource is returned
423 * 423 *
@@ -526,11 +526,11 @@ acpi_rs_match_vendor_resource(struct acpi_resource *resource, void *context)
526 * 526 *
527 * PARAMETERS: device_handle - Handle to the device object for the 527 * PARAMETERS: device_handle - Handle to the device object for the
528 * device we are querying 528 * device we are querying
529 * Name - Method name of the resources we want. 529 * name - Method name of the resources we want.
530 * (METHOD_NAME__CRS, METHOD_NAME__PRS, or 530 * (METHOD_NAME__CRS, METHOD_NAME__PRS, or
531 * METHOD_NAME__AEI) 531 * METHOD_NAME__AEI)
532 * user_function - Called for each resource 532 * user_function - Called for each resource
533 * Context - Passed to user_function 533 * context - Passed to user_function
534 * 534 *
535 * RETURN: Status 535 * RETURN: Status
536 * 536 *
diff --git a/drivers/acpi/acpica/tbfadt.c b/drivers/acpi/acpica/tbfadt.c
index b3e3fd030765..390651860bf0 100644
--- a/drivers/acpi/acpica/tbfadt.c
+++ b/drivers/acpi/acpica/tbfadt.c
@@ -173,7 +173,7 @@ static struct acpi_fadt_pm_info fadt_pm_info_table[] = {
173 * 173 *
174 * PARAMETERS: generic_address - GAS struct to be initialized 174 * PARAMETERS: generic_address - GAS struct to be initialized
175 * byte_width - Width of this register 175 * byte_width - Width of this register
176 * Address - Address of the register 176 * address - Address of the register
177 * 177 *
178 * RETURN: None 178 * RETURN: None
179 * 179 *
@@ -283,8 +283,8 @@ void acpi_tb_parse_fadt(u32 table_index)
283 * 283 *
284 * FUNCTION: acpi_tb_create_local_fadt 284 * FUNCTION: acpi_tb_create_local_fadt
285 * 285 *
286 * PARAMETERS: Table - Pointer to BIOS FADT 286 * PARAMETERS: table - Pointer to BIOS FADT
287 * Length - Length of the table 287 * length - Length of the table
288 * 288 *
289 * RETURN: None 289 * RETURN: None
290 * 290 *
@@ -484,7 +484,7 @@ static void acpi_tb_convert_fadt(void)
484 * 484 *
485 * FUNCTION: acpi_tb_validate_fadt 485 * FUNCTION: acpi_tb_validate_fadt
486 * 486 *
487 * PARAMETERS: Table - Pointer to the FADT to be validated 487 * PARAMETERS: table - Pointer to the FADT to be validated
488 * 488 *
489 * RETURN: None 489 * RETURN: None
490 * 490 *
@@ -583,7 +583,7 @@ static void acpi_tb_validate_fadt(void)
583 } 583 }
584 } else if (fadt_info_table[i].type & ACPI_FADT_SEPARATE_LENGTH) { 584 } else if (fadt_info_table[i].type & ACPI_FADT_SEPARATE_LENGTH) {
585 /* 585 /*
586 * Field is optional (PM2Control, GPE0, GPE1) AND has its own 586 * Field is optional (Pm2_control, GPE0, GPE1) AND has its own
587 * length field. If present, both the address and length must 587 * length field. If present, both the address and length must
588 * be valid. 588 * be valid.
589 */ 589 */
diff --git a/drivers/acpi/acpica/tbfind.c b/drivers/acpi/acpica/tbfind.c
index 4903e36ea75a..57deae166577 100644
--- a/drivers/acpi/acpica/tbfind.c
+++ b/drivers/acpi/acpica/tbfind.c
@@ -52,7 +52,7 @@ ACPI_MODULE_NAME("tbfind")
52 * 52 *
53 * FUNCTION: acpi_tb_find_table 53 * FUNCTION: acpi_tb_find_table
54 * 54 *
55 * PARAMETERS: Signature - String with ACPI table signature 55 * PARAMETERS: signature - String with ACPI table signature
56 * oem_id - String with the table OEM ID 56 * oem_id - String with the table OEM ID
57 * oem_table_id - String with the OEM Table ID 57 * oem_table_id - String with the OEM Table ID
58 * table_index - Where the table index is returned 58 * table_index - Where the table index is returned
diff --git a/drivers/acpi/acpica/tbinstal.c b/drivers/acpi/acpica/tbinstal.c
index a265d4ab40ac..74f97d74db1c 100644
--- a/drivers/acpi/acpica/tbinstal.c
+++ b/drivers/acpi/acpica/tbinstal.c
@@ -397,10 +397,10 @@ acpi_status acpi_tb_resize_root_table_list(void)
397 * 397 *
398 * FUNCTION: acpi_tb_store_table 398 * FUNCTION: acpi_tb_store_table
399 * 399 *
400 * PARAMETERS: Address - Table address 400 * PARAMETERS: address - Table address
401 * Table - Table header 401 * table - Table header
402 * Length - Table length 402 * length - Table length
403 * Flags - flags 403 * flags - flags
404 * 404 *
405 * RETURN: Status and table index. 405 * RETURN: Status and table index.
406 * 406 *
diff --git a/drivers/acpi/acpica/tbutils.c b/drivers/acpi/acpica/tbutils.c
index 6818b31954c8..b6cea30da638 100644
--- a/drivers/acpi/acpica/tbutils.c
+++ b/drivers/acpi/acpica/tbutils.c
@@ -178,8 +178,8 @@ u8 acpi_tb_tables_loaded(void)
178 * 178 *
179 * FUNCTION: acpi_tb_fix_string 179 * FUNCTION: acpi_tb_fix_string
180 * 180 *
181 * PARAMETERS: String - String to be repaired 181 * PARAMETERS: string - String to be repaired
182 * Length - Maximum length 182 * length - Maximum length
183 * 183 *
184 * RETURN: None 184 * RETURN: None
185 * 185 *
@@ -205,7 +205,7 @@ static void acpi_tb_fix_string(char *string, acpi_size length)
205 * FUNCTION: acpi_tb_cleanup_table_header 205 * FUNCTION: acpi_tb_cleanup_table_header
206 * 206 *
207 * PARAMETERS: out_header - Where the cleaned header is returned 207 * PARAMETERS: out_header - Where the cleaned header is returned
208 * Header - Input ACPI table header 208 * header - Input ACPI table header
209 * 209 *
210 * RETURN: Returns the cleaned header in out_header 210 * RETURN: Returns the cleaned header in out_header
211 * 211 *
@@ -231,8 +231,8 @@ acpi_tb_cleanup_table_header(struct acpi_table_header *out_header,
231 * 231 *
232 * FUNCTION: acpi_tb_print_table_header 232 * FUNCTION: acpi_tb_print_table_header
233 * 233 *
234 * PARAMETERS: Address - Table physical address 234 * PARAMETERS: address - Table physical address
235 * Header - Table header 235 * header - Table header
236 * 236 *
237 * RETURN: None 237 * RETURN: None
238 * 238 *
@@ -296,8 +296,8 @@ acpi_tb_print_table_header(acpi_physical_address address,
296 * 296 *
297 * FUNCTION: acpi_tb_validate_checksum 297 * FUNCTION: acpi_tb_validate_checksum
298 * 298 *
299 * PARAMETERS: Table - ACPI table to verify 299 * PARAMETERS: table - ACPI table to verify
300 * Length - Length of entire table 300 * length - Length of entire table
301 * 301 *
302 * RETURN: Status 302 * RETURN: Status
303 * 303 *
@@ -336,8 +336,8 @@ acpi_status acpi_tb_verify_checksum(struct acpi_table_header *table, u32 length)
336 * 336 *
337 * FUNCTION: acpi_tb_checksum 337 * FUNCTION: acpi_tb_checksum
338 * 338 *
339 * PARAMETERS: Buffer - Pointer to memory region to be checked 339 * PARAMETERS: buffer - Pointer to memory region to be checked
340 * Length - Length of this memory region 340 * length - Length of this memory region
341 * 341 *
342 * RETURN: Checksum (u8) 342 * RETURN: Checksum (u8)
343 * 343 *
@@ -440,8 +440,8 @@ struct acpi_table_header *acpi_tb_copy_dsdt(u32 table_index)
440 * 440 *
441 * FUNCTION: acpi_tb_install_table 441 * FUNCTION: acpi_tb_install_table
442 * 442 *
443 * PARAMETERS: Address - Physical address of DSDT or FACS 443 * PARAMETERS: address - Physical address of DSDT or FACS
444 * Signature - Table signature, NULL if no need to 444 * signature - Table signature, NULL if no need to
445 * match 445 * match
446 * table_index - Index into root table array 446 * table_index - Index into root table array
447 * 447 *
@@ -606,7 +606,7 @@ acpi_tb_get_root_table_entry(u8 *table_entry, u32 table_entry_size)
606 * 606 *
607 * FUNCTION: acpi_tb_parse_root_table 607 * FUNCTION: acpi_tb_parse_root_table
608 * 608 *
609 * PARAMETERS: Rsdp - Pointer to the RSDP 609 * PARAMETERS: rsdp - Pointer to the RSDP
610 * 610 *
611 * RETURN: Status 611 * RETURN: Status
612 * 612 *
diff --git a/drivers/acpi/acpica/tbxface.c b/drivers/acpi/acpica/tbxface.c
index 9bf34f76d936..ea4c6d52605a 100644
--- a/drivers/acpi/acpica/tbxface.c
+++ b/drivers/acpi/acpica/tbxface.c
@@ -59,7 +59,7 @@ ACPI_MODULE_NAME("tbxface")
59 * 59 *
60 * RETURN: Status 60 * RETURN: Status
61 * 61 *
62 * DESCRIPTION: Allocate a root table array. Used by i_aSL compiler and 62 * DESCRIPTION: Allocate a root table array. Used by iASL compiler and
63 * acpi_initialize_tables. 63 * acpi_initialize_tables.
64 * 64 *
65 ******************************************************************************/ 65 ******************************************************************************/
@@ -217,8 +217,8 @@ acpi_status acpi_reallocate_root_table(void)
217 * 217 *
218 * FUNCTION: acpi_get_table_header 218 * FUNCTION: acpi_get_table_header
219 * 219 *
220 * PARAMETERS: Signature - ACPI signature of needed table 220 * PARAMETERS: signature - ACPI signature of needed table
221 * Instance - Which instance (for SSDTs) 221 * instance - Which instance (for SSDTs)
222 * out_table_header - The pointer to the table header to fill 222 * out_table_header - The pointer to the table header to fill
223 * 223 *
224 * RETURN: Status and pointer to mapped table header 224 * RETURN: Status and pointer to mapped table header
@@ -333,8 +333,8 @@ ACPI_EXPORT_SYMBOL(acpi_unload_table_id)
333 * 333 *
334 * FUNCTION: acpi_get_table_with_size 334 * FUNCTION: acpi_get_table_with_size
335 * 335 *
336 * PARAMETERS: Signature - ACPI signature of needed table 336 * PARAMETERS: signature - ACPI signature of needed table
337 * Instance - Which instance (for SSDTs) 337 * instance - Which instance (for SSDTs)
338 * out_table - Where the pointer to the table is returned 338 * out_table - Where the pointer to the table is returned
339 * 339 *
340 * RETURN: Status and pointer to table 340 * RETURN: Status and pointer to table
@@ -404,7 +404,7 @@ ACPI_EXPORT_SYMBOL(acpi_get_table)
404 * FUNCTION: acpi_get_table_by_index 404 * FUNCTION: acpi_get_table_by_index
405 * 405 *
406 * PARAMETERS: table_index - Table index 406 * PARAMETERS: table_index - Table index
407 * Table - Where the pointer to the table is returned 407 * table - Where the pointer to the table is returned
408 * 408 *
409 * RETURN: Status and pointer to the table 409 * RETURN: Status and pointer to the table
410 * 410 *
@@ -458,8 +458,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_table_by_index)
458 * 458 *
459 * FUNCTION: acpi_install_table_handler 459 * FUNCTION: acpi_install_table_handler
460 * 460 *
461 * PARAMETERS: Handler - Table event handler 461 * PARAMETERS: handler - Table event handler
462 * Context - Value passed to the handler on each event 462 * context - Value passed to the handler on each event
463 * 463 *
464 * RETURN: Status 464 * RETURN: Status
465 * 465 *
@@ -505,7 +505,7 @@ ACPI_EXPORT_SYMBOL(acpi_install_table_handler)
505 * 505 *
506 * FUNCTION: acpi_remove_table_handler 506 * FUNCTION: acpi_remove_table_handler
507 * 507 *
508 * PARAMETERS: Handler - Table event handler that was installed 508 * PARAMETERS: handler - Table event handler that was installed
509 * previously. 509 * previously.
510 * 510 *
511 * RETURN: Status 511 * RETURN: Status
diff --git a/drivers/acpi/acpica/tbxfroot.c b/drivers/acpi/acpica/tbxfroot.c
index 5f6f7445c37c..74e720800037 100644
--- a/drivers/acpi/acpica/tbxfroot.c
+++ b/drivers/acpi/acpica/tbxfroot.c
@@ -57,7 +57,7 @@ static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp);
57 * 57 *
58 * FUNCTION: acpi_tb_validate_rsdp 58 * FUNCTION: acpi_tb_validate_rsdp
59 * 59 *
60 * PARAMETERS: Rsdp - Pointer to unvalidated RSDP 60 * PARAMETERS: rsdp - Pointer to unvalidated RSDP
61 * 61 *
62 * RETURN: Status 62 * RETURN: Status
63 * 63 *
@@ -107,10 +107,10 @@ static acpi_status acpi_tb_validate_rsdp(struct acpi_table_rsdp *rsdp)
107 * 107 *
108 * RETURN: Status, RSDP physical address 108 * RETURN: Status, RSDP physical address
109 * 109 *
110 * DESCRIPTION: Search lower 1_mbyte of memory for the root system descriptor 110 * DESCRIPTION: Search lower 1Mbyte of memory for the root system descriptor
111 * pointer structure. If it is found, set *RSDP to point to it. 111 * pointer structure. If it is found, set *RSDP to point to it.
112 * 112 *
113 * NOTE1: The RSDP must be either in the first 1_k of the Extended 113 * NOTE1: The RSDP must be either in the first 1K of the Extended
114 * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.) 114 * BIOS Data Area or between E0000 and FFFFF (From ACPI Spec.)
115 * Only a 32-bit physical address is necessary. 115 * Only a 32-bit physical address is necessary.
116 * 116 *
@@ -152,7 +152,7 @@ acpi_status acpi_find_root_pointer(acpi_size *table_address)
152 if (physical_address > 0x400) { 152 if (physical_address > 0x400) {
153 /* 153 /*
154 * 1b) Search EBDA paragraphs (EBDA is required to be a 154 * 1b) Search EBDA paragraphs (EBDA is required to be a
155 * minimum of 1_k length) 155 * minimum of 1K length)
156 */ 156 */
157 table_ptr = acpi_os_map_memory((acpi_physical_address) 157 table_ptr = acpi_os_map_memory((acpi_physical_address)
158 physical_address, 158 physical_address,
@@ -225,7 +225,7 @@ acpi_status acpi_find_root_pointer(acpi_size *table_address)
225 * FUNCTION: acpi_tb_scan_memory_for_rsdp 225 * FUNCTION: acpi_tb_scan_memory_for_rsdp
226 * 226 *
227 * PARAMETERS: start_address - Starting pointer for search 227 * PARAMETERS: start_address - Starting pointer for search
228 * Length - Maximum length to search 228 * length - Maximum length to search
229 * 229 *
230 * RETURN: Pointer to the RSDP if found, otherwise NULL. 230 * RETURN: Pointer to the RSDP if found, otherwise NULL.
231 * 231 *
diff --git a/drivers/acpi/acpica/utaddress.c b/drivers/acpi/acpica/utaddress.c
index 67932aebe6dd..64880306133d 100644
--- a/drivers/acpi/acpica/utaddress.c
+++ b/drivers/acpi/acpica/utaddress.c
@@ -53,8 +53,8 @@ ACPI_MODULE_NAME("utaddress")
53 * FUNCTION: acpi_ut_add_address_range 53 * FUNCTION: acpi_ut_add_address_range
54 * 54 *
55 * PARAMETERS: space_id - Address space ID 55 * PARAMETERS: space_id - Address space ID
56 * Address - op_region start address 56 * address - op_region start address
57 * Length - op_region length 57 * length - op_region length
58 * region_node - op_region namespace node 58 * region_node - op_region namespace node
59 * 59 *
60 * RETURN: Status 60 * RETURN: Status
@@ -186,9 +186,9 @@ acpi_ut_remove_address_range(acpi_adr_space_type space_id,
186 * FUNCTION: acpi_ut_check_address_range 186 * FUNCTION: acpi_ut_check_address_range
187 * 187 *
188 * PARAMETERS: space_id - Address space ID 188 * PARAMETERS: space_id - Address space ID
189 * Address - Start address 189 * address - Start address
190 * Length - Length of address range 190 * length - Length of address range
191 * Warn - TRUE if warning on overlap desired 191 * warn - TRUE if warning on overlap desired
192 * 192 *
193 * RETURN: Count of the number of conflicts detected. Zero is always 193 * RETURN: Count of the number of conflicts detected. Zero is always
194 * returned for Space IDs other than Memory or I/O. 194 * returned for Space IDs other than Memory or I/O.
diff --git a/drivers/acpi/acpica/utalloc.c b/drivers/acpi/acpica/utalloc.c
index 9982d2ea66fb..ed29d474095e 100644
--- a/drivers/acpi/acpica/utalloc.c
+++ b/drivers/acpi/acpica/utalloc.c
@@ -189,7 +189,7 @@ acpi_status acpi_ut_delete_caches(void)
189 * 189 *
190 * FUNCTION: acpi_ut_validate_buffer 190 * FUNCTION: acpi_ut_validate_buffer
191 * 191 *
192 * PARAMETERS: Buffer - Buffer descriptor to be validated 192 * PARAMETERS: buffer - Buffer descriptor to be validated
193 * 193 *
194 * RETURN: Status 194 * RETURN: Status
195 * 195 *
@@ -227,7 +227,7 @@ acpi_status acpi_ut_validate_buffer(struct acpi_buffer * buffer)
227 * 227 *
228 * FUNCTION: acpi_ut_initialize_buffer 228 * FUNCTION: acpi_ut_initialize_buffer
229 * 229 *
230 * PARAMETERS: Buffer - Buffer to be validated 230 * PARAMETERS: buffer - Buffer to be validated
231 * required_length - Length needed 231 * required_length - Length needed
232 * 232 *
233 * RETURN: Status 233 * RETURN: Status
@@ -308,10 +308,10 @@ acpi_ut_initialize_buffer(struct acpi_buffer * buffer,
308 * 308 *
309 * FUNCTION: acpi_ut_allocate 309 * FUNCTION: acpi_ut_allocate
310 * 310 *
311 * PARAMETERS: Size - Size of the allocation 311 * PARAMETERS: size - Size of the allocation
312 * Component - Component type of caller 312 * component - Component type of caller
313 * Module - Source file name of caller 313 * module - Source file name of caller
314 * Line - Line number of caller 314 * line - Line number of caller
315 * 315 *
316 * RETURN: Address of the allocated memory on success, NULL on failure. 316 * RETURN: Address of the allocated memory on success, NULL on failure.
317 * 317 *
@@ -352,10 +352,10 @@ void *acpi_ut_allocate(acpi_size size,
352 * 352 *
353 * FUNCTION: acpi_ut_allocate_zeroed 353 * FUNCTION: acpi_ut_allocate_zeroed
354 * 354 *
355 * PARAMETERS: Size - Size of the allocation 355 * PARAMETERS: size - Size of the allocation
356 * Component - Component type of caller 356 * component - Component type of caller
357 * Module - Source file name of caller 357 * module - Source file name of caller
358 * Line - Line number of caller 358 * line - Line number of caller
359 * 359 *
360 * RETURN: Address of the allocated memory on success, NULL on failure. 360 * RETURN: Address of the allocated memory on success, NULL on failure.
361 * 361 *
diff --git a/drivers/acpi/acpica/utcopy.c b/drivers/acpi/acpica/utcopy.c
index 3317c0a406ee..294692ae76e9 100644
--- a/drivers/acpi/acpica/utcopy.c
+++ b/drivers/acpi/acpica/utcopy.c
@@ -317,7 +317,7 @@ acpi_ut_copy_ielement_to_eelement(u8 object_type,
317 * FUNCTION: acpi_ut_copy_ipackage_to_epackage 317 * FUNCTION: acpi_ut_copy_ipackage_to_epackage
318 * 318 *
319 * PARAMETERS: internal_object - Pointer to the object we are returning 319 * PARAMETERS: internal_object - Pointer to the object we are returning
320 * Buffer - Where the object is returned 320 * buffer - Where the object is returned
321 * space_used - Where the object length is returned 321 * space_used - Where the object length is returned
322 * 322 *
323 * RETURN: Status 323 * RETURN: Status
diff --git a/drivers/acpi/acpica/utdebug.c b/drivers/acpi/acpica/utdebug.c
index a0998a886318..e810894149ae 100644
--- a/drivers/acpi/acpica/utdebug.c
+++ b/drivers/acpi/acpica/utdebug.c
@@ -145,7 +145,7 @@ static const char *acpi_ut_trim_function_name(const char *function_name)
145 * function_name - Caller's procedure name 145 * function_name - Caller's procedure name
146 * module_name - Caller's module name 146 * module_name - Caller's module name
147 * component_id - Caller's component ID 147 * component_id - Caller's component ID
148 * Format - Printf format field 148 * format - Printf format field
149 * ... - Optional printf arguments 149 * ... - Optional printf arguments
150 * 150 *
151 * RETURN: None 151 * RETURN: None
@@ -217,7 +217,7 @@ ACPI_EXPORT_SYMBOL(acpi_debug_print)
217 * function_name - Caller's procedure name 217 * function_name - Caller's procedure name
218 * module_name - Caller's module name 218 * module_name - Caller's module name
219 * component_id - Caller's component ID 219 * component_id - Caller's component ID
220 * Format - Printf format field 220 * format - Printf format field
221 * ... - Optional printf arguments 221 * ... - Optional printf arguments
222 * 222 *
223 * RETURN: None 223 * RETURN: None
@@ -286,7 +286,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_trace)
286 * function_name - Caller's procedure name 286 * function_name - Caller's procedure name
287 * module_name - Caller's module name 287 * module_name - Caller's module name
288 * component_id - Caller's component ID 288 * component_id - Caller's component ID
289 * Pointer - Pointer to display 289 * pointer - Pointer to display
290 * 290 *
291 * RETURN: None 291 * RETURN: None
292 * 292 *
@@ -315,7 +315,7 @@ acpi_ut_trace_ptr(u32 line_number,
315 * function_name - Caller's procedure name 315 * function_name - Caller's procedure name
316 * module_name - Caller's module name 316 * module_name - Caller's module name
317 * component_id - Caller's component ID 317 * component_id - Caller's component ID
318 * String - Additional string to display 318 * string - Additional string to display
319 * 319 *
320 * RETURN: None 320 * RETURN: None
321 * 321 *
@@ -346,7 +346,7 @@ acpi_ut_trace_str(u32 line_number,
346 * function_name - Caller's procedure name 346 * function_name - Caller's procedure name
347 * module_name - Caller's module name 347 * module_name - Caller's module name
348 * component_id - Caller's component ID 348 * component_id - Caller's component ID
349 * Integer - Integer to display 349 * integer - Integer to display
350 * 350 *
351 * RETURN: None 351 * RETURN: None
352 * 352 *
@@ -408,7 +408,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_exit)
408 * function_name - Caller's procedure name 408 * function_name - Caller's procedure name
409 * module_name - Caller's module name 409 * module_name - Caller's module name
410 * component_id - Caller's component ID 410 * component_id - Caller's component ID
411 * Status - Exit status code 411 * status - Exit status code
412 * 412 *
413 * RETURN: None 413 * RETURN: None
414 * 414 *
@@ -449,7 +449,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_status_exit)
449 * function_name - Caller's procedure name 449 * function_name - Caller's procedure name
450 * module_name - Caller's module name 450 * module_name - Caller's module name
451 * component_id - Caller's component ID 451 * component_id - Caller's component ID
452 * Value - Value to be printed with exit msg 452 * value - Value to be printed with exit msg
453 * 453 *
454 * RETURN: None 454 * RETURN: None
455 * 455 *
@@ -481,7 +481,7 @@ ACPI_EXPORT_SYMBOL(acpi_ut_value_exit)
481 * function_name - Caller's procedure name 481 * function_name - Caller's procedure name
482 * module_name - Caller's module name 482 * module_name - Caller's module name
483 * component_id - Caller's component ID 483 * component_id - Caller's component ID
484 * Ptr - Pointer to display 484 * ptr - Pointer to display
485 * 485 *
486 * RETURN: None 486 * RETURN: None
487 * 487 *
@@ -508,10 +508,10 @@ acpi_ut_ptr_exit(u32 line_number,
508 * 508 *
509 * FUNCTION: acpi_ut_dump_buffer 509 * FUNCTION: acpi_ut_dump_buffer
510 * 510 *
511 * PARAMETERS: Buffer - Buffer to dump 511 * PARAMETERS: buffer - Buffer to dump
512 * Count - Amount to dump, in bytes 512 * count - Amount to dump, in bytes
513 * Display - BYTE, WORD, DWORD, or QWORD display 513 * display - BYTE, WORD, DWORD, or QWORD display
514 * component_iD - Caller's component ID 514 * component_ID - Caller's component ID
515 * 515 *
516 * RETURN: None 516 * RETURN: None
517 * 517 *
@@ -625,10 +625,10 @@ void acpi_ut_dump_buffer2(u8 * buffer, u32 count, u32 display)
625 * 625 *
626 * FUNCTION: acpi_ut_dump_buffer 626 * FUNCTION: acpi_ut_dump_buffer
627 * 627 *
628 * PARAMETERS: Buffer - Buffer to dump 628 * PARAMETERS: buffer - Buffer to dump
629 * Count - Amount to dump, in bytes 629 * count - Amount to dump, in bytes
630 * Display - BYTE, WORD, DWORD, or QWORD display 630 * display - BYTE, WORD, DWORD, or QWORD display
631 * component_iD - Caller's component ID 631 * component_ID - Caller's component ID
632 * 632 *
633 * RETURN: None 633 * RETURN: None
634 * 634 *
diff --git a/drivers/acpi/acpica/utdecode.c b/drivers/acpi/acpica/utdecode.c
index 28134aee3af5..60a158472d82 100644
--- a/drivers/acpi/acpica/utdecode.c
+++ b/drivers/acpi/acpica/utdecode.c
@@ -91,8 +91,8 @@ const u8 acpi_gbl_ns_properties[ACPI_NUM_NS_TYPES] = {
91 * 91 *
92 * FUNCTION: acpi_ut_hex_to_ascii_char 92 * FUNCTION: acpi_ut_hex_to_ascii_char
93 * 93 *
94 * PARAMETERS: Integer - Contains the hex digit 94 * PARAMETERS: integer - Contains the hex digit
95 * Position - bit position of the digit within the 95 * position - bit position of the digit within the
96 * integer (multiple of 4) 96 * integer (multiple of 4)
97 * 97 *
98 * RETURN: The converted Ascii character 98 * RETURN: The converted Ascii character
@@ -194,7 +194,7 @@ char *acpi_ut_get_event_name(u32 event_id)
194 * 194 *
195 * FUNCTION: acpi_ut_get_type_name 195 * FUNCTION: acpi_ut_get_type_name
196 * 196 *
197 * PARAMETERS: Type - An ACPI object type 197 * PARAMETERS: type - An ACPI object type
198 * 198 *
199 * RETURN: Decoded ACPI object type name 199 * RETURN: Decoded ACPI object type name
200 * 200 *
@@ -272,7 +272,7 @@ char *acpi_ut_get_object_type_name(union acpi_operand_object *obj_desc)
272 * 272 *
273 * FUNCTION: acpi_ut_get_node_name 273 * FUNCTION: acpi_ut_get_node_name
274 * 274 *
275 * PARAMETERS: Object - A namespace node 275 * PARAMETERS: object - A namespace node
276 * 276 *
277 * RETURN: ASCII name of the node 277 * RETURN: ASCII name of the node
278 * 278 *
@@ -317,7 +317,7 @@ char *acpi_ut_get_node_name(void *object)
317 * 317 *
318 * FUNCTION: acpi_ut_get_descriptor_name 318 * FUNCTION: acpi_ut_get_descriptor_name
319 * 319 *
320 * PARAMETERS: Object - An ACPI object 320 * PARAMETERS: object - An ACPI object
321 * 321 *
322 * RETURN: Decoded name of the descriptor type 322 * RETURN: Decoded name of the descriptor type
323 * 323 *
@@ -367,7 +367,7 @@ char *acpi_ut_get_descriptor_name(void *object)
367 * 367 *
368 * FUNCTION: acpi_ut_get_reference_name 368 * FUNCTION: acpi_ut_get_reference_name
369 * 369 *
370 * PARAMETERS: Object - An ACPI reference object 370 * PARAMETERS: object - An ACPI reference object
371 * 371 *
372 * RETURN: Decoded name of the type of reference 372 * RETURN: Decoded name of the type of reference
373 * 373 *
@@ -498,7 +498,7 @@ const char *acpi_ut_get_notify_name(u32 notify_value)
498 * 498 *
499 * FUNCTION: acpi_ut_valid_object_type 499 * FUNCTION: acpi_ut_valid_object_type
500 * 500 *
501 * PARAMETERS: Type - Object type to be validated 501 * PARAMETERS: type - Object type to be validated
502 * 502 *
503 * RETURN: TRUE if valid object type, FALSE otherwise 503 * RETURN: TRUE if valid object type, FALSE otherwise
504 * 504 *
diff --git a/drivers/acpi/acpica/utdelete.c b/drivers/acpi/acpica/utdelete.c
index 0d50f2c6bac2..798105443d0f 100644
--- a/drivers/acpi/acpica/utdelete.c
+++ b/drivers/acpi/acpica/utdelete.c
@@ -60,7 +60,7 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action);
60 * 60 *
61 * FUNCTION: acpi_ut_delete_internal_obj 61 * FUNCTION: acpi_ut_delete_internal_obj
62 * 62 *
63 * PARAMETERS: Object - Object to be deleted 63 * PARAMETERS: object - Object to be deleted
64 * 64 *
65 * RETURN: None 65 * RETURN: None
66 * 66 *
@@ -358,8 +358,8 @@ void acpi_ut_delete_internal_object_list(union acpi_operand_object **obj_list)
358 * 358 *
359 * FUNCTION: acpi_ut_update_ref_count 359 * FUNCTION: acpi_ut_update_ref_count
360 * 360 *
361 * PARAMETERS: Object - Object whose ref count is to be updated 361 * PARAMETERS: object - Object whose ref count is to be updated
362 * Action - What to do 362 * action - What to do
363 * 363 *
364 * RETURN: New ref count 364 * RETURN: New ref count
365 * 365 *
@@ -456,9 +456,9 @@ acpi_ut_update_ref_count(union acpi_operand_object *object, u32 action)
456 * 456 *
457 * FUNCTION: acpi_ut_update_object_reference 457 * FUNCTION: acpi_ut_update_object_reference
458 * 458 *
459 * PARAMETERS: Object - Increment ref count for this object 459 * PARAMETERS: object - Increment ref count for this object
460 * and all sub-objects 460 * and all sub-objects
461 * Action - Either REF_INCREMENT or REF_DECREMENT or 461 * action - Either REF_INCREMENT or REF_DECREMENT or
462 * REF_FORCE_DELETE 462 * REF_FORCE_DELETE
463 * 463 *
464 * RETURN: Status 464 * RETURN: Status
@@ -640,7 +640,7 @@ acpi_ut_update_object_reference(union acpi_operand_object *object, u16 action)
640 * 640 *
641 * FUNCTION: acpi_ut_add_reference 641 * FUNCTION: acpi_ut_add_reference
642 * 642 *
643 * PARAMETERS: Object - Object whose reference count is to be 643 * PARAMETERS: object - Object whose reference count is to be
644 * incremented 644 * incremented
645 * 645 *
646 * RETURN: None 646 * RETURN: None
@@ -674,7 +674,7 @@ void acpi_ut_add_reference(union acpi_operand_object *object)
674 * 674 *
675 * FUNCTION: acpi_ut_remove_reference 675 * FUNCTION: acpi_ut_remove_reference
676 * 676 *
677 * PARAMETERS: Object - Object whose ref count will be decremented 677 * PARAMETERS: object - Object whose ref count will be decremented
678 * 678 *
679 * RETURN: None 679 * RETURN: None
680 * 680 *
diff --git a/drivers/acpi/acpica/uteval.c b/drivers/acpi/acpica/uteval.c
index 479f32b33415..a9c65fbea5f4 100644
--- a/drivers/acpi/acpica/uteval.c
+++ b/drivers/acpi/acpica/uteval.c
@@ -53,7 +53,7 @@ ACPI_MODULE_NAME("uteval")
53 * FUNCTION: acpi_ut_evaluate_object 53 * FUNCTION: acpi_ut_evaluate_object
54 * 54 *
55 * PARAMETERS: prefix_node - Starting node 55 * PARAMETERS: prefix_node - Starting node
56 * Path - Path to object from starting node 56 * path - Path to object from starting node
57 * expected_return_types - Bitmap of allowed return types 57 * expected_return_types - Bitmap of allowed return types
58 * return_desc - Where a return value is stored 58 * return_desc - Where a return value is stored
59 * 59 *
@@ -187,7 +187,7 @@ acpi_ut_evaluate_object(struct acpi_namespace_node *prefix_node,
187 * 187 *
188 * PARAMETERS: object_name - Object name to be evaluated 188 * PARAMETERS: object_name - Object name to be evaluated
189 * device_node - Node for the device 189 * device_node - Node for the device
190 * Value - Where the value is returned 190 * value - Where the value is returned
191 * 191 *
192 * RETURN: Status 192 * RETURN: Status
193 * 193 *
@@ -229,7 +229,7 @@ acpi_ut_evaluate_numeric_object(char *object_name,
229 * FUNCTION: acpi_ut_execute_STA 229 * FUNCTION: acpi_ut_execute_STA
230 * 230 *
231 * PARAMETERS: device_node - Node for the device 231 * PARAMETERS: device_node - Node for the device
232 * Flags - Where the status flags are returned 232 * flags - Where the status flags are returned
233 * 233 *
234 * RETURN: Status 234 * RETURN: Status
235 * 235 *
diff --git a/drivers/acpi/acpica/utglobal.c b/drivers/acpi/acpica/utglobal.c
index 9bd5b4ce552e..ed1893155f8b 100644
--- a/drivers/acpi/acpica/utglobal.c
+++ b/drivers/acpi/acpica/utglobal.c
@@ -285,7 +285,7 @@ acpi_status acpi_ut_init_globals(void)
285 acpi_gbl_owner_id_mask[i] = 0; 285 acpi_gbl_owner_id_mask[i] = 0;
286 } 286 }
287 287
288 /* Last owner_iD is never valid */ 288 /* Last owner_ID is never valid */
289 289
290 acpi_gbl_owner_id_mask[ACPI_NUM_OWNERID_MASKS - 1] = 0x80000000; 290 acpi_gbl_owner_id_mask[ACPI_NUM_OWNERID_MASKS - 1] = 0x80000000;
291 291
diff --git a/drivers/acpi/acpica/utids.c b/drivers/acpi/acpica/utids.c
index c92eb1d93785..5d84e1954575 100644
--- a/drivers/acpi/acpica/utids.c
+++ b/drivers/acpi/acpica/utids.c
@@ -1,6 +1,6 @@
1/****************************************************************************** 1/******************************************************************************
2 * 2 *
3 * Module Name: utids - support for device IDs - HID, UID, CID 3 * Module Name: utids - support for device Ids - HID, UID, CID
4 * 4 *
5 *****************************************************************************/ 5 *****************************************************************************/
6 6
diff --git a/drivers/acpi/acpica/utlock.c b/drivers/acpi/acpica/utlock.c
index 155fd786d0f2..b1eb7f17e110 100644
--- a/drivers/acpi/acpica/utlock.c
+++ b/drivers/acpi/acpica/utlock.c
@@ -52,7 +52,7 @@ ACPI_MODULE_NAME("utlock")
52 * FUNCTION: acpi_ut_create_rw_lock 52 * FUNCTION: acpi_ut_create_rw_lock
53 * acpi_ut_delete_rw_lock 53 * acpi_ut_delete_rw_lock
54 * 54 *
55 * PARAMETERS: Lock - Pointer to a valid RW lock 55 * PARAMETERS: lock - Pointer to a valid RW lock
56 * 56 *
57 * RETURN: Status 57 * RETURN: Status
58 * 58 *
@@ -89,7 +89,7 @@ void acpi_ut_delete_rw_lock(struct acpi_rw_lock *lock)
89 * FUNCTION: acpi_ut_acquire_read_lock 89 * FUNCTION: acpi_ut_acquire_read_lock
90 * acpi_ut_release_read_lock 90 * acpi_ut_release_read_lock
91 * 91 *
92 * PARAMETERS: Lock - Pointer to a valid RW lock 92 * PARAMETERS: lock - Pointer to a valid RW lock
93 * 93 *
94 * RETURN: Status 94 * RETURN: Status
95 * 95 *
@@ -149,7 +149,7 @@ acpi_status acpi_ut_release_read_lock(struct acpi_rw_lock *lock)
149 * FUNCTION: acpi_ut_acquire_write_lock 149 * FUNCTION: acpi_ut_acquire_write_lock
150 * acpi_ut_release_write_lock 150 * acpi_ut_release_write_lock
151 * 151 *
152 * PARAMETERS: Lock - Pointer to a valid RW lock 152 * PARAMETERS: lock - Pointer to a valid RW lock
153 * 153 *
154 * RETURN: Status 154 * RETURN: Status
155 * 155 *
diff --git a/drivers/acpi/acpica/utmath.c b/drivers/acpi/acpica/utmath.c
index 2491a552b0e6..d88a8aaab2a6 100644
--- a/drivers/acpi/acpica/utmath.c
+++ b/drivers/acpi/acpica/utmath.c
@@ -73,8 +73,8 @@ typedef union uint64_overlay {
73 * 73 *
74 * FUNCTION: acpi_ut_short_divide 74 * FUNCTION: acpi_ut_short_divide
75 * 75 *
76 * PARAMETERS: Dividend - 64-bit dividend 76 * PARAMETERS: dividend - 64-bit dividend
77 * Divisor - 32-bit divisor 77 * divisor - 32-bit divisor
78 * out_quotient - Pointer to where the quotient is returned 78 * out_quotient - Pointer to where the quotient is returned
79 * out_remainder - Pointer to where the remainder is returned 79 * out_remainder - Pointer to where the remainder is returned
80 * 80 *
diff --git a/drivers/acpi/acpica/utmisc.c b/drivers/acpi/acpica/utmisc.c
index e30c060b7bef..33c6cf7ff467 100644
--- a/drivers/acpi/acpica/utmisc.c
+++ b/drivers/acpi/acpica/utmisc.c
@@ -55,7 +55,7 @@ ACPI_MODULE_NAME("utmisc")
55 * 55 *
56 * FUNCTION: ut_convert_backslashes 56 * FUNCTION: ut_convert_backslashes
57 * 57 *
58 * PARAMETERS: Pathname - File pathname string to be converted 58 * PARAMETERS: pathname - File pathname string to be converted
59 * 59 *
60 * RETURN: Modifies the input Pathname 60 * RETURN: Modifies the input Pathname
61 * 61 *
@@ -84,7 +84,7 @@ void ut_convert_backslashes(char *pathname)
84 * 84 *
85 * FUNCTION: acpi_ut_is_pci_root_bridge 85 * FUNCTION: acpi_ut_is_pci_root_bridge
86 * 86 *
87 * PARAMETERS: Id - The HID/CID in string format 87 * PARAMETERS: id - The HID/CID in string format
88 * 88 *
89 * RETURN: TRUE if the Id is a match for a PCI/PCI-Express Root Bridge 89 * RETURN: TRUE if the Id is a match for a PCI/PCI-Express Root Bridge
90 * 90 *
@@ -112,7 +112,7 @@ u8 acpi_ut_is_pci_root_bridge(char *id)
112 * 112 *
113 * FUNCTION: acpi_ut_is_aml_table 113 * FUNCTION: acpi_ut_is_aml_table
114 * 114 *
115 * PARAMETERS: Table - An ACPI table 115 * PARAMETERS: table - An ACPI table
116 * 116 *
117 * RETURN: TRUE if table contains executable AML; FALSE otherwise 117 * RETURN: TRUE if table contains executable AML; FALSE otherwise
118 * 118 *
@@ -246,7 +246,7 @@ acpi_status acpi_ut_allocate_owner_id(acpi_owner_id * owner_id)
246 * 246 *
247 * FUNCTION: acpi_ut_release_owner_id 247 * FUNCTION: acpi_ut_release_owner_id
248 * 248 *
249 * PARAMETERS: owner_id_ptr - Pointer to a previously allocated owner_iD 249 * PARAMETERS: owner_id_ptr - Pointer to a previously allocated owner_ID
250 * 250 *
251 * RETURN: None. No error is returned because we are either exiting a 251 * RETURN: None. No error is returned because we are either exiting a
252 * control method or unloading a table. Either way, we would 252 * control method or unloading a table. Either way, we would
@@ -269,7 +269,7 @@ void acpi_ut_release_owner_id(acpi_owner_id * owner_id_ptr)
269 269
270 *owner_id_ptr = 0; 270 *owner_id_ptr = 0;
271 271
272 /* Zero is not a valid owner_iD */ 272 /* Zero is not a valid owner_ID */
273 273
274 if (owner_id == 0) { 274 if (owner_id == 0) {
275 ACPI_ERROR((AE_INFO, "Invalid OwnerId: 0x%2.2X", owner_id)); 275 ACPI_ERROR((AE_INFO, "Invalid OwnerId: 0x%2.2X", owner_id));
@@ -343,7 +343,7 @@ void acpi_ut_strupr(char *src_string)
343 * 343 *
344 * FUNCTION: acpi_ut_print_string 344 * FUNCTION: acpi_ut_print_string
345 * 345 *
346 * PARAMETERS: String - Null terminated ASCII string 346 * PARAMETERS: string - Null terminated ASCII string
347 * max_length - Maximum output length 347 * max_length - Maximum output length
348 * 348 *
349 * RETURN: None 349 * RETURN: None
@@ -429,7 +429,7 @@ void acpi_ut_print_string(char *string, u8 max_length)
429 * 429 *
430 * FUNCTION: acpi_ut_dword_byte_swap 430 * FUNCTION: acpi_ut_dword_byte_swap
431 * 431 *
432 * PARAMETERS: Value - Value to be converted 432 * PARAMETERS: value - Value to be converted
433 * 433 *
434 * RETURN: u32 integer with bytes swapped 434 * RETURN: u32 integer with bytes swapped
435 * 435 *
@@ -499,9 +499,9 @@ void acpi_ut_set_integer_width(u8 revision)
499 * 499 *
500 * FUNCTION: acpi_ut_display_init_pathname 500 * FUNCTION: acpi_ut_display_init_pathname
501 * 501 *
502 * PARAMETERS: Type - Object type of the node 502 * PARAMETERS: type - Object type of the node
503 * obj_handle - Handle whose pathname will be displayed 503 * obj_handle - Handle whose pathname will be displayed
504 * Path - Additional path string to be appended. 504 * path - Additional path string to be appended.
505 * (NULL if no extra path) 505 * (NULL if no extra path)
506 * 506 *
507 * RETURN: acpi_status 507 * RETURN: acpi_status
@@ -566,8 +566,8 @@ acpi_ut_display_init_pathname(u8 type,
566 * 566 *
567 * FUNCTION: acpi_ut_valid_acpi_char 567 * FUNCTION: acpi_ut_valid_acpi_char
568 * 568 *
569 * PARAMETERS: Char - The character to be examined 569 * PARAMETERS: char - The character to be examined
570 * Position - Byte position (0-3) 570 * position - Byte position (0-3)
571 * 571 *
572 * RETURN: TRUE if the character is valid, FALSE otherwise 572 * RETURN: TRUE if the character is valid, FALSE otherwise
573 * 573 *
@@ -602,7 +602,7 @@ u8 acpi_ut_valid_acpi_char(char character, u32 position)
602 * 602 *
603 * FUNCTION: acpi_ut_valid_acpi_name 603 * FUNCTION: acpi_ut_valid_acpi_name
604 * 604 *
605 * PARAMETERS: Name - The name to be examined 605 * PARAMETERS: name - The name to be examined
606 * 606 *
607 * RETURN: TRUE if the name is valid, FALSE otherwise 607 * RETURN: TRUE if the name is valid, FALSE otherwise
608 * 608 *
@@ -633,7 +633,7 @@ u8 acpi_ut_valid_acpi_name(u32 name)
633 * 633 *
634 * FUNCTION: acpi_ut_repair_name 634 * FUNCTION: acpi_ut_repair_name
635 * 635 *
636 * PARAMETERS: Name - The ACPI name to be repaired 636 * PARAMETERS: name - The ACPI name to be repaired
637 * 637 *
638 * RETURN: Repaired version of the name 638 * RETURN: Repaired version of the name
639 * 639 *
@@ -667,8 +667,8 @@ acpi_name acpi_ut_repair_name(char *name)
667 * 667 *
668 * FUNCTION: acpi_ut_strtoul64 668 * FUNCTION: acpi_ut_strtoul64
669 * 669 *
670 * PARAMETERS: String - Null terminated string 670 * PARAMETERS: string - Null terminated string
671 * Base - Radix of the string: 16 or ACPI_ANY_BASE; 671 * base - Radix of the string: 16 or ACPI_ANY_BASE;
672 * ACPI_ANY_BASE means 'in behalf of to_integer' 672 * ACPI_ANY_BASE means 'in behalf of to_integer'
673 * ret_integer - Where the converted integer is returned 673 * ret_integer - Where the converted integer is returned
674 * 674 *
@@ -717,7 +717,7 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 * ret_integer)
717 717
718 if (to_integer_op) { 718 if (to_integer_op) {
719 /* 719 /*
720 * Base equal to ACPI_ANY_BASE means 'to_integer operation case'. 720 * Base equal to ACPI_ANY_BASE means 'ToInteger operation case'.
721 * We need to determine if it is decimal or hexadecimal. 721 * We need to determine if it is decimal or hexadecimal.
722 */ 722 */
723 if ((*string == '0') && (ACPI_TOLOWER(*(string + 1)) == 'x')) { 723 if ((*string == '0') && (ACPI_TOLOWER(*(string + 1)) == 'x')) {
@@ -840,8 +840,8 @@ acpi_status acpi_ut_strtoul64(char *string, u32 base, u64 * ret_integer)
840 * 840 *
841 * FUNCTION: acpi_ut_create_update_state_and_push 841 * FUNCTION: acpi_ut_create_update_state_and_push
842 * 842 *
843 * PARAMETERS: Object - Object to be added to the new state 843 * PARAMETERS: object - Object to be added to the new state
844 * Action - Increment/Decrement 844 * action - Increment/Decrement
845 * state_list - List the state will be added to 845 * state_list - List the state will be added to
846 * 846 *
847 * RETURN: Status 847 * RETURN: Status
@@ -881,7 +881,7 @@ acpi_ut_create_update_state_and_push(union acpi_operand_object *object,
881 * PARAMETERS: source_object - The package to walk 881 * PARAMETERS: source_object - The package to walk
882 * target_object - Target object (if package is being copied) 882 * target_object - Target object (if package is being copied)
883 * walk_callback - Called once for each package element 883 * walk_callback - Called once for each package element
884 * Context - Passed to the callback function 884 * context - Passed to the callback function
885 * 885 *
886 * RETURN: Status 886 * RETURN: Status
887 * 887 *
diff --git a/drivers/acpi/acpica/utmutex.c b/drivers/acpi/acpica/utmutex.c
index 43174df33121..296baa676bc5 100644
--- a/drivers/acpi/acpica/utmutex.c
+++ b/drivers/acpi/acpica/utmutex.c
@@ -147,7 +147,7 @@ void acpi_ut_mutex_terminate(void)
147 * 147 *
148 * FUNCTION: acpi_ut_create_mutex 148 * FUNCTION: acpi_ut_create_mutex
149 * 149 *
150 * PARAMETERS: mutex_iD - ID of the mutex to be created 150 * PARAMETERS: mutex_ID - ID of the mutex to be created
151 * 151 *
152 * RETURN: Status 152 * RETURN: Status
153 * 153 *
@@ -176,7 +176,7 @@ static acpi_status acpi_ut_create_mutex(acpi_mutex_handle mutex_id)
176 * 176 *
177 * FUNCTION: acpi_ut_delete_mutex 177 * FUNCTION: acpi_ut_delete_mutex
178 * 178 *
179 * PARAMETERS: mutex_iD - ID of the mutex to be deleted 179 * PARAMETERS: mutex_ID - ID of the mutex to be deleted
180 * 180 *
181 * RETURN: Status 181 * RETURN: Status
182 * 182 *
@@ -199,7 +199,7 @@ static void acpi_ut_delete_mutex(acpi_mutex_handle mutex_id)
199 * 199 *
200 * FUNCTION: acpi_ut_acquire_mutex 200 * FUNCTION: acpi_ut_acquire_mutex
201 * 201 *
202 * PARAMETERS: mutex_iD - ID of the mutex to be acquired 202 * PARAMETERS: mutex_ID - ID of the mutex to be acquired
203 * 203 *
204 * RETURN: Status 204 * RETURN: Status
205 * 205 *
@@ -283,7 +283,7 @@ acpi_status acpi_ut_acquire_mutex(acpi_mutex_handle mutex_id)
283 * 283 *
284 * FUNCTION: acpi_ut_release_mutex 284 * FUNCTION: acpi_ut_release_mutex
285 * 285 *
286 * PARAMETERS: mutex_iD - ID of the mutex to be released 286 * PARAMETERS: mutex_ID - ID of the mutex to be released
287 * 287 *
288 * RETURN: Status 288 * RETURN: Status
289 * 289 *
diff --git a/drivers/acpi/acpica/utobject.c b/drivers/acpi/acpica/utobject.c
index d0441ca52b71..655f0799a391 100644
--- a/drivers/acpi/acpica/utobject.c
+++ b/drivers/acpi/acpica/utobject.c
@@ -69,7 +69,7 @@ acpi_ut_get_element_length(u8 object_type,
69 * PARAMETERS: module_name - Source file name of caller 69 * PARAMETERS: module_name - Source file name of caller
70 * line_number - Line number of caller 70 * line_number - Line number of caller
71 * component_id - Component type of caller 71 * component_id - Component type of caller
72 * Type - ACPI Type of the new object 72 * type - ACPI Type of the new object
73 * 73 *
74 * RETURN: A new internal object, null on failure 74 * RETURN: A new internal object, null on failure
75 * 75 *
@@ -150,7 +150,7 @@ union acpi_operand_object *acpi_ut_create_internal_object_dbg(const char
150 * 150 *
151 * FUNCTION: acpi_ut_create_package_object 151 * FUNCTION: acpi_ut_create_package_object
152 * 152 *
153 * PARAMETERS: Count - Number of package elements 153 * PARAMETERS: count - Number of package elements
154 * 154 *
155 * RETURN: Pointer to a new Package object, null on failure 155 * RETURN: Pointer to a new Package object, null on failure
156 * 156 *
@@ -323,7 +323,7 @@ union acpi_operand_object *acpi_ut_create_string_object(acpi_size string_size)
323 * 323 *
324 * FUNCTION: acpi_ut_valid_internal_object 324 * FUNCTION: acpi_ut_valid_internal_object
325 * 325 *
326 * PARAMETERS: Object - Object to be validated 326 * PARAMETERS: object - Object to be validated
327 * 327 *
328 * RETURN: TRUE if object is valid, FALSE otherwise 328 * RETURN: TRUE if object is valid, FALSE otherwise
329 * 329 *
@@ -407,7 +407,7 @@ void *acpi_ut_allocate_object_desc_dbg(const char *module_name,
407 * 407 *
408 * FUNCTION: acpi_ut_delete_object_desc 408 * FUNCTION: acpi_ut_delete_object_desc
409 * 409 *
410 * PARAMETERS: Object - An Acpi internal object to be deleted 410 * PARAMETERS: object - An Acpi internal object to be deleted
411 * 411 *
412 * RETURN: None. 412 * RETURN: None.
413 * 413 *
diff --git a/drivers/acpi/acpica/utosi.c b/drivers/acpi/acpica/utosi.c
index 2360cf70c18c..34ef0bd7e4b4 100644
--- a/drivers/acpi/acpica/utosi.c
+++ b/drivers/acpi/acpica/utosi.c
@@ -68,7 +68,7 @@ static struct acpi_interface_info acpi_default_supported_interfaces[] = {
68 {"Windows 2001.1", NULL, 0, ACPI_OSI_WINSRV_2003}, /* Windows Server 2003 */ 68 {"Windows 2001.1", NULL, 0, ACPI_OSI_WINSRV_2003}, /* Windows Server 2003 */
69 {"Windows 2001 SP2", NULL, 0, ACPI_OSI_WIN_XP_SP2}, /* Windows XP SP2 */ 69 {"Windows 2001 SP2", NULL, 0, ACPI_OSI_WIN_XP_SP2}, /* Windows XP SP2 */
70 {"Windows 2001.1 SP1", NULL, 0, ACPI_OSI_WINSRV_2003_SP1}, /* Windows Server 2003 SP1 - Added 03/2006 */ 70 {"Windows 2001.1 SP1", NULL, 0, ACPI_OSI_WINSRV_2003_SP1}, /* Windows Server 2003 SP1 - Added 03/2006 */
71 {"Windows 2006", NULL, 0, ACPI_OSI_WIN_VISTA}, /* Windows Vista - Added 03/2006 */ 71 {"Windows 2006", NULL, 0, ACPI_OSI_WIN_VISTA}, /* Windows vista - Added 03/2006 */
72 {"Windows 2006.1", NULL, 0, ACPI_OSI_WINSRV_2008}, /* Windows Server 2008 - Added 09/2009 */ 72 {"Windows 2006.1", NULL, 0, ACPI_OSI_WINSRV_2008}, /* Windows Server 2008 - Added 09/2009 */
73 {"Windows 2006 SP1", NULL, 0, ACPI_OSI_WIN_VISTA_SP1}, /* Windows Vista SP1 - Added 09/2009 */ 73 {"Windows 2006 SP1", NULL, 0, ACPI_OSI_WIN_VISTA_SP1}, /* Windows Vista SP1 - Added 09/2009 */
74 {"Windows 2006 SP2", NULL, 0, ACPI_OSI_WIN_VISTA_SP2}, /* Windows Vista SP2 - Added 09/2010 */ 74 {"Windows 2006 SP2", NULL, 0, ACPI_OSI_WIN_VISTA_SP2}, /* Windows Vista SP2 - Added 09/2010 */
diff --git a/drivers/acpi/acpica/utresrc.c b/drivers/acpi/acpica/utresrc.c
index 9d441ea70305..e38bef4980bc 100644
--- a/drivers/acpi/acpica/utresrc.c
+++ b/drivers/acpi/acpica/utresrc.c
@@ -356,13 +356,13 @@ static const u8 acpi_gbl_resource_types[] = {
356 ACPI_SMALL_VARIABLE_LENGTH, /* 06 start_dependent_functions */ 356 ACPI_SMALL_VARIABLE_LENGTH, /* 06 start_dependent_functions */
357 ACPI_FIXED_LENGTH, /* 07 end_dependent_functions */ 357 ACPI_FIXED_LENGTH, /* 07 end_dependent_functions */
358 ACPI_FIXED_LENGTH, /* 08 IO */ 358 ACPI_FIXED_LENGTH, /* 08 IO */
359 ACPI_FIXED_LENGTH, /* 09 fixed_iO */ 359 ACPI_FIXED_LENGTH, /* 09 fixed_IO */
360 ACPI_FIXED_LENGTH, /* 0_a fixed_dMA */ 360 ACPI_FIXED_LENGTH, /* 0A fixed_DMA */
361 0, 361 0,
362 0, 362 0,
363 0, 363 0,
364 ACPI_VARIABLE_LENGTH, /* 0_e vendor_short */ 364 ACPI_VARIABLE_LENGTH, /* 0E vendor_short */
365 ACPI_FIXED_LENGTH, /* 0_f end_tag */ 365 ACPI_FIXED_LENGTH, /* 0F end_tag */
366 366
367 /* Large descriptors */ 367 /* Large descriptors */
368 368
@@ -375,16 +375,16 @@ static const u8 acpi_gbl_resource_types[] = {
375 ACPI_FIXED_LENGTH, /* 06 memory32_fixed */ 375 ACPI_FIXED_LENGTH, /* 06 memory32_fixed */
376 ACPI_VARIABLE_LENGTH, /* 07 Dword* address */ 376 ACPI_VARIABLE_LENGTH, /* 07 Dword* address */
377 ACPI_VARIABLE_LENGTH, /* 08 Word* address */ 377 ACPI_VARIABLE_LENGTH, /* 08 Word* address */
378 ACPI_VARIABLE_LENGTH, /* 09 extended_iRQ */ 378 ACPI_VARIABLE_LENGTH, /* 09 extended_IRQ */
379 ACPI_VARIABLE_LENGTH, /* 0_a Qword* address */ 379 ACPI_VARIABLE_LENGTH, /* 0A Qword* address */
380 ACPI_FIXED_LENGTH, /* 0_b Extended* address */ 380 ACPI_FIXED_LENGTH, /* 0B Extended* address */
381 ACPI_VARIABLE_LENGTH, /* 0_c Gpio* */ 381 ACPI_VARIABLE_LENGTH, /* 0C Gpio* */
382 0, 382 0,
383 ACPI_VARIABLE_LENGTH /* 0_e *serial_bus */ 383 ACPI_VARIABLE_LENGTH /* 0E *serial_bus */
384}; 384};
385 385
386/* 386/*
387 * For the i_aSL compiler/disassembler, we don't want any error messages 387 * For the iASL compiler/disassembler, we don't want any error messages
388 * because the disassembler uses the resource validation code to determine 388 * because the disassembler uses the resource validation code to determine
389 * if Buffer objects are actually Resource Templates. 389 * if Buffer objects are actually Resource Templates.
390 */ 390 */
@@ -398,11 +398,11 @@ static const u8 acpi_gbl_resource_types[] = {
398 * 398 *
399 * FUNCTION: acpi_ut_walk_aml_resources 399 * FUNCTION: acpi_ut_walk_aml_resources
400 * 400 *
401 * PARAMETERS: Aml - Pointer to the raw AML resource template 401 * PARAMETERS: aml - Pointer to the raw AML resource template
402 * aml_length - Length of the entire template 402 * aml_length - Length of the entire template
403 * user_function - Called once for each descriptor found. If 403 * user_function - Called once for each descriptor found. If
404 * NULL, a pointer to the end_tag is returned 404 * NULL, a pointer to the end_tag is returned
405 * Context - Passed to user_function 405 * context - Passed to user_function
406 * 406 *
407 * RETURN: Status 407 * RETURN: Status
408 * 408 *
@@ -513,7 +513,7 @@ acpi_ut_walk_aml_resources(u8 * aml,
513 * 513 *
514 * FUNCTION: acpi_ut_validate_resource 514 * FUNCTION: acpi_ut_validate_resource
515 * 515 *
516 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor 516 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
517 * return_index - Where the resource index is returned. NULL 517 * return_index - Where the resource index is returned. NULL
518 * if the index is not required. 518 * if the index is not required.
519 * 519 *
@@ -664,7 +664,7 @@ acpi_status acpi_ut_validate_resource(void *aml, u8 * return_index)
664 * 664 *
665 * FUNCTION: acpi_ut_get_resource_type 665 * FUNCTION: acpi_ut_get_resource_type
666 * 666 *
667 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor 667 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
668 * 668 *
669 * RETURN: The Resource Type with no extraneous bits (except the 669 * RETURN: The Resource Type with no extraneous bits (except the
670 * Large/Small descriptor bit -- this is left alone) 670 * Large/Small descriptor bit -- this is left alone)
@@ -698,7 +698,7 @@ u8 acpi_ut_get_resource_type(void *aml)
698 * 698 *
699 * FUNCTION: acpi_ut_get_resource_length 699 * FUNCTION: acpi_ut_get_resource_length
700 * 700 *
701 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor 701 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
702 * 702 *
703 * RETURN: Byte Length 703 * RETURN: Byte Length
704 * 704 *
@@ -738,7 +738,7 @@ u16 acpi_ut_get_resource_length(void *aml)
738 * 738 *
739 * FUNCTION: acpi_ut_get_resource_header_length 739 * FUNCTION: acpi_ut_get_resource_header_length
740 * 740 *
741 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor 741 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
742 * 742 *
743 * RETURN: Length of the AML header (depends on large/small descriptor) 743 * RETURN: Length of the AML header (depends on large/small descriptor)
744 * 744 *
@@ -763,7 +763,7 @@ u8 acpi_ut_get_resource_header_length(void *aml)
763 * 763 *
764 * FUNCTION: acpi_ut_get_descriptor_length 764 * FUNCTION: acpi_ut_get_descriptor_length
765 * 765 *
766 * PARAMETERS: Aml - Pointer to the raw AML resource descriptor 766 * PARAMETERS: aml - Pointer to the raw AML resource descriptor
767 * 767 *
768 * RETURN: Byte length 768 * RETURN: Byte length
769 * 769 *
diff --git a/drivers/acpi/acpica/utstate.c b/drivers/acpi/acpica/utstate.c
index 4267477c2797..a1c988260073 100644
--- a/drivers/acpi/acpica/utstate.c
+++ b/drivers/acpi/acpica/utstate.c
@@ -51,8 +51,8 @@ ACPI_MODULE_NAME("utstate")
51 * 51 *
52 * FUNCTION: acpi_ut_create_pkg_state_and_push 52 * FUNCTION: acpi_ut_create_pkg_state_and_push
53 * 53 *
54 * PARAMETERS: Object - Object to be added to the new state 54 * PARAMETERS: object - Object to be added to the new state
55 * Action - Increment/Decrement 55 * action - Increment/Decrement
56 * state_list - List the state will be added to 56 * state_list - List the state will be added to
57 * 57 *
58 * RETURN: Status 58 * RETURN: Status
@@ -85,7 +85,7 @@ acpi_ut_create_pkg_state_and_push(void *internal_object,
85 * FUNCTION: acpi_ut_push_generic_state 85 * FUNCTION: acpi_ut_push_generic_state
86 * 86 *
87 * PARAMETERS: list_head - Head of the state stack 87 * PARAMETERS: list_head - Head of the state stack
88 * State - State object to push 88 * state - State object to push
89 * 89 *
90 * RETURN: None 90 * RETURN: None
91 * 91 *
@@ -214,8 +214,8 @@ struct acpi_thread_state *acpi_ut_create_thread_state(void)
214 * 214 *
215 * FUNCTION: acpi_ut_create_update_state 215 * FUNCTION: acpi_ut_create_update_state
216 * 216 *
217 * PARAMETERS: Object - Initial Object to be installed in the state 217 * PARAMETERS: object - Initial Object to be installed in the state
218 * Action - Update action to be performed 218 * action - Update action to be performed
219 * 219 *
220 * RETURN: New state object, null on failure 220 * RETURN: New state object, null on failure
221 * 221 *
@@ -252,8 +252,8 @@ union acpi_generic_state *acpi_ut_create_update_state(union acpi_operand_object
252 * 252 *
253 * FUNCTION: acpi_ut_create_pkg_state 253 * FUNCTION: acpi_ut_create_pkg_state
254 * 254 *
255 * PARAMETERS: Object - Initial Object to be installed in the state 255 * PARAMETERS: object - Initial Object to be installed in the state
256 * Action - Update action to be performed 256 * action - Update action to be performed
257 * 257 *
258 * RETURN: New state object, null on failure 258 * RETURN: New state object, null on failure
259 * 259 *
@@ -325,7 +325,7 @@ union acpi_generic_state *acpi_ut_create_control_state(void)
325 * 325 *
326 * FUNCTION: acpi_ut_delete_generic_state 326 * FUNCTION: acpi_ut_delete_generic_state
327 * 327 *
328 * PARAMETERS: State - The state object to be deleted 328 * PARAMETERS: state - The state object to be deleted
329 * 329 *
330 * RETURN: None 330 * RETURN: None
331 * 331 *
diff --git a/drivers/acpi/acpica/utxface.c b/drivers/acpi/acpica/utxface.c
index afa94f51ff0b..534179f1177b 100644
--- a/drivers/acpi/acpica/utxface.c
+++ b/drivers/acpi/acpica/utxface.c
@@ -131,7 +131,7 @@ acpi_status __init acpi_initialize_subsystem(void)
131 * 131 *
132 * FUNCTION: acpi_enable_subsystem 132 * FUNCTION: acpi_enable_subsystem
133 * 133 *
134 * PARAMETERS: Flags - Init/enable Options 134 * PARAMETERS: flags - Init/enable Options
135 * 135 *
136 * RETURN: Status 136 * RETURN: Status
137 * 137 *
@@ -234,7 +234,7 @@ ACPI_EXPORT_SYMBOL(acpi_enable_subsystem)
234 * 234 *
235 * FUNCTION: acpi_initialize_objects 235 * FUNCTION: acpi_initialize_objects
236 * 236 *
237 * PARAMETERS: Flags - Init/enable Options 237 * PARAMETERS: flags - Init/enable Options
238 * 238 *
239 * RETURN: Status 239 * RETURN: Status
240 * 240 *
@@ -409,7 +409,7 @@ ACPI_EXPORT_SYMBOL(acpi_subsystem_status)
409 * PARAMETERS: out_buffer - A buffer to receive the resources for the 409 * PARAMETERS: out_buffer - A buffer to receive the resources for the
410 * device 410 * device
411 * 411 *
412 * RETURN: Status - the status of the call 412 * RETURN: status - the status of the call
413 * 413 *
414 * DESCRIPTION: This function is called to get information about the current 414 * DESCRIPTION: This function is called to get information about the current
415 * state of the ACPI subsystem. It will return system information 415 * state of the ACPI subsystem. It will return system information
@@ -480,8 +480,8 @@ ACPI_EXPORT_SYMBOL(acpi_get_system_info)
480 * 480 *
481 * FUNCTION: acpi_install_initialization_handler 481 * FUNCTION: acpi_install_initialization_handler
482 * 482 *
483 * PARAMETERS: Handler - Callback procedure 483 * PARAMETERS: handler - Callback procedure
484 * Function - Not (currently) used, see below 484 * function - Not (currently) used, see below
485 * 485 *
486 * RETURN: Status 486 * RETURN: Status
487 * 487 *
@@ -618,7 +618,7 @@ ACPI_EXPORT_SYMBOL(acpi_remove_interface)
618 * 618 *
619 * FUNCTION: acpi_install_interface_handler 619 * FUNCTION: acpi_install_interface_handler
620 * 620 *
621 * PARAMETERS: Handler - The _OSI interface handler to install 621 * PARAMETERS: handler - The _OSI interface handler to install
622 * NULL means "remove existing handler" 622 * NULL means "remove existing handler"
623 * 623 *
624 * RETURN: Status 624 * RETURN: Status
@@ -651,9 +651,9 @@ ACPI_EXPORT_SYMBOL(acpi_install_interface_handler)
651 * FUNCTION: acpi_check_address_range 651 * FUNCTION: acpi_check_address_range
652 * 652 *
653 * PARAMETERS: space_id - Address space ID 653 * PARAMETERS: space_id - Address space ID
654 * Address - Start address 654 * address - Start address
655 * Length - Length 655 * length - Length
656 * Warn - TRUE if warning on overlap desired 656 * warn - TRUE if warning on overlap desired
657 * 657 *
658 * RETURN: Count of the number of conflicts detected. 658 * RETURN: Count of the number of conflicts detected.
659 * 659 *
diff --git a/drivers/acpi/acpica/utxferror.c b/drivers/acpi/acpica/utxferror.c
index 87aaddf130ec..6d63cc39b9ae 100644
--- a/drivers/acpi/acpica/utxferror.c
+++ b/drivers/acpi/acpica/utxferror.c
@@ -53,7 +53,7 @@ ACPI_MODULE_NAME("utxferror")
53 * This module is used for the in-kernel ACPICA as well as the ACPICA 53 * This module is used for the in-kernel ACPICA as well as the ACPICA
54 * tools/applications. 54 * tools/applications.
55 * 55 *
56 * For the i_aSL compiler case, the output is redirected to stderr so that 56 * For the iASL compiler case, the output is redirected to stderr so that
57 * any of the various ACPI errors and warnings do not appear in the output 57 * any of the various ACPI errors and warnings do not appear in the output
58 * files, for either the compiler or disassembler portions of the tool. 58 * files, for either the compiler or disassembler portions of the tool.
59 */ 59 */
@@ -70,7 +70,7 @@ extern FILE *acpi_gbl_output_file;
70 70
71#else 71#else
72/* 72/*
73 * non-i_aSL case - no redirection, nothing to do 73 * non-iASL case - no redirection, nothing to do
74 */ 74 */
75#define ACPI_MSG_REDIRECT_BEGIN 75#define ACPI_MSG_REDIRECT_BEGIN
76#define ACPI_MSG_REDIRECT_END 76#define ACPI_MSG_REDIRECT_END
@@ -95,7 +95,7 @@ extern FILE *acpi_gbl_output_file;
95 * 95 *
96 * PARAMETERS: module_name - Caller's module name (for error output) 96 * PARAMETERS: module_name - Caller's module name (for error output)
97 * line_number - Caller's line number (for error output) 97 * line_number - Caller's line number (for error output)
98 * Format - Printf format string + additional args 98 * format - Printf format string + additional args
99 * 99 *
100 * RETURN: None 100 * RETURN: None
101 * 101 *
@@ -126,8 +126,8 @@ ACPI_EXPORT_SYMBOL(acpi_error)
126 * 126 *
127 * PARAMETERS: module_name - Caller's module name (for error output) 127 * PARAMETERS: module_name - Caller's module name (for error output)
128 * line_number - Caller's line number (for error output) 128 * line_number - Caller's line number (for error output)
129 * Status - Status to be formatted 129 * status - Status to be formatted
130 * Format - Printf format string + additional args 130 * format - Printf format string + additional args
131 * 131 *
132 * RETURN: None 132 * RETURN: None
133 * 133 *
@@ -161,7 +161,7 @@ ACPI_EXPORT_SYMBOL(acpi_exception)
161 * 161 *
162 * PARAMETERS: module_name - Caller's module name (for error output) 162 * PARAMETERS: module_name - Caller's module name (for error output)
163 * line_number - Caller's line number (for error output) 163 * line_number - Caller's line number (for error output)
164 * Format - Printf format string + additional args 164 * format - Printf format string + additional args
165 * 165 *
166 * RETURN: None 166 * RETURN: None
167 * 167 *
@@ -192,7 +192,7 @@ ACPI_EXPORT_SYMBOL(acpi_warning)
192 * 192 *
193 * PARAMETERS: module_name - Caller's module name (for error output) 193 * PARAMETERS: module_name - Caller's module name (for error output)
194 * line_number - Caller's line number (for error output) 194 * line_number - Caller's line number (for error output)
195 * Format - Printf format string + additional args 195 * format - Printf format string + additional args
196 * 196 *
197 * RETURN: None 197 * RETURN: None
198 * 198 *
@@ -339,9 +339,9 @@ acpi_ut_predefined_warning(const char *module_name,
339 * 339 *
340 * PARAMETERS: module_name - Caller's module name (for error output) 340 * PARAMETERS: module_name - Caller's module name (for error output)
341 * line_number - Caller's line number (for error output) 341 * line_number - Caller's line number (for error output)
342 * Pathname - Full pathname to the node 342 * pathname - Full pathname to the node
343 * node_flags - From Namespace node for the method/object 343 * node_flags - From Namespace node for the method/object
344 * Format - Printf format string + additional args 344 * format - Printf format string + additional args
345 * 345 *
346 * RETURN: None 346 * RETURN: None
347 * 347 *
@@ -441,9 +441,9 @@ acpi_ut_namespace_error(const char *module_name,
441 * 441 *
442 * PARAMETERS: module_name - Caller's module name (for error output) 442 * PARAMETERS: module_name - Caller's module name (for error output)
443 * line_number - Caller's line number (for error output) 443 * line_number - Caller's line number (for error output)
444 * Message - Error message to use on failure 444 * message - Error message to use on failure
445 * prefix_node - Prefix relative to the path 445 * prefix_node - Prefix relative to the path
446 * Path - Path to the node (optional) 446 * path - Path to the node (optional)
447 * method_status - Execution status 447 * method_status - Execution status
448 * 448 *
449 * RETURN: None 449 * RETURN: None
diff --git a/drivers/acpi/acpica/utxfmutex.c b/drivers/acpi/acpica/utxfmutex.c
index 1427d191d15a..0a40a851b354 100644
--- a/drivers/acpi/acpica/utxfmutex.c
+++ b/drivers/acpi/acpica/utxfmutex.c
@@ -58,8 +58,8 @@ acpi_ut_get_mutex_object(acpi_handle handle,
58 * 58 *
59 * FUNCTION: acpi_ut_get_mutex_object 59 * FUNCTION: acpi_ut_get_mutex_object
60 * 60 *
61 * PARAMETERS: Handle - Mutex or prefix handle (optional) 61 * PARAMETERS: handle - Mutex or prefix handle (optional)
62 * Pathname - Mutex pathname (optional) 62 * pathname - Mutex pathname (optional)
63 * ret_obj - Where the mutex object is returned 63 * ret_obj - Where the mutex object is returned
64 * 64 *
65 * RETURN: Status 65 * RETURN: Status
@@ -118,9 +118,9 @@ acpi_ut_get_mutex_object(acpi_handle handle,
118 * 118 *
119 * FUNCTION: acpi_acquire_mutex 119 * FUNCTION: acpi_acquire_mutex
120 * 120 *
121 * PARAMETERS: Handle - Mutex or prefix handle (optional) 121 * PARAMETERS: handle - Mutex or prefix handle (optional)
122 * Pathname - Mutex pathname (optional) 122 * pathname - Mutex pathname (optional)
123 * Timeout - Max time to wait for the lock (millisec) 123 * timeout - Max time to wait for the lock (millisec)
124 * 124 *
125 * RETURN: Status 125 * RETURN: Status
126 * 126 *
@@ -155,8 +155,8 @@ acpi_acquire_mutex(acpi_handle handle, acpi_string pathname, u16 timeout)
155 * 155 *
156 * FUNCTION: acpi_release_mutex 156 * FUNCTION: acpi_release_mutex
157 * 157 *
158 * PARAMETERS: Handle - Mutex or prefix handle (optional) 158 * PARAMETERS: handle - Mutex or prefix handle (optional)
159 * Pathname - Mutex pathname (optional) 159 * pathname - Mutex pathname (optional)
160 * 160 *
161 * RETURN: Status 161 * RETURN: Status
162 * 162 *
diff --git a/drivers/acpi/processor_idle.c b/drivers/acpi/processor_idle.c
index f3decb30223f..50faa93bb97b 100644
--- a/drivers/acpi/processor_idle.c
+++ b/drivers/acpi/processor_idle.c
@@ -304,16 +304,16 @@ static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr)
304 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5; 304 pr->power.states[ACPI_STATE_C3].address = pr->pblk + 5;
305 305
306 /* determine latencies from FADT */ 306 /* determine latencies from FADT */
307 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.C2latency; 307 pr->power.states[ACPI_STATE_C2].latency = acpi_gbl_FADT.c2_latency;
308 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.C3latency; 308 pr->power.states[ACPI_STATE_C3].latency = acpi_gbl_FADT.c3_latency;
309 309
310 /* 310 /*
311 * FADT specified C2 latency must be less than or equal to 311 * FADT specified C2 latency must be less than or equal to
312 * 100 microseconds. 312 * 100 microseconds.
313 */ 313 */
314 if (acpi_gbl_FADT.C2latency > ACPI_PROCESSOR_MAX_C2_LATENCY) { 314 if (acpi_gbl_FADT.c2_latency > ACPI_PROCESSOR_MAX_C2_LATENCY) {
315 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 315 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
316 "C2 latency too large [%d]\n", acpi_gbl_FADT.C2latency)); 316 "C2 latency too large [%d]\n", acpi_gbl_FADT.c2_latency));
317 /* invalidate C2 */ 317 /* invalidate C2 */
318 pr->power.states[ACPI_STATE_C2].address = 0; 318 pr->power.states[ACPI_STATE_C2].address = 0;
319 } 319 }
@@ -322,9 +322,9 @@ static int acpi_processor_get_power_info_fadt(struct acpi_processor *pr)
322 * FADT supplied C3 latency must be less than or equal to 322 * FADT supplied C3 latency must be less than or equal to
323 * 1000 microseconds. 323 * 1000 microseconds.
324 */ 324 */
325 if (acpi_gbl_FADT.C3latency > ACPI_PROCESSOR_MAX_C3_LATENCY) { 325 if (acpi_gbl_FADT.c3_latency > ACPI_PROCESSOR_MAX_C3_LATENCY) {
326 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 326 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
327 "C3 latency too large [%d]\n", acpi_gbl_FADT.C3latency)); 327 "C3 latency too large [%d]\n", acpi_gbl_FADT.c3_latency));
328 /* invalidate C3 */ 328 /* invalidate C3 */
329 pr->power.states[ACPI_STATE_C3].address = 0; 329 pr->power.states[ACPI_STATE_C3].address = 0;
330 } 330 }