diff options
Diffstat (limited to 'drivers/acpi/acpica/exprep.c')
-rw-r--r-- | drivers/acpi/acpica/exprep.c | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/acpi/acpica/exprep.c b/drivers/acpi/acpica/exprep.c index 81eca60d2748..ba9db4de7c89 100644 --- a/drivers/acpi/acpica/exprep.c +++ b/drivers/acpi/acpica/exprep.c | |||
@@ -1,4 +1,3 @@ | |||
1 | |||
2 | /****************************************************************************** | 1 | /****************************************************************************** |
3 | * | 2 | * |
4 | * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities | 3 | * Module Name: exprep - ACPI AML (p-code) execution - field prep utilities |
@@ -78,8 +77,8 @@ acpi_ex_generate_access(u32 field_bit_offset, | |||
78 | * any_acc keyword. | 77 | * any_acc keyword. |
79 | * | 78 | * |
80 | * NOTE: Need to have the region_length in order to check for boundary | 79 | * NOTE: Need to have the region_length in order to check for boundary |
81 | * conditions (end-of-region). However, the region_length is a deferred | 80 | * conditions (end-of-region). However, the region_length is a deferred |
82 | * operation. Therefore, to complete this implementation, the generation | 81 | * operation. Therefore, to complete this implementation, the generation |
83 | * of this access width must be deferred until the region length has | 82 | * of this access width must be deferred until the region length has |
84 | * been evaluated. | 83 | * been evaluated. |
85 | * | 84 | * |
@@ -308,7 +307,7 @@ acpi_ex_decode_field_access(union acpi_operand_object *obj_desc, | |||
308 | * RETURN: Status | 307 | * RETURN: Status |
309 | * | 308 | * |
310 | * DESCRIPTION: Initialize the areas of the field object that are common | 309 | * DESCRIPTION: Initialize the areas of the field object that are common |
311 | * to the various types of fields. Note: This is very "sensitive" | 310 | * to the various types of fields. Note: This is very "sensitive" |
312 | * code because we are solving the general case for field | 311 | * code because we are solving the general case for field |
313 | * alignment. | 312 | * alignment. |
314 | * | 313 | * |
@@ -336,13 +335,13 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, | |||
336 | obj_desc->common_field.bit_length = field_bit_length; | 335 | obj_desc->common_field.bit_length = field_bit_length; |
337 | 336 | ||
338 | /* | 337 | /* |
339 | * Decode the access type so we can compute offsets. The access type gives | 338 | * Decode the access type so we can compute offsets. The access type gives |
340 | * two pieces of information - the width of each field access and the | 339 | * two pieces of information - the width of each field access and the |
341 | * necessary byte_alignment (address granularity) of the access. | 340 | * necessary byte_alignment (address granularity) of the access. |
342 | * | 341 | * |
343 | * For any_acc, the access_bit_width is the largest width that is both | 342 | * For any_acc, the access_bit_width is the largest width that is both |
344 | * necessary and possible in an attempt to access the whole field in one | 343 | * necessary and possible in an attempt to access the whole field in one |
345 | * I/O operation. However, for any_acc, the byte_alignment is always one | 344 | * I/O operation. However, for any_acc, the byte_alignment is always one |
346 | * byte. | 345 | * byte. |
347 | * | 346 | * |
348 | * For all Buffer Fields, the byte_alignment is always one byte. | 347 | * For all Buffer Fields, the byte_alignment is always one byte. |
@@ -363,7 +362,7 @@ acpi_ex_prep_common_field_object(union acpi_operand_object *obj_desc, | |||
363 | 362 | ||
364 | /* | 363 | /* |
365 | * base_byte_offset is the address of the start of the field within the | 364 | * base_byte_offset is the address of the start of the field within the |
366 | * region. It is the byte address of the first *datum* (field-width data | 365 | * region. It is the byte address of the first *datum* (field-width data |
367 | * unit) of the field. (i.e., the first datum that contains at least the | 366 | * unit) of the field. (i.e., the first datum that contains at least the |
368 | * first *bit* of the field.) | 367 | * first *bit* of the field.) |
369 | * | 368 | * |