diff options
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 4447a0461bae..0e4ab1fe5966 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -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 0x20100121 | 50 | #define ACPI_CA_VERSION 0x20100428 |
51 | 51 | ||
52 | #include "actypes.h" | 52 | #include "actypes.h" |
53 | #include "actbl.h" | 53 | #include "actbl.h" |
@@ -67,6 +67,8 @@ extern u8 acpi_gbl_leave_wake_gpes_disabled; | |||
67 | extern u8 acpi_gbl_use_default_register_widths; | 67 | extern u8 acpi_gbl_use_default_register_widths; |
68 | extern acpi_name acpi_gbl_trace_method_name; | 68 | extern acpi_name acpi_gbl_trace_method_name; |
69 | extern u32 acpi_gbl_trace_flags; | 69 | extern u32 acpi_gbl_trace_flags; |
70 | extern u8 acpi_gbl_enable_aml_debug_object; | ||
71 | extern u8 acpi_gbl_copy_dsdt_locally; | ||
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); |
@@ -283,16 +283,17 @@ acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status); | |||
283 | */ | 283 | */ |
284 | acpi_status acpi_set_gpe(acpi_handle gpe_device, u32 gpe_number, u8 action); | 284 | acpi_status acpi_set_gpe(acpi_handle gpe_device, u32 gpe_number, u8 action); |
285 | 285 | ||
286 | acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 type); | 286 | acpi_status |
287 | acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 gpe_type); | ||
287 | 288 | ||
288 | acpi_status acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 type); | 289 | acpi_status |
290 | acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number, u8 gpe_type); | ||
289 | 291 | ||
290 | acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags); | 292 | acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number); |
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, |