diff options
Diffstat (limited to 'include/acpi/acpixf.h')
| -rw-r--r-- | include/acpi/acpixf.h | 49 |
1 files changed, 23 insertions, 26 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 86e9735a96bd..984cdc62e30b 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
| @@ -6,7 +6,7 @@ | |||
| 6 | *****************************************************************************/ | 6 | *****************************************************************************/ |
| 7 | 7 | ||
| 8 | /* | 8 | /* |
| 9 | * Copyright (C) 2000 - 2008, Intel Corp. | 9 | * Copyright (C) 2000 - 2010, Intel Corp. |
| 10 | * All rights reserved. | 10 | * All rights reserved. |
| 11 | * | 11 | * |
| 12 | * Redistribution and use in source and binary forms, with or without | 12 | * Redistribution and use in source and binary forms, with or without |
| @@ -47,7 +47,7 @@ | |||
| 47 | 47 | ||
| 48 | /* Current ACPICA subsystem version in YYYYMMDD format */ | 48 | /* Current ACPICA subsystem version in YYYYMMDD format */ |
| 49 | 49 | ||
| 50 | #define ACPI_CA_VERSION 0x20091214 | 50 | #define ACPI_CA_VERSION 0x20100702 |
| 51 | 51 | ||
| 52 | #include "actypes.h" | 52 | #include "actypes.h" |
| 53 | #include "actbl.h" | 53 | #include "actbl.h" |
| @@ -55,7 +55,7 @@ | |||
| 55 | extern u8 acpi_gbl_permanent_mmap; | 55 | extern u8 acpi_gbl_permanent_mmap; |
| 56 | 56 | ||
| 57 | /* | 57 | /* |
| 58 | * Globals that are publically available, allowing for | 58 | * Globals that are publicly available, allowing for |
| 59 | * run time configuration | 59 | * run time configuration |
| 60 | */ | 60 | */ |
| 61 | extern u32 acpi_dbg_level; | 61 | extern u32 acpi_dbg_level; |
| @@ -63,10 +63,12 @@ extern u32 acpi_dbg_layer; | |||
| 63 | extern u8 acpi_gbl_enable_interpreter_slack; | 63 | extern u8 acpi_gbl_enable_interpreter_slack; |
| 64 | extern u8 acpi_gbl_all_methods_serialized; | 64 | extern u8 acpi_gbl_all_methods_serialized; |
| 65 | extern u8 acpi_gbl_create_osi_method; | 65 | extern u8 acpi_gbl_create_osi_method; |
| 66 | extern u8 acpi_gbl_leave_wake_gpes_disabled; | ||
| 67 | extern u8 acpi_gbl_use_default_register_widths; | 66 | extern u8 acpi_gbl_use_default_register_widths; |
| 68 | extern acpi_name acpi_gbl_trace_method_name; | 67 | extern acpi_name acpi_gbl_trace_method_name; |
| 69 | extern u32 acpi_gbl_trace_flags; | 68 | extern u32 acpi_gbl_trace_flags; |
| 69 | extern u32 acpi_gbl_enable_aml_debug_object; | ||
| 70 | extern u8 acpi_gbl_copy_dsdt_locally; | ||
| 71 | extern u8 acpi_gbl_truncate_io_addresses; | ||
| 70 | 72 | ||
| 71 | extern u32 acpi_current_gpe_count; | 73 | extern u32 acpi_current_gpe_count; |
| 72 | extern struct acpi_table_fadt acpi_gbl_FADT; | 74 | extern struct acpi_table_fadt acpi_gbl_FADT; |
| @@ -164,7 +166,7 @@ acpi_get_devices(const char *HID, | |||
| 164 | void *context, void **return_value); | 166 | void *context, void **return_value); |
| 165 | 167 | ||
| 166 | acpi_status | 168 | acpi_status |
| 167 | acpi_get_name(acpi_handle handle, | 169 | acpi_get_name(acpi_handle object, |
| 168 | u32 name_type, struct acpi_buffer *ret_path_ptr); | 170 | u32 name_type, struct acpi_buffer *ret_path_ptr); |
| 169 | 171 | ||
| 170 | acpi_status | 172 | acpi_status |
| @@ -172,14 +174,12 @@ acpi_get_handle(acpi_handle parent, | |||
| 172 | acpi_string pathname, acpi_handle * ret_handle); | 174 | acpi_string pathname, acpi_handle * ret_handle); |
| 173 | 175 | ||
| 174 | acpi_status | 176 | acpi_status |
| 175 | acpi_attach_data(acpi_handle obj_handle, | 177 | acpi_attach_data(acpi_handle object, acpi_object_handler handler, void *data); |
| 176 | acpi_object_handler handler, void *data); | ||
| 177 | 178 | ||
| 178 | acpi_status | 179 | acpi_status acpi_detach_data(acpi_handle object, acpi_object_handler handler); |
| 179 | acpi_detach_data(acpi_handle obj_handle, acpi_object_handler handler); | ||
| 180 | 180 | ||
| 181 | acpi_status | 181 | acpi_status |
| 182 | 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); |
| 183 | 183 | ||
| 184 | acpi_status | 184 | acpi_status |
| 185 | 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); |
| @@ -201,7 +201,7 @@ acpi_evaluate_object_typed(acpi_handle object, | |||
| 201 | acpi_object_type return_type); | 201 | acpi_object_type return_type); |
| 202 | 202 | ||
| 203 | acpi_status | 203 | acpi_status |
| 204 | acpi_get_object_info(acpi_handle handle, | 204 | acpi_get_object_info(acpi_handle object, |
| 205 | struct acpi_device_info **return_buffer); | 205 | struct acpi_device_info **return_buffer); |
| 206 | 206 | ||
| 207 | acpi_status acpi_install_method(u8 *buffer); | 207 | acpi_status acpi_install_method(u8 *buffer); |
| @@ -281,18 +281,19 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status); | |||
| 281 | /* | 281 | /* |
| 282 | * GPE Interfaces | 282 | * GPE Interfaces |
| 283 | */ | 283 | */ |
| 284 | acpi_status acpi_set_gpe_type(acpi_handle gpe_device, u32 gpe_number, u8 type); | ||
| 285 | |||
| 286 | acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number); | 284 | acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number); |
| 287 | 285 | ||
| 288 | acpi_status acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number); | 286 | acpi_status acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number); |
| 289 | 287 | ||
| 290 | acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags); | 288 | acpi_status acpi_gpe_can_wake(acpi_handle gpe_device, u32 gpe_number); |
| 289 | |||
| 290 | acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number); | ||
| 291 | |||
| 292 | acpi_status acpi_gpe_wakeup(acpi_handle gpe_device, u32 gpe_number, u8 action); | ||
| 291 | 293 | ||
| 292 | acpi_status | 294 | acpi_status |
| 293 | acpi_get_gpe_status(acpi_handle gpe_device, | 295 | acpi_get_gpe_status(acpi_handle gpe_device, |
| 294 | u32 gpe_number, | 296 | u32 gpe_number, acpi_event_status *event_status); |
| 295 | u32 flags, acpi_event_status * event_status); | ||
| 296 | 297 | ||
| 297 | acpi_status acpi_disable_all_gpes(void); | 298 | acpi_status acpi_disable_all_gpes(void); |
| 298 | 299 | ||
| @@ -315,33 +316,29 @@ acpi_status(*acpi_walk_resource_callback) (struct acpi_resource * resource, | |||
| 315 | void *context); | 316 | void *context); |
| 316 | 317 | ||
| 317 | acpi_status | 318 | acpi_status |
| 318 | acpi_get_vendor_resource(acpi_handle device_handle, | 319 | acpi_get_vendor_resource(acpi_handle device, |
| 319 | char *name, | 320 | char *name, |
| 320 | struct acpi_vendor_uuid *uuid, | 321 | struct acpi_vendor_uuid *uuid, |
| 321 | struct acpi_buffer *ret_buffer); | 322 | struct acpi_buffer *ret_buffer); |
| 322 | 323 | ||
| 323 | acpi_status | 324 | acpi_status |
| 324 | acpi_get_current_resources(acpi_handle device_handle, | 325 | acpi_get_current_resources(acpi_handle device, struct acpi_buffer *ret_buffer); |
| 325 | struct acpi_buffer *ret_buffer); | ||
| 326 | 326 | ||
| 327 | #ifdef ACPI_FUTURE_USAGE | 327 | #ifdef ACPI_FUTURE_USAGE |
| 328 | acpi_status | 328 | acpi_status |
| 329 | acpi_get_possible_resources(acpi_handle device_handle, | 329 | acpi_get_possible_resources(acpi_handle device, struct acpi_buffer *ret_buffer); |
| 330 | struct acpi_buffer *ret_buffer); | ||
| 331 | #endif | 330 | #endif |
| 332 | 331 | ||
| 333 | acpi_status | 332 | acpi_status |
| 334 | acpi_walk_resources(acpi_handle device_handle, | 333 | acpi_walk_resources(acpi_handle device, |
| 335 | char *name, | 334 | char *name, |
| 336 | acpi_walk_resource_callback user_function, void *context); | 335 | acpi_walk_resource_callback user_function, void *context); |
| 337 | 336 | ||
| 338 | acpi_status | 337 | acpi_status |
| 339 | acpi_set_current_resources(acpi_handle device_handle, | 338 | acpi_set_current_resources(acpi_handle device, struct acpi_buffer *in_buffer); |
| 340 | struct acpi_buffer *in_buffer); | ||
| 341 | 339 | ||
| 342 | acpi_status | 340 | acpi_status |
| 343 | acpi_get_irq_routing_table(acpi_handle bus_device_handle, | 341 | acpi_get_irq_routing_table(acpi_handle device, struct acpi_buffer *ret_buffer); |
| 344 | struct acpi_buffer *ret_buffer); | ||
| 345 | 342 | ||
| 346 | acpi_status | 343 | acpi_status |
| 347 | acpi_resource_to_address64(struct acpi_resource *resource, | 344 | acpi_resource_to_address64(struct acpi_resource *resource, |
