diff options
author | Bob Moore <robert.moore@intel.com> | 2012-07-11 21:40:10 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2012-07-17 00:05:51 -0400 |
commit | ba494beeaa69bc0fb01eb89464ad5d57d26e3901 (patch) | |
tree | 804996ccb531af38f91853bd9b8055b65cd2ac6b /drivers/acpi/acpica/exregion.c | |
parent | 75e7386b104b27b1158bf7d13c69d5317f0033ca (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/acpica/exregion.c')
-rw-r--r-- | drivers/acpi/acpica/exregion.c | 38 |
1 files changed, 19 insertions, 19 deletions
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 |