diff options
author | Bob Moore <robert.moore@intel.com> | 2010-04-26 23:54:40 -0400 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2010-05-06 03:05:54 -0400 |
commit | b47cf58edfa15cb8f384a4a5e7e7d65babb602f6 (patch) | |
tree | e05291b9162d1bd49f0f9ff3ba262ec777931eec /include/acpi/acpixf.h | |
parent | ada241dcec7eb21ff1690a1ba6213299b743bb5b (diff) |
ACPICA: Update/clarify some parameter names associated with acpi_handle
Simple rename of some parameters to standardize them.
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 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 28 |
1 files changed, 11 insertions, 17 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index e5bce4c8e3e8..5366edfd8b61 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -166,7 +166,7 @@ acpi_get_devices(const char *HID, | |||
166 | void *context, void **return_value); | 166 | void *context, void **return_value); |
167 | 167 | ||
168 | acpi_status | 168 | acpi_status |
169 | acpi_get_name(acpi_handle handle, | 169 | acpi_get_name(acpi_handle object, |
170 | u32 name_type, struct acpi_buffer *ret_path_ptr); | 170 | u32 name_type, struct acpi_buffer *ret_path_ptr); |
171 | 171 | ||
172 | acpi_status | 172 | acpi_status |
@@ -174,14 +174,12 @@ acpi_get_handle(acpi_handle parent, | |||
174 | acpi_string pathname, acpi_handle * ret_handle); | 174 | acpi_string pathname, acpi_handle * ret_handle); |
175 | 175 | ||
176 | acpi_status | 176 | acpi_status |
177 | acpi_attach_data(acpi_handle obj_handle, | 177 | acpi_attach_data(acpi_handle object, acpi_object_handler handler, void *data); |
178 | acpi_object_handler handler, void *data); | ||
179 | 178 | ||
180 | acpi_status | 179 | acpi_status acpi_detach_data(acpi_handle object, acpi_object_handler handler); |
181 | acpi_detach_data(acpi_handle obj_handle, acpi_object_handler handler); | ||
182 | 180 | ||
183 | acpi_status | 181 | acpi_status |
184 | acpi_get_data(acpi_handle obj_handle, acpi_object_handler handler, void **data); | 182 | acpi_get_data(acpi_handle object, acpi_object_handler handler, void **data); |
185 | 183 | ||
186 | acpi_status | 184 | acpi_status |
187 | acpi_debug_trace(char *name, u32 debug_level, u32 debug_layer, u32 flags); | 185 | acpi_debug_trace(char *name, u32 debug_level, u32 debug_layer, u32 flags); |
@@ -203,7 +201,7 @@ acpi_evaluate_object_typed(acpi_handle object, | |||
203 | acpi_object_type return_type); | 201 | acpi_object_type return_type); |
204 | 202 | ||
205 | acpi_status | 203 | acpi_status |
206 | acpi_get_object_info(acpi_handle handle, | 204 | acpi_get_object_info(acpi_handle object, |
207 | struct acpi_device_info **return_buffer); | 205 | struct acpi_device_info **return_buffer); |
208 | 206 | ||
209 | acpi_status acpi_install_method(u8 *buffer); | 207 | acpi_status acpi_install_method(u8 *buffer); |
@@ -318,33 +316,29 @@ acpi_status(*acpi_walk_resource_callback) (struct acpi_resource * resource, | |||
318 | void *context); | 316 | void *context); |
319 | 317 | ||
320 | acpi_status | 318 | acpi_status |
321 | acpi_get_vendor_resource(acpi_handle device_handle, | 319 | acpi_get_vendor_resource(acpi_handle device, |
322 | char *name, | 320 | char *name, |
323 | struct acpi_vendor_uuid *uuid, | 321 | struct acpi_vendor_uuid *uuid, |
324 | struct acpi_buffer *ret_buffer); | 322 | struct acpi_buffer *ret_buffer); |
325 | 323 | ||
326 | acpi_status | 324 | acpi_status |
327 | acpi_get_current_resources(acpi_handle device_handle, | 325 | acpi_get_current_resources(acpi_handle device, struct acpi_buffer *ret_buffer); |
328 | struct acpi_buffer *ret_buffer); | ||
329 | 326 | ||
330 | #ifdef ACPI_FUTURE_USAGE | 327 | #ifdef ACPI_FUTURE_USAGE |
331 | acpi_status | 328 | acpi_status |
332 | acpi_get_possible_resources(acpi_handle device_handle, | 329 | acpi_get_possible_resources(acpi_handle device, struct acpi_buffer *ret_buffer); |
333 | struct acpi_buffer *ret_buffer); | ||
334 | #endif | 330 | #endif |
335 | 331 | ||
336 | acpi_status | 332 | acpi_status |
337 | acpi_walk_resources(acpi_handle device_handle, | 333 | acpi_walk_resources(acpi_handle device, |
338 | char *name, | 334 | char *name, |
339 | acpi_walk_resource_callback user_function, void *context); | 335 | acpi_walk_resource_callback user_function, void *context); |
340 | 336 | ||
341 | acpi_status | 337 | acpi_status |
342 | acpi_set_current_resources(acpi_handle device_handle, | 338 | acpi_set_current_resources(acpi_handle device, struct acpi_buffer *in_buffer); |
343 | struct acpi_buffer *in_buffer); | ||
344 | 339 | ||
345 | acpi_status | 340 | acpi_status |
346 | acpi_get_irq_routing_table(acpi_handle bus_device_handle, | 341 | acpi_get_irq_routing_table(acpi_handle device, struct acpi_buffer *ret_buffer); |
347 | struct acpi_buffer *ret_buffer); | ||
348 | 342 | ||
349 | acpi_status | 343 | acpi_status |
350 | acpi_resource_to_address64(struct acpi_resource *resource, | 344 | acpi_resource_to_address64(struct acpi_resource *resource, |