patch-2.4.10 linux/drivers/acpi/include/acdispat.h
Next file: linux/drivers/acpi/include/acevents.h
Previous file: linux/drivers/acpi/include/acdebug.h
Back to the patch index
Back to the overall index
- Lines: 604
- Date:
Sun Sep 23 09:42:32 2001
- Orig file:
v2.4.9/linux/drivers/acpi/include/acdispat.h
- Orig date:
Tue Jul 3 17:08:19 2001
diff -u --recursive --new-file v2.4.9/linux/drivers/acpi/include/acdispat.h linux/drivers/acpi/include/acdispat.h
@@ -34,322 +34,322 @@
/* Common interfaces */
-ACPI_STATUS
+acpi_status
acpi_ds_obj_stack_push (
void *object,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_obj_stack_pop (
u32 pop_count,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
void *
acpi_ds_obj_stack_get_value (
u32 index,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_obj_stack_pop_object (
- ACPI_OPERAND_OBJECT **object,
- ACPI_WALK_STATE *walk_state);
+ acpi_operand_object **object,
+ acpi_walk_state *walk_state);
/* dsopcode - support for late evaluation */
-ACPI_STATUS
+acpi_status
acpi_ds_get_buffer_field_arguments (
- ACPI_OPERAND_OBJECT *obj_desc);
+ acpi_operand_object *obj_desc);
-ACPI_STATUS
+acpi_status
acpi_ds_get_region_arguments (
- ACPI_OPERAND_OBJECT *rgn_desc);
+ acpi_operand_object *rgn_desc);
/* dsctrl - Parser/Interpreter interface, control stack routines */
-ACPI_STATUS
+acpi_status
acpi_ds_exec_begin_control_op (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op);
-ACPI_STATUS
+acpi_status
acpi_ds_exec_end_control_op (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op);
/* dsexec - Parser/Interpreter interface, method execution callbacks */
-ACPI_STATUS
+acpi_status
acpi_ds_get_predicate_value (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op,
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op,
u32 has_result_obj);
-ACPI_STATUS
+acpi_status
acpi_ds_exec_begin_op (
u16 opcode,
- ACPI_PARSE_OBJECT *op,
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT **out_op);
+ acpi_parse_object *op,
+ acpi_walk_state *walk_state,
+ acpi_parse_object **out_op);
-ACPI_STATUS
+acpi_status
acpi_ds_exec_end_op (
- ACPI_WALK_STATE *state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *state,
+ acpi_parse_object *op);
/* dsfield - Parser/Interpreter interface for AML fields */
-ACPI_STATUS
+acpi_status
acpi_ds_create_field (
- ACPI_PARSE_OBJECT *op,
- ACPI_NAMESPACE_NODE *region_node,
- ACPI_WALK_STATE *walk_state);
+ acpi_parse_object *op,
+ acpi_namespace_node *region_node,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_create_bank_field (
- ACPI_PARSE_OBJECT *op,
- ACPI_NAMESPACE_NODE *region_node,
- ACPI_WALK_STATE *walk_state);
+ acpi_parse_object *op,
+ acpi_namespace_node *region_node,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_create_index_field (
- ACPI_PARSE_OBJECT *op,
- ACPI_NAMESPACE_NODE *region_node,
- ACPI_WALK_STATE *walk_state);
+ acpi_parse_object *op,
+ acpi_namespace_node *region_node,
+ acpi_walk_state *walk_state);
/* dsload - Parser/Interpreter interface, namespace load callbacks */
-ACPI_STATUS
+acpi_status
acpi_ds_load1_begin_op (
u16 opcode,
- ACPI_PARSE_OBJECT *op,
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT **out_op);
+ acpi_parse_object *op,
+ acpi_walk_state *walk_state,
+ acpi_parse_object **out_op);
-ACPI_STATUS
+acpi_status
acpi_ds_load1_end_op (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op);
-ACPI_STATUS
+acpi_status
acpi_ds_load2_begin_op (
u16 opcode,
- ACPI_PARSE_OBJECT *op,
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT **out_op);
+ acpi_parse_object *op,
+ acpi_walk_state *walk_state,
+ acpi_parse_object **out_op);
-ACPI_STATUS
+acpi_status
acpi_ds_load2_end_op (
- ACPI_WALK_STATE *state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *state,
+ acpi_parse_object *op);
-ACPI_STATUS
+acpi_status
acpi_ds_load3_begin_op (
u16 opcode,
- ACPI_PARSE_OBJECT *op,
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT **out_op);
+ acpi_parse_object *op,
+ acpi_walk_state *walk_state,
+ acpi_parse_object **out_op);
-ACPI_STATUS
+acpi_status
acpi_ds_load3_end_op (
- ACPI_WALK_STATE *state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *state,
+ acpi_parse_object *op);
/* dsmthdat - method data (locals/args) */
-ACPI_STATUS
+acpi_status
acpi_ds_store_object_to_local (
u16 opcode,
u32 index,
- ACPI_OPERAND_OBJECT *src_desc,
- ACPI_WALK_STATE *walk_state);
+ acpi_operand_object *src_desc,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_get_entry (
u16 opcode,
u32 index,
- ACPI_WALK_STATE *walk_state,
- ACPI_OPERAND_OBJECT ***node);
+ acpi_walk_state *walk_state,
+ acpi_operand_object ***node);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_delete_all (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
u8
acpi_ds_is_method_value (
- ACPI_OPERAND_OBJECT *obj_desc);
+ acpi_operand_object *obj_desc);
-ACPI_OBJECT_TYPE8
+acpi_object_type8
acpi_ds_method_data_get_type (
u16 opcode,
u32 index,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_get_value (
u16 opcode,
u32 index,
- ACPI_WALK_STATE *walk_state,
- ACPI_OPERAND_OBJECT **dest_desc);
+ acpi_walk_state *walk_state,
+ acpi_operand_object **dest_desc);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_delete_value (
u16 opcode,
u32 index,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_init_args (
- ACPI_OPERAND_OBJECT **params,
+ acpi_operand_object **params,
u32 max_param_count,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_NAMESPACE_NODE *
+acpi_namespace_node *
acpi_ds_method_data_get_node (
u16 opcode,
u32 index,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_init (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_method_data_set_entry (
u16 opcode,
u32 index,
- ACPI_OPERAND_OBJECT *object,
- ACPI_WALK_STATE *walk_state);
+ acpi_operand_object *object,
+ acpi_walk_state *walk_state);
/* dsmethod - Parser/Interpreter interface - control method parsing */
-ACPI_STATUS
+acpi_status
acpi_ds_parse_method (
- ACPI_HANDLE obj_handle);
+ acpi_handle obj_handle);
-ACPI_STATUS
+acpi_status
acpi_ds_call_control_method (
- ACPI_WALK_LIST *walk_list,
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_list *walk_list,
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op);
-ACPI_STATUS
+acpi_status
acpi_ds_restart_control_method (
- ACPI_WALK_STATE *walk_state,
- ACPI_OPERAND_OBJECT *return_desc);
+ acpi_walk_state *walk_state,
+ acpi_operand_object *return_desc);
-ACPI_STATUS
+acpi_status
acpi_ds_terminate_control_method (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_begin_method_execution (
- ACPI_NAMESPACE_NODE *method_node,
- ACPI_OPERAND_OBJECT *obj_desc,
- ACPI_NAMESPACE_NODE *calling_method_node);
+ acpi_namespace_node *method_node,
+ acpi_operand_object *obj_desc,
+ acpi_namespace_node *calling_method_node);
/* dsobj - Parser/Interpreter interface - object initialization and conversion */
-ACPI_STATUS
+acpi_status
acpi_ds_init_one_object (
- ACPI_HANDLE obj_handle,
+ acpi_handle obj_handle,
u32 level,
void *context,
void **return_value);
-ACPI_STATUS
+acpi_status
acpi_ds_initialize_objects (
- ACPI_TABLE_DESC *table_desc,
- ACPI_NAMESPACE_NODE *start_node);
+ acpi_table_desc *table_desc,
+ acpi_namespace_node *start_node);
-ACPI_STATUS
+acpi_status
acpi_ds_build_internal_package_obj (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op,
- ACPI_OPERAND_OBJECT **obj_desc);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op,
+ acpi_operand_object **obj_desc);
-ACPI_STATUS
+acpi_status
acpi_ds_build_internal_object (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op,
- ACPI_OPERAND_OBJECT **obj_desc_ptr);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op,
+ acpi_operand_object **obj_desc_ptr);
-ACPI_STATUS
+acpi_status
acpi_ds_init_object_from_op (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op,
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op,
u16 opcode,
- ACPI_OPERAND_OBJECT **obj_desc);
+ acpi_operand_object **obj_desc);
-ACPI_STATUS
+acpi_status
acpi_ds_create_node (
- ACPI_WALK_STATE *walk_state,
- ACPI_NAMESPACE_NODE *node,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *walk_state,
+ acpi_namespace_node *node,
+ acpi_parse_object *op);
/* dsregn - Parser/Interpreter interface - Op Region parsing */
-ACPI_STATUS
+acpi_status
acpi_ds_eval_buffer_field_operands (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op);
-ACPI_STATUS
+acpi_status
acpi_ds_eval_region_operands (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *op);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *op);
-ACPI_STATUS
+acpi_status
acpi_ds_initialize_region (
- ACPI_HANDLE obj_handle);
+ acpi_handle obj_handle);
/* dsutils - Parser/Interpreter interface utility routines */
u8
acpi_ds_is_result_used (
- ACPI_PARSE_OBJECT *op,
- ACPI_WALK_STATE *walk_state);
+ acpi_parse_object *op,
+ acpi_walk_state *walk_state);
void
acpi_ds_delete_result_if_not_used (
- ACPI_PARSE_OBJECT *op,
- ACPI_OPERAND_OBJECT *result_obj,
- ACPI_WALK_STATE *walk_state);
+ acpi_parse_object *op,
+ acpi_operand_object *result_obj,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_create_operand (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *arg,
+ acpi_walk_state *walk_state,
+ acpi_parse_object *arg,
u32 args_remaining);
-ACPI_STATUS
+acpi_status
acpi_ds_create_operands (
- ACPI_WALK_STATE *walk_state,
- ACPI_PARSE_OBJECT *first_arg);
+ acpi_walk_state *walk_state,
+ acpi_parse_object *first_arg);
-ACPI_STATUS
+acpi_status
acpi_ds_resolve_operands (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_OBJECT_TYPE8
+acpi_object_type8
acpi_ds_map_opcode_to_data_type (
u16 opcode,
u32 *out_flags);
-ACPI_OBJECT_TYPE8
+acpi_object_type8
acpi_ds_map_named_opcode_to_data_type (
u16 opcode);
@@ -358,93 +358,93 @@
* dswscope - Scope Stack manipulation
*/
-ACPI_STATUS
+acpi_status
acpi_ds_scope_stack_push (
- ACPI_NAMESPACE_NODE *node,
- ACPI_OBJECT_TYPE8 type,
- ACPI_WALK_STATE *walk_state);
+ acpi_namespace_node *node,
+ acpi_object_type8 type,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_scope_stack_pop (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
void
acpi_ds_scope_stack_clear (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
/* Acpi_dswstate - parser WALK_STATE management routines */
-ACPI_WALK_STATE *
+acpi_walk_state *
acpi_ds_create_walk_state (
- ACPI_OWNER_ID owner_id,
- ACPI_PARSE_OBJECT *origin,
- ACPI_OPERAND_OBJECT *mth_desc,
- ACPI_WALK_LIST *walk_list);
+ acpi_owner_id owner_id,
+ acpi_parse_object *origin,
+ acpi_operand_object *mth_desc,
+ acpi_walk_list *walk_list);
-ACPI_STATUS
+acpi_status
acpi_ds_obj_stack_delete_all (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_obj_stack_pop_and_delete (
u32 pop_count,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
void
acpi_ds_delete_walk_state (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_WALK_STATE *
+acpi_walk_state *
acpi_ds_pop_walk_state (
- ACPI_WALK_LIST *walk_list);
+ acpi_walk_list *walk_list);
-ACPI_STATUS
+acpi_status
acpi_ds_result_stack_pop (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_result_stack_push (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_result_stack_clear (
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_WALK_STATE *
+acpi_walk_state *
acpi_ds_get_current_walk_state (
- ACPI_WALK_LIST *walk_list);
+ acpi_walk_list *walk_list);
void
acpi_ds_delete_walk_state_cache (
void);
-ACPI_STATUS
+acpi_status
acpi_ds_result_insert (
void *object,
u32 index,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_result_remove (
- ACPI_OPERAND_OBJECT **object,
+ acpi_operand_object **object,
u32 index,
- ACPI_WALK_STATE *walk_state);
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_result_pop (
- ACPI_OPERAND_OBJECT **object,
- ACPI_WALK_STATE *walk_state);
+ acpi_operand_object **object,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_result_push (
- ACPI_OPERAND_OBJECT *object,
- ACPI_WALK_STATE *walk_state);
+ acpi_operand_object *object,
+ acpi_walk_state *walk_state);
-ACPI_STATUS
+acpi_status
acpi_ds_result_pop_from_bottom (
- ACPI_OPERAND_OBJECT **object,
- ACPI_WALK_STATE *walk_state);
+ acpi_operand_object **object,
+ acpi_walk_state *walk_state);
#endif /* _ACDISPAT_H_ */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)