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