diff options
Diffstat (limited to 'drivers/acpi/acpica/rsutils.c')
-rw-r--r-- | drivers/acpi/acpica/rsutils.c | 44 |
1 files changed, 22 insertions, 22 deletions
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 | * |