diff options
Diffstat (limited to 'include/acpi/acpixf.h')
-rw-r--r-- | include/acpi/acpixf.h | 408 |
1 files changed, 122 insertions, 286 deletions
diff --git a/include/acpi/acpixf.h b/include/acpi/acpixf.h index 9ca212d73fb5..2a9dbc13b0f2 100644 --- a/include/acpi/acpixf.h +++ b/include/acpi/acpixf.h | |||
@@ -42,447 +42,283 @@ | |||
42 | * POSSIBILITY OF SUCH DAMAGES. | 42 | * POSSIBILITY OF SUCH DAMAGES. |
43 | */ | 43 | */ |
44 | 44 | ||
45 | |||
46 | #ifndef __ACXFACE_H__ | 45 | #ifndef __ACXFACE_H__ |
47 | #define __ACXFACE_H__ | 46 | #define __ACXFACE_H__ |
48 | 47 | ||
49 | #include "actypes.h" | 48 | #include "actypes.h" |
50 | #include "actbl.h" | 49 | #include "actbl.h" |
51 | 50 | ||
52 | |||
53 | /* | 51 | /* |
54 | * Global interfaces | 52 | * Global interfaces |
55 | */ | 53 | */ |
56 | acpi_status | 54 | acpi_status acpi_initialize_subsystem(void); |
57 | acpi_initialize_subsystem ( | ||
58 | void); | ||
59 | 55 | ||
60 | acpi_status | 56 | acpi_status acpi_enable_subsystem(u32 flags); |
61 | acpi_enable_subsystem ( | ||
62 | u32 flags); | ||
63 | 57 | ||
64 | acpi_status | 58 | acpi_status acpi_initialize_objects(u32 flags); |
65 | acpi_initialize_objects ( | ||
66 | u32 flags); | ||
67 | 59 | ||
68 | acpi_status | 60 | acpi_status acpi_terminate(void); |
69 | acpi_terminate ( | ||
70 | void); | ||
71 | 61 | ||
72 | #ifdef ACPI_FUTURE_USAGE | 62 | #ifdef ACPI_FUTURE_USAGE |
73 | acpi_status | 63 | acpi_status acpi_subsystem_status(void); |
74 | acpi_subsystem_status ( | ||
75 | void); | ||
76 | #endif | 64 | #endif |
77 | 65 | ||
78 | acpi_status | 66 | acpi_status acpi_enable(void); |
79 | acpi_enable ( | ||
80 | void); | ||
81 | 67 | ||
82 | acpi_status | 68 | acpi_status acpi_disable(void); |
83 | acpi_disable ( | ||
84 | void); | ||
85 | 69 | ||
86 | #ifdef ACPI_FUTURE_USAGE | 70 | #ifdef ACPI_FUTURE_USAGE |
87 | acpi_status | 71 | acpi_status acpi_get_system_info(struct acpi_buffer *ret_buffer); |
88 | acpi_get_system_info ( | ||
89 | struct acpi_buffer *ret_buffer); | ||
90 | #endif | 72 | #endif |
91 | 73 | ||
92 | const char * | 74 | const char *acpi_format_exception(acpi_status exception); |
93 | acpi_format_exception ( | ||
94 | acpi_status exception); | ||
95 | 75 | ||
96 | acpi_status | 76 | acpi_status acpi_purge_cached_objects(void); |
97 | acpi_purge_cached_objects ( | ||
98 | void); | ||
99 | 77 | ||
100 | #ifdef ACPI_FUTURE_USAGE | 78 | #ifdef ACPI_FUTURE_USAGE |
101 | acpi_status | 79 | acpi_status |
102 | acpi_install_initialization_handler ( | 80 | acpi_install_initialization_handler(acpi_init_handler handler, u32 function); |
103 | acpi_init_handler handler, | ||
104 | u32 function); | ||
105 | #endif | 81 | #endif |
106 | 82 | ||
107 | /* | 83 | /* |
108 | * ACPI Memory managment | 84 | * ACPI Memory managment |
109 | */ | 85 | */ |
110 | void * | 86 | void *acpi_allocate(u32 size); |
111 | acpi_allocate ( | ||
112 | u32 size); | ||
113 | |||
114 | void * | ||
115 | acpi_callocate ( | ||
116 | u32 size); | ||
117 | 87 | ||
118 | void | 88 | void *acpi_callocate(u32 size); |
119 | acpi_free ( | ||
120 | void *address); | ||
121 | 89 | ||
90 | void acpi_free(void *address); | ||
122 | 91 | ||
123 | /* | 92 | /* |
124 | * ACPI table manipulation interfaces | 93 | * ACPI table manipulation interfaces |
125 | */ | 94 | */ |
126 | acpi_status | 95 | acpi_status |
127 | acpi_find_root_pointer ( | 96 | acpi_find_root_pointer(u32 flags, struct acpi_pointer *rsdp_address); |
128 | u32 flags, | ||
129 | struct acpi_pointer *rsdp_address); | ||
130 | 97 | ||
131 | acpi_status | 98 | acpi_status acpi_load_tables(void); |
132 | acpi_load_tables ( | ||
133 | void); | ||
134 | 99 | ||
135 | #ifdef ACPI_FUTURE_USAGE | 100 | #ifdef ACPI_FUTURE_USAGE |
136 | acpi_status | 101 | acpi_status acpi_load_table(struct acpi_table_header *table_ptr); |
137 | acpi_load_table ( | ||
138 | struct acpi_table_header *table_ptr); | ||
139 | 102 | ||
140 | acpi_status | 103 | acpi_status acpi_unload_table(acpi_table_type table_type); |
141 | acpi_unload_table ( | ||
142 | acpi_table_type table_type); | ||
143 | 104 | ||
144 | acpi_status | 105 | acpi_status |
145 | acpi_get_table_header ( | 106 | acpi_get_table_header(acpi_table_type table_type, |
146 | acpi_table_type table_type, | 107 | u32 instance, struct acpi_table_header *out_table_header); |
147 | u32 instance, | 108 | #endif /* ACPI_FUTURE_USAGE */ |
148 | struct acpi_table_header *out_table_header); | ||
149 | #endif /* ACPI_FUTURE_USAGE */ | ||
150 | 109 | ||
151 | acpi_status | 110 | acpi_status |
152 | acpi_get_table ( | 111 | acpi_get_table(acpi_table_type table_type, |
153 | acpi_table_type table_type, | 112 | u32 instance, struct acpi_buffer *ret_buffer); |
154 | u32 instance, | ||
155 | struct acpi_buffer *ret_buffer); | ||
156 | 113 | ||
157 | acpi_status | 114 | acpi_status |
158 | acpi_get_firmware_table ( | 115 | acpi_get_firmware_table(acpi_string signature, |
159 | acpi_string signature, | 116 | u32 instance, |
160 | u32 instance, | 117 | u32 flags, struct acpi_table_header **table_pointer); |
161 | u32 flags, | ||
162 | struct acpi_table_header **table_pointer); | ||
163 | |||
164 | 118 | ||
165 | /* | 119 | /* |
166 | * Namespace and name interfaces | 120 | * Namespace and name interfaces |
167 | */ | 121 | */ |
168 | acpi_status | 122 | acpi_status |
169 | acpi_walk_namespace ( | 123 | acpi_walk_namespace(acpi_object_type type, |
170 | acpi_object_type type, | 124 | acpi_handle start_object, |
171 | acpi_handle start_object, | 125 | u32 max_depth, |
172 | u32 max_depth, | 126 | acpi_walk_callback user_function, |
173 | acpi_walk_callback user_function, | 127 | void *context, void **return_value); |
174 | void *context, | ||
175 | void **return_value); | ||
176 | 128 | ||
177 | acpi_status | 129 | acpi_status |
178 | acpi_get_devices ( | 130 | acpi_get_devices(char *HID, |
179 | char *HID, | 131 | acpi_walk_callback user_function, |
180 | acpi_walk_callback user_function, | 132 | void *context, void **return_value); |
181 | void *context, | ||
182 | void **return_value); | ||
183 | 133 | ||
184 | acpi_status | 134 | acpi_status |
185 | acpi_get_name ( | 135 | acpi_get_name(acpi_handle handle, |
186 | acpi_handle handle, | 136 | u32 name_type, struct acpi_buffer *ret_path_ptr); |
187 | u32 name_type, | ||
188 | struct acpi_buffer *ret_path_ptr); | ||
189 | 137 | ||
190 | acpi_status | 138 | acpi_status |
191 | acpi_get_handle ( | 139 | acpi_get_handle(acpi_handle parent, |
192 | acpi_handle parent, | 140 | acpi_string pathname, acpi_handle * ret_handle); |
193 | acpi_string pathname, | ||
194 | acpi_handle *ret_handle); | ||
195 | 141 | ||
196 | acpi_status | 142 | acpi_status |
197 | acpi_attach_data ( | 143 | acpi_attach_data(acpi_handle obj_handle, |
198 | acpi_handle obj_handle, | 144 | acpi_object_handler handler, void *data); |
199 | acpi_object_handler handler, | ||
200 | void *data); | ||
201 | 145 | ||
202 | acpi_status | 146 | acpi_status |
203 | acpi_detach_data ( | 147 | acpi_detach_data(acpi_handle obj_handle, acpi_object_handler handler); |
204 | acpi_handle obj_handle, | ||
205 | acpi_object_handler handler); | ||
206 | 148 | ||
207 | acpi_status | 149 | acpi_status |
208 | acpi_get_data ( | 150 | acpi_get_data(acpi_handle obj_handle, acpi_object_handler handler, void **data); |
209 | acpi_handle obj_handle, | ||
210 | acpi_object_handler handler, | ||
211 | void **data); | ||
212 | |||
213 | 151 | ||
214 | /* | 152 | /* |
215 | * Object manipulation and enumeration | 153 | * Object manipulation and enumeration |
216 | */ | 154 | */ |
217 | acpi_status | 155 | acpi_status |
218 | acpi_evaluate_object ( | 156 | acpi_evaluate_object(acpi_handle object, |
219 | acpi_handle object, | 157 | acpi_string pathname, |
220 | acpi_string pathname, | 158 | struct acpi_object_list *parameter_objects, |
221 | struct acpi_object_list *parameter_objects, | 159 | struct acpi_buffer *return_object_buffer); |
222 | struct acpi_buffer *return_object_buffer); | ||
223 | 160 | ||
224 | #ifdef ACPI_FUTURE_USAGE | 161 | #ifdef ACPI_FUTURE_USAGE |
225 | acpi_status | 162 | acpi_status |
226 | acpi_evaluate_object_typed ( | 163 | acpi_evaluate_object_typed(acpi_handle object, |
227 | acpi_handle object, | 164 | acpi_string pathname, |
228 | acpi_string pathname, | 165 | struct acpi_object_list *external_params, |
229 | struct acpi_object_list *external_params, | 166 | struct acpi_buffer *return_buffer, |
230 | struct acpi_buffer *return_buffer, | 167 | acpi_object_type return_type); |
231 | acpi_object_type return_type); | ||
232 | #endif | 168 | #endif |
233 | 169 | ||
234 | acpi_status | 170 | acpi_status |
235 | acpi_get_object_info ( | 171 | acpi_get_object_info(acpi_handle handle, struct acpi_buffer *return_buffer); |
236 | acpi_handle handle, | ||
237 | struct acpi_buffer *return_buffer); | ||
238 | 172 | ||
239 | acpi_status | 173 | acpi_status |
240 | acpi_get_next_object ( | 174 | acpi_get_next_object(acpi_object_type type, |
241 | acpi_object_type type, | 175 | acpi_handle parent, |
242 | acpi_handle parent, | 176 | acpi_handle child, acpi_handle * out_handle); |
243 | acpi_handle child, | ||
244 | acpi_handle *out_handle); | ||
245 | 177 | ||
246 | acpi_status | 178 | acpi_status acpi_get_type(acpi_handle object, acpi_object_type * out_type); |
247 | acpi_get_type ( | ||
248 | acpi_handle object, | ||
249 | acpi_object_type *out_type); | ||
250 | |||
251 | acpi_status | ||
252 | acpi_get_parent ( | ||
253 | acpi_handle object, | ||
254 | acpi_handle *out_handle); | ||
255 | 179 | ||
180 | acpi_status acpi_get_parent(acpi_handle object, acpi_handle * out_handle); | ||
256 | 181 | ||
257 | /* | 182 | /* |
258 | * Event handler interfaces | 183 | * Event handler interfaces |
259 | */ | 184 | */ |
260 | acpi_status | 185 | acpi_status |
261 | acpi_install_fixed_event_handler ( | 186 | acpi_install_fixed_event_handler(u32 acpi_event, |
262 | u32 acpi_event, | 187 | acpi_event_handler handler, void *context); |
263 | acpi_event_handler handler, | ||
264 | void *context); | ||
265 | 188 | ||
266 | acpi_status | 189 | acpi_status |
267 | acpi_remove_fixed_event_handler ( | 190 | acpi_remove_fixed_event_handler(u32 acpi_event, acpi_event_handler handler); |
268 | u32 acpi_event, | ||
269 | acpi_event_handler handler); | ||
270 | 191 | ||
271 | acpi_status | 192 | acpi_status |
272 | acpi_install_notify_handler ( | 193 | acpi_install_notify_handler(acpi_handle device, |
273 | acpi_handle device, | 194 | u32 handler_type, |
274 | u32 handler_type, | 195 | acpi_notify_handler handler, void *context); |
275 | acpi_notify_handler handler, | ||
276 | void *context); | ||
277 | 196 | ||
278 | acpi_status | 197 | acpi_status |
279 | acpi_remove_notify_handler ( | 198 | acpi_remove_notify_handler(acpi_handle device, |
280 | acpi_handle device, | 199 | u32 handler_type, acpi_notify_handler handler); |
281 | u32 handler_type, | ||
282 | acpi_notify_handler handler); | ||
283 | 200 | ||
284 | acpi_status | 201 | acpi_status |
285 | acpi_install_address_space_handler ( | 202 | acpi_install_address_space_handler(acpi_handle device, |
286 | acpi_handle device, | 203 | acpi_adr_space_type space_id, |
287 | acpi_adr_space_type space_id, | 204 | acpi_adr_space_handler handler, |
288 | acpi_adr_space_handler handler, | 205 | acpi_adr_space_setup setup, void *context); |
289 | acpi_adr_space_setup setup, | ||
290 | void *context); | ||
291 | 206 | ||
292 | acpi_status | 207 | acpi_status |
293 | acpi_remove_address_space_handler ( | 208 | acpi_remove_address_space_handler(acpi_handle device, |
294 | acpi_handle device, | 209 | acpi_adr_space_type space_id, |
295 | acpi_adr_space_type space_id, | 210 | acpi_adr_space_handler handler); |
296 | acpi_adr_space_handler handler); | ||
297 | 211 | ||
298 | acpi_status | 212 | acpi_status |
299 | acpi_install_gpe_handler ( | 213 | acpi_install_gpe_handler(acpi_handle gpe_device, |
300 | acpi_handle gpe_device, | 214 | u32 gpe_number, |
301 | u32 gpe_number, | 215 | u32 type, acpi_event_handler address, void *context); |
302 | u32 type, | ||
303 | acpi_event_handler address, | ||
304 | void *context); | ||
305 | 216 | ||
306 | #ifdef ACPI_FUTURE_USAGE | 217 | #ifdef ACPI_FUTURE_USAGE |
307 | acpi_status | 218 | acpi_status acpi_install_exception_handler(acpi_exception_handler handler); |
308 | acpi_install_exception_handler ( | ||
309 | acpi_exception_handler handler); | ||
310 | #endif | 219 | #endif |
311 | 220 | ||
312 | |||
313 | /* | 221 | /* |
314 | * Event interfaces | 222 | * Event interfaces |
315 | */ | 223 | */ |
316 | acpi_status | 224 | acpi_status acpi_acquire_global_lock(u16 timeout, u32 * handle); |
317 | acpi_acquire_global_lock ( | ||
318 | u16 timeout, | ||
319 | u32 *handle); | ||
320 | 225 | ||
321 | acpi_status | 226 | acpi_status acpi_release_global_lock(u32 handle); |
322 | acpi_release_global_lock ( | ||
323 | u32 handle); | ||
324 | 227 | ||
325 | acpi_status | 228 | acpi_status |
326 | acpi_remove_gpe_handler ( | 229 | acpi_remove_gpe_handler(acpi_handle gpe_device, |
327 | acpi_handle gpe_device, | 230 | u32 gpe_number, acpi_event_handler address); |
328 | u32 gpe_number, | ||
329 | acpi_event_handler address); | ||
330 | 231 | ||
331 | acpi_status | 232 | acpi_status acpi_enable_event(u32 event, u32 flags); |
332 | acpi_enable_event ( | ||
333 | u32 event, | ||
334 | u32 flags); | ||
335 | 233 | ||
336 | acpi_status | 234 | acpi_status acpi_disable_event(u32 event, u32 flags); |
337 | acpi_disable_event ( | ||
338 | u32 event, | ||
339 | u32 flags); | ||
340 | 235 | ||
341 | acpi_status | 236 | acpi_status acpi_clear_event(u32 event); |
342 | acpi_clear_event ( | ||
343 | u32 event); | ||
344 | 237 | ||
345 | #ifdef ACPI_FUTURE_USAGE | 238 | #ifdef ACPI_FUTURE_USAGE |
346 | acpi_status | 239 | acpi_status acpi_get_event_status(u32 event, acpi_event_status * event_status); |
347 | acpi_get_event_status ( | 240 | #endif /* ACPI_FUTURE_USAGE */ |
348 | u32 event, | ||
349 | acpi_event_status *event_status); | ||
350 | #endif /* ACPI_FUTURE_USAGE */ | ||
351 | 241 | ||
352 | acpi_status | 242 | acpi_status acpi_set_gpe_type(acpi_handle gpe_device, u32 gpe_number, u8 type); |
353 | acpi_set_gpe_type ( | ||
354 | acpi_handle gpe_device, | ||
355 | u32 gpe_number, | ||
356 | u8 type); | ||
357 | 243 | ||
358 | acpi_status | 244 | acpi_status acpi_enable_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags); |
359 | acpi_enable_gpe ( | ||
360 | acpi_handle gpe_device, | ||
361 | u32 gpe_number, | ||
362 | u32 flags); | ||
363 | 245 | ||
364 | acpi_status | 246 | acpi_status acpi_disable_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags); |
365 | acpi_disable_gpe ( | ||
366 | acpi_handle gpe_device, | ||
367 | u32 gpe_number, | ||
368 | u32 flags); | ||
369 | 247 | ||
370 | acpi_status | 248 | acpi_status acpi_clear_gpe(acpi_handle gpe_device, u32 gpe_number, u32 flags); |
371 | acpi_clear_gpe ( | ||
372 | acpi_handle gpe_device, | ||
373 | u32 gpe_number, | ||
374 | u32 flags); | ||
375 | 249 | ||
376 | #ifdef ACPI_FUTURE_USAGE | 250 | #ifdef ACPI_FUTURE_USAGE |
377 | acpi_status | 251 | acpi_status |
378 | acpi_get_gpe_status ( | 252 | acpi_get_gpe_status(acpi_handle gpe_device, |
379 | acpi_handle gpe_device, | 253 | u32 gpe_number, |
380 | u32 gpe_number, | 254 | u32 flags, acpi_event_status * event_status); |
381 | u32 flags, | 255 | #endif /* ACPI_FUTURE_USAGE */ |
382 | acpi_event_status *event_status); | ||
383 | #endif /* ACPI_FUTURE_USAGE */ | ||
384 | 256 | ||
385 | acpi_status | 257 | acpi_status |
386 | acpi_install_gpe_block ( | 258 | acpi_install_gpe_block(acpi_handle gpe_device, |
387 | acpi_handle gpe_device, | 259 | struct acpi_generic_address *gpe_block_address, |
388 | struct acpi_generic_address *gpe_block_address, | 260 | u32 register_count, u32 interrupt_number); |
389 | u32 register_count, | ||
390 | u32 interrupt_number); | ||
391 | |||
392 | acpi_status | ||
393 | acpi_remove_gpe_block ( | ||
394 | acpi_handle gpe_device); | ||
395 | 261 | ||
262 | acpi_status acpi_remove_gpe_block(acpi_handle gpe_device); | ||
396 | 263 | ||
397 | /* | 264 | /* |
398 | * Resource interfaces | 265 | * Resource interfaces |
399 | */ | 266 | */ |
400 | typedef | 267 | typedef |
401 | acpi_status (*ACPI_WALK_RESOURCE_CALLBACK) ( | 268 | acpi_status(*ACPI_WALK_RESOURCE_CALLBACK) (struct acpi_resource * resource, |
402 | struct acpi_resource *resource, | 269 | void *context); |
403 | void *context); | ||
404 | |||
405 | 270 | ||
406 | acpi_status | 271 | acpi_status |
407 | acpi_get_current_resources( | 272 | acpi_get_current_resources(acpi_handle device_handle, |
408 | acpi_handle device_handle, | 273 | struct acpi_buffer *ret_buffer); |
409 | struct acpi_buffer *ret_buffer); | ||
410 | 274 | ||
411 | #ifdef ACPI_FUTURE_USAGE | 275 | #ifdef ACPI_FUTURE_USAGE |
412 | acpi_status | 276 | acpi_status |
413 | acpi_get_possible_resources( | 277 | acpi_get_possible_resources(acpi_handle device_handle, |
414 | acpi_handle device_handle, | 278 | struct acpi_buffer *ret_buffer); |
415 | struct acpi_buffer *ret_buffer); | ||
416 | #endif | 279 | #endif |
417 | 280 | ||
418 | acpi_status | 281 | acpi_status |
419 | acpi_walk_resources ( | 282 | acpi_walk_resources(acpi_handle device_handle, |
420 | acpi_handle device_handle, | 283 | char *path, |
421 | char *path, | 284 | ACPI_WALK_RESOURCE_CALLBACK user_function, void *context); |
422 | ACPI_WALK_RESOURCE_CALLBACK user_function, | ||
423 | void *context); | ||
424 | 285 | ||
425 | acpi_status | 286 | acpi_status |
426 | acpi_set_current_resources ( | 287 | acpi_set_current_resources(acpi_handle device_handle, |
427 | acpi_handle device_handle, | 288 | struct acpi_buffer *in_buffer); |
428 | struct acpi_buffer *in_buffer); | ||
429 | 289 | ||
430 | acpi_status | 290 | acpi_status |
431 | acpi_get_irq_routing_table ( | 291 | acpi_get_irq_routing_table(acpi_handle bus_device_handle, |
432 | acpi_handle bus_device_handle, | 292 | struct acpi_buffer *ret_buffer); |
433 | struct acpi_buffer *ret_buffer); | ||
434 | 293 | ||
435 | acpi_status | 294 | acpi_status |
436 | acpi_resource_to_address64 ( | 295 | acpi_resource_to_address64(struct acpi_resource *resource, |
437 | struct acpi_resource *resource, | 296 | struct acpi_resource_address64 *out); |
438 | struct acpi_resource_address64 *out); | ||
439 | 297 | ||
440 | /* | 298 | /* |
441 | * Hardware (ACPI device) interfaces | 299 | * Hardware (ACPI device) interfaces |
442 | */ | 300 | */ |
443 | acpi_status | 301 | acpi_status acpi_get_register(u32 register_id, u32 * return_value, u32 flags); |
444 | acpi_get_register ( | ||
445 | u32 register_id, | ||
446 | u32 *return_value, | ||
447 | u32 flags); | ||
448 | 302 | ||
449 | acpi_status | 303 | acpi_status acpi_set_register(u32 register_id, u32 value, u32 flags); |
450 | acpi_set_register ( | ||
451 | u32 register_id, | ||
452 | u32 value, | ||
453 | u32 flags); | ||
454 | 304 | ||
455 | acpi_status | 305 | acpi_status |
456 | acpi_set_firmware_waking_vector ( | 306 | acpi_set_firmware_waking_vector(acpi_physical_address physical_address); |
457 | acpi_physical_address physical_address); | ||
458 | 307 | ||
459 | #ifdef ACPI_FUTURE_USAGE | 308 | #ifdef ACPI_FUTURE_USAGE |
460 | acpi_status | 309 | acpi_status |
461 | acpi_get_firmware_waking_vector ( | 310 | acpi_get_firmware_waking_vector(acpi_physical_address * physical_address); |
462 | acpi_physical_address *physical_address); | ||
463 | #endif | 311 | #endif |
464 | 312 | ||
465 | acpi_status | 313 | acpi_status |
466 | acpi_get_sleep_type_data ( | 314 | acpi_get_sleep_type_data(u8 sleep_state, u8 * slp_typ_a, u8 * slp_typ_b); |
467 | u8 sleep_state, | ||
468 | u8 *slp_typ_a, | ||
469 | u8 *slp_typ_b); | ||
470 | 315 | ||
471 | acpi_status | 316 | acpi_status acpi_enter_sleep_state_prep(u8 sleep_state); |
472 | acpi_enter_sleep_state_prep ( | ||
473 | u8 sleep_state); | ||
474 | 317 | ||
475 | acpi_status asmlinkage | 318 | acpi_status asmlinkage acpi_enter_sleep_state(u8 sleep_state); |
476 | acpi_enter_sleep_state ( | ||
477 | u8 sleep_state); | ||
478 | 319 | ||
479 | acpi_status asmlinkage | 320 | acpi_status asmlinkage acpi_enter_sleep_state_s4bios(void); |
480 | acpi_enter_sleep_state_s4bios ( | ||
481 | void); | ||
482 | |||
483 | acpi_status | ||
484 | acpi_leave_sleep_state ( | ||
485 | u8 sleep_state); | ||
486 | 321 | ||
322 | acpi_status acpi_leave_sleep_state(u8 sleep_state); | ||
487 | 323 | ||
488 | #endif /* __ACXFACE_H__ */ | 324 | #endif /* __ACXFACE_H__ */ |