aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/acpica/nsobject.c
diff options
context:
space:
mode:
authorJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
committerJonathan Herman <hermanjl@cs.unc.edu>2013-01-17 16:15:55 -0500
commit8dea78da5cee153b8af9c07a2745f6c55057fe12 (patch)
treea8f4d49d63b1ecc92f2fddceba0655b2472c5bd9 /drivers/acpi/acpica/nsobject.c
parent406089d01562f1e2bf9f089fd7637009ebaad589 (diff)
Patched in Tegra support.
Diffstat (limited to 'drivers/acpi/acpica/nsobject.c')
-rw-r--r--drivers/acpi/acpica/nsobject.c38
1 files changed, 19 insertions, 19 deletions
diff --git a/drivers/acpi/acpica/nsobject.c b/drivers/acpi/acpica/nsobject.c
index e69f7fa2579..3bb8bf105ea 100644
--- a/drivers/acpi/acpica/nsobject.c
+++ b/drivers/acpi/acpica/nsobject.c
@@ -6,7 +6,7 @@
6 ******************************************************************************/ 6 ******************************************************************************/
7 7
8/* 8/*
9 * Copyright (C) 2000 - 2012, Intel Corp. 9 * Copyright (C) 2000 - 2011, Intel Corp.
10 * All rights reserved. 10 * All rights reserved.
11 * 11 *
12 * Redistribution and use in source and binary forms, with or without 12 * Redistribution and use in source and binary forms, with or without
@@ -53,15 +53,15 @@ 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
62 * 62 *
63 * DESCRIPTION: Record the given object as the value associated with the 63 * DESCRIPTION: Record the given object as the value associated with the
64 * name whose acpi_handle is passed. If Object is NULL 64 * name whose acpi_handle is passed. If Object is NULL
65 * and Type is ACPI_TYPE_ANY, set the name as having no value. 65 * and Type is ACPI_TYPE_ANY, set the name as having no value.
66 * Note: Future may require that the Node->Flags field be passed 66 * Note: Future may require that the Node->Flags field be passed
67 * as a parameter. 67 * as a parameter.
@@ -133,7 +133,7 @@ acpi_ns_attach_object(struct acpi_namespace_node *node,
133 ((struct acpi_namespace_node *)object)->object) { 133 ((struct acpi_namespace_node *)object)->object) {
134 /* 134 /*
135 * Value passed is a name handle and that name has a 135 * Value passed is a name handle and that name has a
136 * non-null value. Use that name's value and type. 136 * non-null value. Use that name's value and type.
137 */ 137 */
138 obj_desc = ((struct acpi_namespace_node *)object)->object; 138 obj_desc = ((struct acpi_namespace_node *)object)->object;
139 object_type = ((struct acpi_namespace_node *)object)->type; 139 object_type = ((struct acpi_namespace_node *)object)->type;
@@ -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,13 +315,13 @@ 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 *
324 * DESCRIPTION: Low-level attach data. Create and attach a Data object. 324 * DESCRIPTION: Low-level attach data. Create and attach a Data object.
325 * 325 *
326 ******************************************************************************/ 326 ******************************************************************************/
327 327
@@ -372,12 +372,12 @@ 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 *
380 * DESCRIPTION: Low-level detach data. Delete the data node, but the caller 380 * DESCRIPTION: Low-level detach data. Delete the data node, but the caller
381 * is responsible for the actual data. 381 * is responsible for the actual data.
382 * 382 *
383 ******************************************************************************/ 383 ******************************************************************************/
@@ -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 *